search for: lregtm

Displaying 1 result from an estimated 1 matches for "lregtm".

Did you mean: lgtm
2008 Jul 28
1
Negative Binomial Regression
.... I am attempting to duplicate a negative binomial regression in R. SAS uses generalized estimating equations for model fitting in the GENMOD procedure. proc genmod data=mydata (where=(gender='F')); by agegroup; class id gender type; model count = var1 var2 var3 /dist=NB link=log offset=lregtm; repeated subject=id /type=exch; run; Since my dataset has several observations for each subject, I need the REPEATED statement in order to indicate dependence among observations with the same subject ID and independence amongst those with distinct subject IDs. The TYPE statement goes on to spe...