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: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > NATALIA F TCHETCHERINA > Sent: Saturday, July 30, 2005 6:25 PM > To: [email protected] > 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. > > ______________________________________________ > [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 ______________________________________________ [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
