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 ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
