Re: [R] partial SS for anova

From: John Fox <jfox_at_mcmaster.ca>
Date: Mon 01 Aug 2005 - 10:08:00 EST


Dear Natalia,

See the Anova() function in the car package. Also see the warning in ?Anova about "Type III" sums of squares.

I hope this helps,
 John



John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox

> -----Original Message-----
> From: r-help-bounces@stat.math.ethz.ch
> [mailto:r-help-bounces@stat.math.ethz.ch] On Behalf Of
> NATALIA F TCHETCHERINA
> Sent: Saturday, July 30, 2005 6:25 PM
> To: r-help@stat.math.ethz.ch
> Subject: [R] partial SS for anova
>
> Hello,
> I use lme4 package.
> library(lme4)
> fit=lmer(y ~ time+dye+trt+trt:time + (1|rep), data=dataset,
> na.action='na.omit')
> anova(fit)
>
> The anova gives sequential F-tests and sequential SS.
>
> My question is: how I can get partial F-tests and partial SS?
> For lm (not lmer)
> anova(lm(y~x+z))
> we can use
> anova(fit, ssType=3)
> but it is not work for lmer.
>
> Natalia.
>
> ______________________________________________
> 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



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 Mon Aug 01 10:13:21 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 15:00:24 EST