计算3个不同年龄层次人群换某种疾病的患病率,录入数据
group effect freq
1 0 34
1 1 11 组数1、2、3代表不同年龄段
2 0 66 效果0代表患病,1代表不患病
2 1 14 频次就是调查的相应人数
3 0 77
3 1 10
按照书上讲得,DATE WEIGHT CASE指定freq为频数变量
然后按照步骤计算,可是计算后总是这样提示:Warnings
No measures of association are computed for the crosstabulation of group * effect * freq. At least one variable in each 2-way table upon which measures of association are computed is a constant.
No statistics are computed because group and effect are constants.就是没法运算。按照他说的,group和effect怎么会是常量呢?请高手解答