Re: [R] repeated measures anova, sphericity, epsilon, etc

2009-03-09 Thread Paul Gribble
After much research I've listed a couple of ways to do repeated measures anova here: http://gribblelab.org/2009/03/09/repeated-measures-anova-using-r/ including univariate and multivariate methods, post-hoc tests, sphericity test, etc. It appears to me that the most useful way is a multivariate

Re: [R] repeated measures anova, sphericity, epsilon, etc

2009-03-09 Thread Kingsford Jones
Hi Paul, Note that in your example subject/myfactor is conflated with the error term. The error thrown when you use intervals on the lme object is a result: am2 - lme(dv ~ myfactor, random = ~1|subject/myfactor, data=mydata) intervals(am2) Error in intervals.lme(am2) : Cannot get confidence

[R] repeated measures anova, sphericity, epsilon, etc

2009-03-03 Thread Paul Gribble
I have 3 questions (below). Background: I am teaching an introductory statistics course in which we are covering (among other things) repeated measures anova. This time around teaching it, we are using R for all of our computations. We are starting by covering the univariate approach to repeated

Re: [R] repeated measures anova, sphericity, epsilon, etc

2009-03-03 Thread Peter Dalgaard
Paul Gribble wrote: I have 3 questions (below). Background: I am teaching an introductory statistics course in which we are covering (among other things) repeated measures anova. This time around teaching it, we are using R for all of our computations. We are starting by covering the univariate

Re: [R] repeated measures anova, sphericity, epsilon, etc

2009-03-03 Thread Paul Gribble
Have a look at http://cran.r-project.org/doc/Rnews/Rnews_2007-2.pdf Wow. I think my students would keel over. Anova() from the car package looks promising - I will check it out. Thanks On Tue, Mar 3, 2009 at 4:00 PM, Peter Dalgaard p.dalga...@biostat.ku.dkwrote: Paul Gribble wrote: I