WpoisCI | R Documentation |
An admissible exact confidence interval for the Poisson mean. This function can be used to calculate the interval constructed method proposed by Wang (2014).
WpoisCI(x, conf.level = 0.95, details = FALSE)
x |
the sample or the observed point. |
conf.level |
confidence level. The default is 0.95. |
details |
TRUE/FALSE, can be abbreviated. To choose whether to compute the confidence intervals for all the sample points. Default is FALSE. |
Suppose X~poi(lambda), the sample space of X is {0,1,...}. Wang (2014) proposed an admissible interval which is obtained by uniformly shrinking the initial 1-alpha Clopper-Pearson interval from 0 to the sample point of interest. This interval is admissible so that any proper sub-interval of it cannot assure the confidence coefficient. This means the interval cannot be shortened anymore.
a list which contain the confidence interval and the ICP.
Wang, W. (2014). An iterative construction of confidence intervals for a proportion. "Statistica Sinica" 24: 1389-1410.
WpoisCI(1)
WpoisCI(3,details = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.