[R] Power calculations where two samples are of unequal size

Stephan Kolassa Stephan.Kolassa at gmx.de
Wed Dec 10 00:39:01 CET 2008

Hi Farrel,

I usually simulate in cases like this - pick the effect size and 
distributions you conjecture, simulate your data 10,000 times and look 
how often t.test() gets you a significant difference.

Good luck,

Farrel Buchinsky schrieb:
> I have used the function power.t.test() (power calculations for one
> and two sample t tests) but have noted that it handles the samples as
> being the same size. How does one handle sample sizes that are
> different. In other words how does one handle unbalanced designs.
> Farrel Buchinsky
> ______________________________________________
> 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.

More information about the R-help mailing list