ci_onesample_reqsize(E, p, cl)

Returns the sample size required to compute a confidence interval with a margin of error E, proportion p and confidence level cl.
If there is no knowledge about the proportion p, you may use p=0.5.
The returned value can be used in function ci_onesample_pro() to compute a confidence interval for a population proportion.


See also ci_onesample_pro ci_onesample_zreqsize ci_onesample_z ci_onesample_t 


Example


(See NOTE below)


ci_onesample_reqsize(.01,.5,.95)

9604





NOTE: The data used in this example was taken from the textbook Introductory Statistics 6th Ed. by Neil A. Weiss with kind permission of Addison Wesly Longman, Inc. (AWL). AWL does not endorse nor it supports the Calcugator.