View source: R/natural.tolerance.poisson.simple.R
natural.tolerance.poisson | R Documentation |
Calculates the natural tolerance of a given probability distribution, defined as F(p.upper)-F(p.lower) where F is a quantile function for a given univariate distribution. Default is to calculate the natural tolerance with a total tail area of .0027, or .00135 on the lower tail and .00135 on the upper tail. Note: for discrete distributions, tail areas may not exactly equal the input parameters.
natural.tolerance.poisson(x, ...)
natural.tolerance.poisson.simple(
lambda = 5,
total.area = 1 - 0.9973,
upper.tail = total.area/2,
lower.tail = total.area/2,
details = T
)
x |
Vector/numeric - data to fit parameters |
... |
Additional parameters for natural.tolerance |
lambda |
Scalar/numeric - rate parameter for normal distribution. |
Scalar or data.frame - scalar if details = F, otherwise data frame with details from calculation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.