add4ci: Computes the Agresti-Coull 'add 4' CI for x successes out of...

add4ciR Documentation

Computes the Agresti-Coull ‘add 4’ CI for x successes out of n trials with confidence coefficient conflev. Adds 2 successes and 4 trials.

Description

Computes the Agresti-Coull ‘add 4’ CI for x successes out of n trials with confidence coefficient conflev. Adds 2 successes and 4 trials.

Usage

add4ci(x, n, conflev = 0.95)

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.