Re: [R] simplifying a lmer model

From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>
Date: Wed 03 Aug 2005 - 03:36:35 EST

sp219 <S.Pickett@exeter.ac.uk> writes:

> I have been using lmer in lme4() to analyse the effect of dropping a term from
> the model as below
> anova.name<-anova(m1,m2)
> Where m1 is an original model and m2 has one term removed. I can then create
> my own type III tables for each variable in the model. However with many
> variables this becomes exceedingly time consuming!
> anova.lme in nlme() and Anova() in car dont seem to work for lme objects
> created with lmer? Is there any other way to create type III tables?
> Any help much appreciated.
> Simon P

I haven't played nearly as much with lme4 as I perhaps should have, but my first try would be to see whether drop1 works on lmer models.

-- 
   O__  ---- Peter Dalgaard             ุster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)                  FAX: (+45) 35327907

______________________________________________
R-help@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
Received on Wed Aug 03 03:42:13 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 15:01:56 EST