exptol.int | R Documentation |
Provides 1-sided or 2-sided tolerance intervals for data distributed according to an exponential distribution. Data with Type II censoring is permitted.
exptol.int(x, alpha = 0.05, P = 0.99, side = 1, type.2 = FALSE)
x |
A vector of data which is distributed according to an exponential distribution. |
alpha |
The level chosen such that |
P |
The proportion of the population to be covered by this tolerance interval. |
side |
Whether a 1-sided or 2-sided tolerance interval is required (determined by |
type.2 |
Select |
exptol.int
returns a data frame with items:
alpha |
The specified significance level. |
P |
The proportion of the population covered by this tolerance interval. |
lambda.hat |
The mean of the data (i.e., |
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 |
Blischke, W. R. and Murthy, D. N. P. (2000), Reliability: Modeling, Prediction, and Optimization, John Wiley & Sons, Inc.
Exponential
## 95%/99% 1-sided exponential tolerance intervals for a
## sample of size 50.
set.seed(100)
x <- rexp(100, 0.004)
out <- exptol.int(x = x, alpha = 0.05, P = 0.99, side = 1,
type.2 = FALSE)
out
plottol(out, x, plot.type = "both", side = "lower",
x.lab = "Exponential Data")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.