scoreci: This function computes a confidence interval for a...

scoreciR Documentation

This function computes a confidence interval for a proportion. It is based on inverting the large-sample normal score test for the proportion.

Description

This function computes a confidence interval for a proportion. It is based on inverting the large-sample normal score test for the proportion.

Usage

scoreci(x, n, conflev)

Arguments

x

Number of successes

n

Number of trials

conflev

Confidence level

Value

a list with lower bound, point estimate, and upper bound.


hammocar/hammond documentation built on Sept. 28, 2022, 7:53 p.m.