uniftol.int | R Documentation |
Provides 1-sided or 2-sided tolerance intervals for data distributed according to a uniform distribution.
uniftol.int(x, alpha = 0.05, P = 0.99, upper = NULL,
lower = NULL, side = 1)
x |
A vector of data which is distributed according to a uniform distribution. |
alpha |
The level chosen such that |
P |
The proportion of the population to be covered by this tolerance interval. |
upper |
The upper bound of the data. When |
lower |
The lower bound of the data. When |
side |
Whether a 1-sided or 2-sided tolerance interval is required (determined by |
uniftol.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 |
Faulkenberry, G. D. and Weeks, D. L. (1968), Sample Size Determination for Tolerance Limits, Technometrics, 10, 343–348.
## 90%/90% 1-sided uniform tolerance intervals for a sample
## of size 50 with a known lower bound of 0.
set.seed(100)
x <- runif(50, 0, 50)
out <- uniftol.int(x = x, alpha = 0.10, P = 0.90, lower = 0,
side = 1)
out
plottol(out, x, plot.type = "hist", side = "two",
x.lab = "Uniform Data")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.