I haven't seen a reply to this post, and you may have moved beyond this question by now, but I will nevertheless offer one brief question: Have you looked at 'simulate.lme'? This might simplify coding your power analysis.
Hope this helps. Spencer Graves Steve Su wrote: > Dear All, > > > > I wonder if anyone has written a code for power analysis with repeated > measures ANCOVA? I am aware of the following reference: > > > > Frison L and Pocock SJ: Repeated Measures in Clinical Trials: analysis > using mean summary statistics and its implications for design in > Statistics in Medicine, 1992, 11:1685-1704. > > Statistics in Medicine > > > > It will probably be fairly easy to code this up or even work on this > from scratch, but it would be good if people have already done this and > can share their code. > > > > Thanks. > > > > Steve. > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@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 > and provide commented, minimal, self-contained, reproducible code. > ______________________________________________ R-help@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 and provide commented, minimal, self-contained, reproducible code.