K.factor | R Documentation |
Estimates k-factors for tolerance intervals based on normality.
K.factor(n, f = NULL, alpha = 0.05, P = 0.99, side = 1,
method = c("HE", "HE2", "WBE", "ELL", "KM", "EXACT",
"OCT"), m = 50)
n |
The (effective) sample size. |
f |
The number of degrees of freedom associated with calculating the estimate of the population standard deviation.
If |
alpha |
The level chosen such that |
P |
The proportion of the population to be covered by the tolerance interval. |
side |
Whether a 1-sided or 2-sided tolerance interval is required (determined by |
method |
The method for calculating the k-factors. The k-factor for the 1-sided tolerance intervals
is performed exactly and thus is the same for the chosen method. |
m |
The maximum number of subintervals to be used in the |
K.factor
returns the k-factor for tolerance intervals based on normality with the arguments specified above.
For larger sample sizes, there may be some accuracy issues with the 1-sided calculation since it depends on the noncentral t-distribution.
The code is primarily intended to be used for moderate values of the noncentrality parameter. It will not be highly accurate, especially in the tails, for large values.
See TDist
for further details.
Ellison, B. E. (1964), On Two-Sided Tolerance Intervals for a Normal Distribution, Annals of Mathematical Statistics, 35, 762–772.
Howe, W. G. (1969), Two-Sided Tolerance Limits for Normal Populations - Some Improvements, Journal of the American Statistical Association, 64, 610–620.
Krishnamoorthy, K. and Mathew, T. (2009), Statistical Tolerance Regions: Theory, Applications, and Computation, Wiley.
Odeh, R. E. and Owen, D. B. (1980), Tables for Normal Tolerance Limits, Sampling Plans, and Screening, Marcel-Dekker.
Owen, D. B. (1964), Controls of Percentages in Both Tails of the Normal Distribution, Technometrics, 6, 377-387.
Wald, A. and Wolfowitz, J. (1946), Tolerance Limits for a Normal Distribution, Annals of the Mathematical Statistics, 17, 208–215.
Weissberg, A. and Beatty, G. (1969), Tables of Tolerance Limit Factors for Normal Distributions, Technometrics, 2, 483–500.
integrate
, K.table
, normtol.int
, TDist
## Showing the k-factor under the Howe, Weissberg-Beatty,
## and exact estimation methods.
K.factor(10, P = 0.95, side = 2, method = "HE")
K.factor(10, P = 0.95, side = 2, method = "WBE")
K.factor(10, P = 0.95, side = 2, method = "EXACT", m = 20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.