[R] Unequal sample sizes when calculating power
Marc Schwartz (via MN)
mschwartz at mn.rr.com
Wed Jan 25 17:38:16 CET 2006
On Wed, 2006-01-25 at 09:50 -0500, Farrel Buchinsky wrote:
> Power calculations two sample test for proportions is very useful. Is there
> a way however, to get away from the two samples being of the same size. What
> would happen if one had n=15 in the one sample and n=45 in the other sample.
See ?bpower and ?bpower.sim (along with the other functions on the same
help page) in Frank Harrell's 'Hmisc' package on CRAN.
HTH,
Marc Schwartz
P.S. Go Steelers! :-)
More information about the R-help
mailing list