scoreci: Wilson's confidence interval for a single proportion

Description Usage Arguments Value References

View source: R/scoreci.R

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


PropCIs documentation built on May 2, 2019, 5:49 a.m.