Learn R Programming

binomSamSize (version 0.1-3)

Confidence intervals and sample size determination for a binomial proportion under simple random sampling and pooled sampling

Description

A suite of functions to compute confidence intervals and necessary sample sizes for the parameter p of the Bernoulli B(p) distribution under simple random sampling or under pooled sampling. Such computations are e.g. of interest when investigating the incidence or prevalence in populations. The package contains functions to compute coverage probabilities and coverage coefficients of the provided confidence intervals procedures. Sample size calculations are based on expected length.

Copy Link

Version

Install

install.packages('binomSamSize')

Monthly Downloads

113

Version

0.1-3

License

GPL-3

Maintainer

Last Published

December 10th, 2013

Functions in binomSamSize (0.1-3)

coverage

Calculate coverage probability for a binomial proportion confidence interval scheme
ciss.midp

Sample size calculations using the Fosgate (2005) approach
binom.midp

Calculate mid-p confidence interval for binomial proportion
binomSamSize-package

Confidence intervals and sample size determination for a binomial proportion under simple random sampling and pooled sampling
poolbinom.logit

Calculate logit based confidence interval for binomial proportion for pooled samples
binom.liubailey

Calculate fixed width confidence interval for binomial proportion
ciss.pool.wald

Sample size calculations for fixed pool size and perfect test
ciss.wilson

Sample sizes for improved binomial confidence intervals
ciss.liubailey

Sample size calculations using the Liu and Bailey (2002) approach
poolbinom.lrt

Calculate LRT based confidence interval for binomial proportion for pooled samples
ciss.binom

General purpose sample size calculation based on confidence interval widths