[R] neg-bin clustered analysis in R?

Henric Nilsson henric.nilsson at statisticon.se
Mon Nov 6 15:56:50 CET 2006


Lutz Ph. Breitling said the following on 2006-11-06 13:56:
> Dear All,
> 
> I'm analysing a negative binomial dataset from a population-based
> study. Many covariates were determined on household level, so all
> members of a household have the same value for those covariates.
> 
> In STATA, there seems to be an option for 'clustered analysis' for
> neg-bin regression. Does an equivalent exist for R(MASS)'s glm.nb or a
> comparable function?

Which Stata function are you referring to? If you want a Poisson 
regression with gamma distributed random effects in R, I think you're 
out of luck.


HTH,
Henric



> 
> Many thanks for all help!
> Lutz



More information about the R-help mailing list