[R] Sample size - proportion continuity correction

Karl Knoblick karlknoblich at yahoo.de
Tue Jun 2 16:46:23 CEST 2009


Hallo!

Does anybody know how to calculate a sample size estimation for proportions with continuity correction?
 
I only found EpiR which seems to calculate without continuity correction:

library(epiR)
epi.studysize(treat = .65, control = .50, n = NA, sigma = NA,
power = 0.80, r = 1, conf.level = 0.95, sided.test = 2, method = "cohort")
$n
[1] 340


Thanks!
Karl








More information about the R-help mailing list