[R] anova on binomial LMER objects

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Sep 28 14:02:19 CEST 2005


On Wed, 28 Sep 2005, Robert Bagchi wrote:

> Hi Patrick
>
> thanks for your advice. I have now tried glmmPQL, and it worked fine -
> I'm getting consistent results between plots and models fitted by
> glmmPQL. Plus it allows predict() and resid() which is another advantage
> over lmer at present.
>
> quick question though: why does one need to use PQL for binomial models?
> Is there a good reference for this?

Yes, the book which glmmPQL supports and the posting quide asks you to 
consult.

>
> A few of my colleagues have also had similar problems, so I'm copying
> this message on to R-help as it might be useful there.
>
> Many thanks
> Robert
>
> Patrick A. Jansen wrote:
>
>>
>> Hi dr Bacghi,
>>
>> I ran into exactly the same problem with lmer models that had an
>> rbind() response variable, as you posted to the R-list.
>>
>> The sums of squares produced by anova() seem wrong. They are almost
>> identical to the mean squares, and hence F-values approach 1.
>>
>> Since you need PQL for binomial models anyway, you might want to use
>> GlmmPQL instead. Seems to work fine with anova().
>>
>> Best regards,
>> Patrick Jansen
>>
>>
>> *dr Patrick A. Jansen*
>> University of Groningen
>> Community and Conservation Ecology group
>> E P.A.Jansen at .rug.nl
>> W _www.rug.nl/fwn/onderzoek/programmas/biologie/cocon_
>> <http://www.rug.nl/fwn/onderzoek/programmas/biologie/cocon>
>>
>> c/o:
>> Instituto Smithsonian de Investigaciones Tropicales
>> Att. Patrick A. Jansen  Gamboa
>> Apartado 0843-03092, Balboa, Ancón, Panamá, República de Panamá
>> or:
>> Smithsonian Tropical Research Insititute
>> Att: Patrick A. Jansen  Gamboa
>> Unit 0948, APO AA, 34002-0948, U.S.A.
>>
>> T +507-212-8904 (office) / +507-6516-2008 (cell)
>>
>>
>
> ______________________________________________
> 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
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


More information about the R-help mailing list