logistol.int | R Documentation |
Provides 1-sided or 2-sided tolerance intervals for data distributed according to a logistic or log-logistic distribution.
logistol.int(x, alpha = 0.05, P = 0.99, log.log = FALSE,
side = 1)
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 |
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.
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 |
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.
Logistic
## 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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.