chao_huwang function

Chao-Huwang method

Chao-Huwang method

Calculate a binomial series lower confidence bound using Chao and Huwang's (1987) method.

chao_huwang(s, n, alpha, MonteCarlo, ...)

Arguments

  • s: Vector of successes.
  • n: Vector of sample sizes.
  • alpha: The significance level; to calculate a 100(1-α\alpha)% lower confidence bound.
  • MonteCarlo: Number of samples to draw from the posterior distribution for the Monte Carlo estimate.
  • ...: Additional arguments to be ignored.

Returns

The 100(1-α\alpha)% lower confidence bound.

Examples

chao_huwang(s=c(35, 97, 59), n=c(35, 100, 60), alpha=.10, MonteCarlo=1000)
  • Maintainer: Edward Schuberg
  • License: GPL-3
  • Last published: 2019-07-09

Useful links