Re: [R] power for repeated-measures ANOVA lacking sphericity

From: Thomas Lumley <>
Date: Fri, 11 Mar 2011 08:25:40 +1300

On Fri, Mar 11, 2011 at 6:08 AM, Yuelin Li <> wrote:
> Is there a function that calculates the power of a
> repeated-measure ANOVA design, e.g., 2 groups, 4
> within-subject factors, an average 0.40 correlation between
> the 4 within factors, etc.
> I don't think I can use power.anova.test() because it does
> not consider corr=0.40.

The easiest approach is likely to be simulation: simulate data from the design and compute the p-value, repeat a few thousand times.


Thomas Lumley
Professor of Biostatistics
University of Auckland

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Thu 10 Mar 2011 - 19:31:28 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 Thu 10 Mar 2011 - 19:40:21 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive