Description Details Author(s) References See Also
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 and coverage probabilities of the resulting confidence intervals.
Package: | binomSamSize |
Type: | Package |
Version: | 0.1-3 |
Date: | 2013-12-10 |
License: | GPL-3 |
LazyLoad: | yes |
The packages relies heavily on the functions in the package
binom
by Sundar Dorai-Raj.
Other R packages
containing similar functionality for calculating sample sizes for pooled
sampling is the binGroup
package. Also the epiR
has
further functionality for computing sample sizes for tests with
sensitivity and specificity different from 1.
Functionality for pooled prevalence calculations with a nice web interface can also be found at http://www.ausvet.com.au/pprev/content.php?page=home
Note that the package is still in a development stage. As a consequence, use the results of the package with care because bugs, inconsistencies and errors might exist. In case you find bugs please do not hesitate to report them to the package maintainer.
Michael Höhle with contributions by Wei Liu
Maintainer: Michael Höhle <hoehle@math.su.se>
Piegorsch, W. W. (2004), Sample sizes for improved binomial confidence intervals, Computational Statistics and Data Analysis, 46:309–316.
Package binom.confint{binom::binom.confint}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.