On Fri, Mar 11, 2011 at 6:08 AM, Yuelin Li <li...@mskcc.org> 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

-- 
Thomas Lumley
Professor of Biostatistics
University of Auckland

______________________________________________
R-help@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.

Reply via email to