scoreci: Wilson's confidence interval for a single proportion

Description Usage Arguments Value References

Description

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

Usage

1
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


shearer/PropCIs documentation built on May 29, 2019, 9:20 p.m.