binom_n: Estimation of binomial parameters when both n, p are unknown

Description Usage Arguments Details References

View source: R/binom_param.R

Description

Estimation of binomial parameters when both n, p are unknown

Usage

1
2
3
binom_n(x, alpha = 1, na.rm = FALSE)

binom_p(x, alpha = 1, lambda = 1, na.rm = FALSE)

Arguments

x

a numeric vector.

alpha, lambda

parameters for methods described by DasGupta and Rubin (2005).

na.rm

a logical value indicating whether NA values should be stripped before the computation proceeds.

Details

Methods of estimating size of binomial population n are based on paper by DasGupta and Rubin (2005) who describe the "new moment estimator" n1 and the second estimator n2, additionally, the method of moments estimator mmes as described by Grevstad (2006) is available.

For estimating probability of success p, the "common moments estimator" p.tilde and and new estimator p.hat proposed by DasGupta and Rubin (2005) are available.

References

Grevstad, N. (2006). Binomial Distribution: Sample Size Estimation. Encyclopedia of Statistical Sciences.

DasGupta, A., and Rubin, H. (2005). Estimation of binomial parameters when both n, p are unknown. Journal of Statistical Planning and Inference, 130(1), 391-404.


twolodzko/twextras documentation built on May 3, 2019, 1:52 p.m.