Learn R Programming

PropCIs (version 0.1-6)

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

  • lowlimLower endpoint for the $100*conf.level$ interval
  • uplimUpper endpoint for the $100*conf.level$ interval

References

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