R: Binomial confidence intervals using the cloglog...

binom.cloglog {binom} | R Documentation

## 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

### Details

For derivations see doc/binom.pdf.

### Value

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

### Author(s)

Sundar Dorai-Raj (sdorairaj@gmail.com)

### See Also

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

### Examples

    binom.cloglog(x = 0:10, n = 10)

[Package binom version 1.1-1 Index]