options nocenter nodate nonumber; data vote; input pview $choice $ count @@; datalines; lib bush 70 lib clinton 324 lib perot 56 mod bush 195 mod clinton 332 mod perot 101 cons bush 382 cons clinton 199 cons perot 117 ; proc freq data=vote order=data; weight count; tables pview*choice/ncol nrow expected chisq; run; proc genmod data=vote order=data; class pview choice; model count = pview choice /link=log dist=poisson lrci type3 obstats; run; proc catmod data=vote order=data; weight count; model pview*choice=_response_; loglin pview choice; run; proc genmod data=vote order=data; class pview choice; model count = pview*choice /link=log dist=poisson lrci type3 obstats; run;