Learn R Programming

PropCIs (version 0.3-0)

scoreci: Wilson's confidence interval for a single proportion

Description

Wilson's confidence interval for a single proportion. Score CI based on inverting the asymptotic normal test using the null standard error

Usage

scoreci(x, n, conf.level)

Arguments

x

Number of successes

n

Total sample size

conf.level

Confidence level

Value

A list with class '"htest"' containing the following components:

conf.int

a confidence interval for the difference in proportions.

References

Wilson, E.B. (1927) Probable inference, the law of succession, and statistical inference J. Amer. Stat. Assoc 22, 209--212