Thanks for all the replies! That's very inspiring. Additionally, when estimating the effect, are we using a fixed offset? For example, a mean or a median, like other covariates, in order to make an effectplot.
... View more
Dear SAS professionals, I am currently using proc genmod for negative binomial regression with an offset variable. When I tried to produce some graphs I found MOFF option is not available for the negative binomial model. I have two questions: 1) Does offset function in negative binomial model the same way as in Poisson model? Why couldn't I use MOFF in NB? 2) Can I get the rate estimates by dividing count estimates by offset (exponent)? Here is my code: proc genmod data=workdata;
model count = WS log_d age_65 log_hhi unemployment bed
WS*log_hhi /
dist=nb offset=log_p;
store store1;
run;
proc plm restore=store1;
effectplot slicefit (x=WS sliceby=log_hhi) / clm moff;
run; And this is the warning I got: ERROR: The MOFF option is only available for Poisson regression with an offset variable and the log link.
... View more