Learn R Programming

binom (version 1.1-1.1)

binom.cloglog: Binomial confidence intervals using the cloglog parameterization

Description

Uses the complementary log (cloglog) parameterization on the observed proportion to construct confidence intervals.

Usage

binom.cloglog(x, n, conf.level = 0.95, ...)

Arguments

x

Vector of number of successes in the binomial experiment.

n

Vector of number of independent trials in the binomial experiment.

conf.level

The level of confidence to be used in the confidence interval.

ignored

Value

A data.frame containing the observed proportions and the lower and upper bounds of the confidence interval.

Details

For derivations see doc/binom.pdf.

See Also

binom.confint, binom.bayes, binom.logit, binom.probit, binom.coverage

Examples

Run this code
# NOT RUN {
binom.cloglog(x = 0:10, n = 10)
# }

Run the code above in your browser using DataLab