Good morning, On page 183 of the book "Introduction to the Categorical Data Analysis, 2nd Edition" (2007), Agresti presents Table 6.8, stating explicitly "Table 6.8 shows output (from PROC LOGISTIC in SAS) for the ML fit of model (6.4)." Could someone be so kind to provide me with the code with which I could reproduce this table?. Particularly the section "Deviance and Pearson Goodness-of-Fit Statistics". To make your life easier, I am attaching a script with the data, so you don't have to rewrite it. Thanks in advance and best regards, Piotr Lewczuk data party; input g p y count; datalines; 0 1 0 44 0 1 1 47 0 1 2 118 0 1 3 23 0 1 4 32 0 0 0 18 0 0 1 28 0 0 2 86 0 0 3 39 0 0 4 48 1 1 0 36 1 1 1 34 1 1 2 53 1 1 3 18 1 1 4 23 1 0 0 12 1 0 1 18 1 0 2 62 1 0 3 45 1 0 4 51 ; run;
... View more