[R] Random effects ANOVA

2006-11-24 Thread Luis Salasar
Hi, I used the command lmer, in package lme4, to fit a random effects ANOVA. But i didn't get the p-values of significance tests of variance components. Does anyone know how to do it? Thanks, Luis Ernesto - [[alternative HTML version

Re: [R] Random effects ANOVA

2006-11-24 Thread John Fox
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Luis Salasar Sent: Friday, November 24, 2006 1:57 PM To: r-help@stat.math.ethz.ch Subject: [R] Random effects ANOVA Hi, I used the command lmer, in package lme4, to fit a random effects ANOVA

Re: [R] Random effects ANOVA?

2006-03-30 Thread Chris Bergstresser
On 3/30/06, Prof Brian Ripley [EMAIL PROTECTED] wrote: I think you want print or summary rather than anova. anova() is not very useful for aov() models even without error strata. That's sort of better. summary(aov(time ~ drink + Error(video), data = df)); gives me: Error: video

Re: [R] Random effects ANOVA?

2006-03-30 Thread Peter Dalgaard
Chris Bergstresser [EMAIL PROTECTED] writes: On 3/30/06, Prof Brian Ripley [EMAIL PROTECTED] wrote: I think you want print or summary rather than anova. anova() is not very useful for aov() models even without error strata. That's sort of better. summary(aov(time ~ drink +

Re: [R] Random effects ANOVA?

2006-03-30 Thread Chris Bergstresser
On 30 Mar 2006 22:41:51 +0200, Peter Dalgaard [EMAIL PROTECTED] wrote: Not quite sure whether time ~ drink + video + Error(video:drink) works. It might, although it is a bit unnatural to have a random interaction between to systematic effects. This exactly reproduces the given SAS

[R] Random effects ANOVA?

2006-03-29 Thread Chris Bergstresser
Hi all -- So I have a very simple dataset, which consists of 60 subjects, who watched one of three videos, drank one of two drinks, and completed a task. The response variable is the time to complete the task. The ANOVA command is simple enough: anova(aov(time ~ drink * video, data = df));

Re: [R] Random effects ANOVA?

2006-03-29 Thread Prof Brian Ripley
I think you want print or summary rather than anova. anova() is not very useful for aov() models even without error strata. The point of the aov classes is that they present the results of lm() fits in ways which are more conventional for designed experiments, including giving conventional