OC {LTPDvar} | R Documentation |
Operating characteristic
Description
Calculation of probability of acceptance of a lot with fraction defective p
when using plan (n, k)
for sampling inspection
Usage
OC(p, n, k, type = c("exact", "napprox","ewmaSK","ewma2"),lam=1)
Arguments
p |
fraction defective |
n |
sample size |
k |
critical value |
type |
function used for operating characteristic; |
lam |
smoothing parameter in case that EWMA statistic is used |
Value
probability of acceptance of a lot (single number)
References
Jennett, W. J. - Welch, B. L.: The Control of Proportion Defective as Judged by a Single Quality Characteristic Varying on a Continuous Scale, Supplement to the Journal of the Royal Statistical Society, Vol. 6, No. 1, pp. 80-88, 1939.
Johnson, N. L. - Welch, B. L.: Applications of the Non-Central t-Distribution, Biometrika, Vol. 31, No. 3/4, pp. 362-389, 1940.
Examples
OC(p=0.1,n=85,k=2.44)