I am trying to do a repeated measurement anova using an lme. I have the
following variables:
-ID, the identification of the individual
-trail, with 2 levels
-treatment, with 3
-time, measure 5 times the same individual
-VCL, the response variable
I tried the following in R,
within.gr<-groupedData(VCL~time|ID/treatment/time,data=within)
summary(lme(fixed=VCL~time*treatment,random=~1,data=within.gr))
I am not sure if it is correct at all. Can anyone help me? It will be very
helpful.
Sincerely,
Jonathan
Vaz
---------------------------------------------
This message was sent using Endymion MailMan.
http://www.endymion.com/products/mailman/
repeated measurements and lme
2 messages · jonvaz@stud.ibg.uit.no, Brian Ripley
Please do not post to multiple lists. In this case R-help was more appropriate, but studying the posting guide was even more appropriate since you have not given enough information and the question is really statistical consulting not R.
On Wed, 15 Feb 2006, jonvaz at stud.ibg.uit.no wrote:
I am trying to do a repeated measurement anova using an lme. I have the following variables: -ID, the identification of the individual -trail, with 2 levels -treatment, with 3 -time, measure 5 times the same individual -VCL, the response variable I tried the following in R, within.gr<-groupedData(VCL~time|ID/treatment/time,data=within) summary(lme(fixed=VCL~time*treatment,random=~1,data=within.gr)) I am not sure if it is correct at all. Can anyone help me? It will be very helpful. Sincerely, Jonathan Vaz
Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595