data q52;
input Alcohol_Consumption $ yes total;
cards;
0 48 17144
<1 38 14502
1-2 5 793
3-5 1 127
>=6 1 38
;
run;
proc logistic data=q52 descending;
class Alcohol_Consumption;
model yes/total=Alcohol_Consumption /scale=none aggregate;
run;
以上是代码
Deviance and Pearson Goodness-of-Fit Statistics的df为什么是0