WhyperCI_M_lower {ExactCIone} | R Documentation |
An Admissible Exact One-sided Lower Interval for the Number of White Balls in Hypergeometric Distribution
Description
The 1-alpha Clopper-Pearson type lower interval for the number of white balls in an urn.
Usage
WhyperCI_M_lower(X, n, N, conf.level, details = FALSE)
Arguments
X |
integer representing the number of white balls we observed when drawn without replacement from an urn which contains both black and white balls. |
n |
the number we drawn. |
N |
integer representing the number of the whole balls in an urn. |
conf.level |
the confidence level of confidence interval. |
details |
TRUE/FALSE, can be abbreviate. Default is FALSE. If choose TRUE, the confidence intervals for the whole sample space and the icp will be returned. |
Value
a list which contains the confidence interval.
References
Konijn, H. S. (1973). Statistical Theory of Sample Survey Design and Analysis, Amsterdam: North-Holland.
Examples
WhyperCI_M_lower(0,50,2000,0.95,details = TRUE)
WhyperCI_M_lower(0,50,2000,0.95)
[Package ExactCIone version 1.0.5 Index]