Learn R Programming

binomCI (version 1.3)

binomCIs: Confidence Intervals for many Binomial Proportions.

Description

Confidence Intervals for many Binomial Proportions.

Usage

binomCIs(x, n, a = 0.05)

Value

A list with the the first element being the vector with the proportions and the rest 12 items contain the \((1-\alpha)\%\) confidence intervals.

Arguments

x

A vector with the number of successes.

n

A vector with the number of trials.

a

The significance level to compute the \((1-\alpha)\%\) confidence intervals.

Author

Michail Tsagris.

R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.

See Also

binomCI

Examples

Run this code
x <- sample(40, 10)
n <- rep(40, 10)
binomCIs(x, n)

Run the code above in your browser using DataLab