umatol.int | R Documentation |
Provides uniformly most accurate upper tolerance limits for the binomial, negative binomial, and Poisson distributions.
umatol.int(x, n = NULL, dist = c("Bin", "NegBin", "Pois"), N,
alpha = 0.05, P = 0.99)
x |
A vector of data which is distributed according to one of the binomial, negative binomial, or Poisson distributions.
If the length of |
n |
The sample size of the data. If |
dist |
The distribution for the data given by |
N |
Must be specified for the binomial and negative binomial distributions. If |
alpha |
The level chosen such that |
P |
The proportion of the population to be covered by this tolerance interval. |
umatol.int
returns a data frame with items:
alpha |
The specified significance level. |
P |
The proportion of the population covered by this tolerance interval. |
p.hat |
The maximum likelihood estimate for the probability of success in each trial; reported if |
nu.hat |
The maximum likelihood estimate for the probability of success in each trial; reported if |
lambda.hat |
The maximum likelihood estimate for the rate of success; reported if |
1-sided.upper |
The 1-sided upper tolerance limit. |
Zacks, S. (1970), Uniformly Most Accurate Tolerance Limits for Monotone Likelihood Ratio Families of Discrete Distributions, Journal of the American Statistical Association, 65, 307–316.
Binomial
, NegBinomial
, Poisson
## Examples from Zacks (1970).
umatol.int(25, n = 4, dist = "Bin", N = 10, alpha = 0.10,
P = 0.95)
umatol.int(13, n = 10, dist = "NegBin", N = 2, alpha = 0.10,
P = 0.95)
umatol.int(37, n = 10, dist = "Pois", alpha = 0.10, P = 0.95)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.