Dear Professors, I met a problem when modeling modified Poisson Regression when using the PROC GENMOD and repeated statement, how should I assess the model fit? The response variable was a binary outcome.
proc genmod data = ITT1;
class enroll_order group(desc) D90_score_0to1(desc) IVT/PARAM = GLM;
model D90_score_0to1 = group age baseline_NIHSS IVT onset_to_randomization/ dist = poisson link = log covB corrb;
repeated subject = enroll_order/type = exch;
estimate "beta" group 1 -1/exp;
lsmeans group/diff exp cl;
run;
Thank you for your generous help! However, it seems that the calibration plot works for continuous regressor, what if the regressors are binary?
The instructions I'm following using the link above use the repeated statement with robust error variance (Zou G. A Modified Poisson Regression Approach to Prospective Studies with Binary Data. Am J Epidemiol 2004; 159(7):702-6.). However, according to The User's Guide for GENMOD which says that you do not get the Pearson chi-square and df ratio when you use a REPEATED statement. How can I check the goodness of fit in such case?
Just an added note that in addition to the plot, you can use the QIC statistic provided by GENMOD to compare competing models (models with differing predictors) and/or a generalized R-square statistic. Both are mentioned in the section of this note on GEE models, and the R-square statistic is further discussed and illustrated in this note. The first note also discusses how you can evaluate how well the model fits each observation and how to check the model form and link function.
Thank you Dave for replying, it seems that the QIC provided a measurement that compared the model with different link/distrubution and working matrix. It seems that it cannot provide a test that provided a p value (e.g. Pearson Chi square) for the statistics of goodness of fit?
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.