Re: [R] Random Effects for One-Way Anova

From: Christian Hennig <chrish_at_stats.ucl.ac.uk>
Date: Thu 01 Dec 2005 - 01:10:38 EST

On Wed, 30 Nov 2005, Giuseppe.Palermo@bo.infn.it wrote:

> I'm sorry if I wasn't clear....
> There are repeated measures for each level of my factor.
> For instance, the dataframe could look like that:
>
> A B
> 12.0 1
> 12.3 1
> 15 1
> 12.9 2
> 16.7 2
> 15.4 2
> 23.5 3
> 9.6 3
> 7.8 3
>
> In order to fit a random effects, is right to apply:
> lme(A~1,data=DATA,random=~1|B) ?

Yes.

Christian


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 Thu Dec 01 02:01:04 2005

This archive was generated by hypermail 2.1.8 : Thu 01 Dec 2005 - 04:31:29 EST