[R] Repeated measures
F Z
gerifalte28 at hotmail.com
Wed Oct 6 23:02:08 CEST 2004
5,000 repeated measures! You might have problems fitting a "old school"
univariate or multivariate ANOVA RM model. Can you group some of the
measurements or you actually want to make inferences at each time point?
Anyway, try using a newer method, like lme from the library lme4. The book
by Pinheiro and Bates "Mixed-Effects Models in S and S-Plus" describes
several examples of RM analysis using their package.
Good luck!
Francisco
>From: Sean Davis <sdavis2 at mail.nih.gov>
>To: r-help <r-help at stat.math.ethz.ch>
>Subject: [R] Repeated measures
>Date: Wed, 6 Oct 2004 08:07:38 -0400
>
>I have a data set in which I have 5000 repeated measures on 6 subjects over
>time (varying intervals, but measurements for all individuals are at the
>same times). There are two states, a "resting" state (the majority of the
>time), and a perturbed state. I have a continuous measurement at each time
>point for each of the individuals. I would like to determine the "state"
>for each individual at each time point. It looks to me like I should be
>able to do this with the "hidden" command from the "repeated" package
>(http://popgen0146uns50.unimaas.nl/~jlindsey/rcode.html), but I have found
>it a bit confusing to get started. The distributions in the two states are
>approximately normal with differences in centrality and possibly variance
>(but I can start by assuming similar variances).
>
>Thanks,
>Sean
>
>______________________________________________
>R-help at 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
More information about the R-help
mailing list