Skip to content
Prev 59723 / 398502 Next

Two factor ANOVA in lme

nat writes:
It seems your message didn't get any replies (at least none
posted to r-help). 

        I recentely adjusted such a model  (two effects, one fixed,
another random, with interaction effects) using lme. I used the
following command: 

 z1 <- lme(reacao ~ posicao,data=memoria,random=~1|subject/posicao)

        Where my model is 

         reacao = mu + posicao (fixed) + posicao*subject (random) +
subject (random)

         Beware though that minitab uses different estimation methods (in lme
itself you may use maximum likelihood other restricted m.l) and the
results need not to be the same.

 


--
Fernando Henrique Ferraz P. da Rosa
http://www.ime.usp.br/~feferraz