ci_onesample_pro(x, n, cl)

Computes a confidence interval for one population proportion. x is the frequency (number of successes), n the size of the sample and cl is the confidence level.
Assumes that both x and n are bigger or equal than 5.


See also ci_onesample_std ci_onesample_z ci_onesample_t 


Example


(See NOTE below)


ci_onesample_pro(202, 1010, .95)


Z-Test for One Population Proportion.

Confidence interval for a population proportion.

Confidence level : 0.95 (95%)

Results:

Interval  : (0.17533123570548437, 0.22466876429451565 )

Margin of error : 0.024668764294515654





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.