* 1992 Pres election data from 1996 GSS; options nocenter; data pres92; input pview $ choice $ count; datalines; liberal Bush 70 liberal Clinton 342 liberal Perot 56 moderate Bush 195 moderate Clinton 332 moderate Perot 101 conservative Bush 382 conservative Clinton 199 conservative Perot 117 run; proc freq data=pres92 order=data; weight count; tables pview*choice /nopercent nocol chisq; run; proc genmod data=pres92 order=data; class pview choice; model count =pview choice /link=log dist=Poisson obstats; output out=pred pred=fitted ; title 'Log-linear model of Indepdence'; run; proc print data = pred; run;