I am running a poisson regression model for the number of admissions for a group of patients (identified by "ID"). The explanatory variables are post (pre vs post period) and case (case vs control) with an interaction term post*case. As each patient can have more than one admission, I have added a repeated subject statement to the model. However, after adding the repeated subject statement to the code the output for the model no longer gives the deviance. How can I specify that the output for the model include the deviance? proc genmod data=alldata; class ID; model admit = post case post*case / dist=poisson link=log offset=logtime; repeated subject=ID; run; Any suggestions would be appreciated!
... View more