ci_twosample_reqsize(E, p1, p2, cl)
Returns the sample size required to compute a confidence interval with margin of error E, proportions p1, p2 and confidence level cl.
The returned size can be used in function ci_twosample_pro()
.
See also ci_twosample_pro ci_twosample_tpaired ci_twosample_tpooled
Example
ci_twosample_reqsize(.05, .6, .6, .95)
738