logistol.int {tolerance} | R Documentation |
Logistic (or Log-Logistic) Tolerance Intervals
Description
Provides 1-sided or 2-sided tolerance intervals for data distributed according to a logistic or log-logistic distribution.
Usage
logistol.int(x, alpha = 0.05, P = 0.99, log.log = FALSE,
side = 1)
Arguments
x |
A vector of data which is distributed according to a logistic or log-logistic distribution. |
alpha |
The level chosen such that |
P |
The proportion of the population to be covered by this tolerance interval. |
log.log |
If |
side |
Whether a 1-sided or 2-sided tolerance interval is required (determined by |
Details
Recall that if the random variable X
is distributed according to a log-logistic distribution, then the random variable Y = ln(X)
is
distributed according to a logistic distribution.
Value
logistol.int
returns a data frame with items:
alpha |
The specified significance level. |
P |
The proportion of the population covered by this tolerance interval. |
1-sided.lower |
The 1-sided lower tolerance bound. This is given only if |
1-sided.upper |
The 1-sided upper tolerance bound. This is given only if |
2-sided.lower |
The 2-sided lower tolerance bound. This is given only if |
2-sided.upper |
The 2-sided upper tolerance bound. This is given only if |
References
Balakrishnan, N. (1992), Handbook of the Logistic Distribution, Marcel Dekker, Inc.
Hall, I. J. (1975), One-Sided Tolerance Limits for a Logistic Distribution Based on Censored Samples, Biometrics, 31, 873–880.
See Also
Examples
## 90%/95% 1-sided logistic tolerance intervals for a sample
## of size 20.
set.seed(100)
x <- rlogis(20, 5, 1)
out <- logistol.int(x = x, alpha = 0.10, P = 0.95,
log.log = FALSE, side = 1)
out
plottol(out, x, plot.type = "control", side = "two",
x.lab = "Logistic Data")