[R] repeated measures ANOVA using a covariance matrix

From: sun71 sun <sun.sonny71_at_googlemail.com>
Date: Mon, 18 Feb 2008 15:08:53 +0100


Dear all,
how can I perform a repeated measures ANOVA using a covariance matrix as input? E.g., I have four repeated measures (N = 200) with mean vector tau (no BS factor):

tau <- rbind(1.10, 2.51, 2.76, 3.52)

and covariance matrix (sigma):

sigma <- matrix(c(0.523, 0.268, 0.267, 0.211,

                           0.268, 0.444, 0.492, 0.571,
                           0.267, 0.492, 1.213, 1.112,
                           0.211, 0.571, 1.112, 1.811), nrow = 4, ncol
= 4, byrow = TRUE)

Thank you very much in advance!



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon 18 Feb 2008 - 15:24:43 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 18 Feb 2008 - 15:30:15 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive