[R] neg-bin clustered analysis in R?

David Barron mothsailor at googlemail.com
Mon Nov 6 14:51:09 CET 2006


I'm not certain, but I think you should be able to use the robcov
function in the Design package in conjunction with glm.nb, perhaps
with a bit of tweaking.  Another alternative might be to use the quasi
family in lmer.

On 06/11/06, Lutz Ph. Breitling <lutz.breitling at gmail.com> wrote:
> 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?
>
> Many thanks for all help!
> Lutz
> --
> Lutz Ph. Breitling, Marie Curie EST Research Fellow
> Integrative & Comparative Biology (Irene Manton 8.93e)
> University of Leeds, LS2 9JT Leeds/UK
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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.
>


-- 
=================================
David Barron
Said Business School
University of Oxford
Park End Street
Oxford OX1 1HP



More information about the R-help mailing list