[R] Sample size - proportion continuity correction
Frank E Harrell Jr
f.harrell at vanderbilt.edu
Tue Jun 2 17:03:09 CEST 2009
Karl Knoblick wrote:
> Hallo!
>
> Does anybody know how to calculate a sample size estimation for proportions with continuity correction?
That would lose power.
Frank
>
> 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
>
>
>
>
>
> ______________________________________________
> 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.
>
--
Frank E Harrell Jr Professor and Chair School of Medicine
Department of Biostatistics Vanderbilt University
More information about the R-help
mailing list