[R] binomial sample size calculation

Marc Schwartz marc_schwartz at me.com
Thu Mar 29 17:48:04 CEST 2012


On Mar 28, 2012, at 4:26 PM, McGuire, Rhydwyn wrote:

> Hi everyone.
> 
> 
> I need to do a sample size calculation for a one sample based on a CI interval of +- 5% of the proportion, we expect to have a rate of 0.07 based on similar studies. I have looked at the pwr-package as well as the power.prop.test function, but I can't see how to make either do what I need. Could anyone point me to a function, or explain how to do this will the functions in pwr?
> 
> 
> 
> Regards,
> 
> Rhyd



Hi,

You might want to review:

  http://tolstoy.newcastle.edu.au/R/e16/help/11/11/0291.html

for pointers and the basic methodology.

Regards,

Marc Schwartz



More information about the R-help mailing list