我有两张桌子和通过
CROSSTABS
/TABLES = table1 BY table2
/STATISTICS=CHISQ.
您不仅会收到 2 个包含结果的表格,还会收到卡方检验的表格。
但这对我来说信息太多了。我只需要一个文本输出:
"the chi test is fine/ not fine."
通过某事。喜欢
COMPUTE new_variable = 16.92 - chisq_value.
EXECUTE.
DO IF newvariable < 0.
DO IF $CASENUM EQ 1.
PRINT RECORDS=1
/"since the chi test is negativ you have to choose a different partition!".
END IF.
END IF.
现在的问题是:如何获得变量“chisq-value”?通过 /stat..=chisq 我没有收到一个可以从 16.92 中减去的值(即我的计算值,它必须大于 chi 值),而是整个表......
谢谢你的帮助 :-)