planAOQL | R Documentation |
Calculation of AOQL plan (sample size n and critical value k) for sampling inspection by variables. Plans minimize mean inspection cost per lot of process average quality and at the same time satisfy limit on average outgoing quality (see AOQ
).
planAOQL(N, pbar, pL, method = c("exact", "napprox","ewmaSK","ewma2"), cm = 1, intdif = 20,lam=1)
N |
lot size (number of items in the lot) |
pbar |
process average fraction defective |
pL |
average outgoing quality limit |
method |
type of |
cm |
parameter used in cost function of plans (see |
intdif |
parameter used in finding n when |
lam |
smoothing parameter in case that EWMA statistic is used |
ACSPlan-class
object
Klufa J (1997) Dodge-Romig AOQL single sampling plans for inspection by variables. Statistical Papers 38: 111 - 119
LTPDvar-package
, OC
, AOQ
, ACSPlan-class
, Ims
# find AOQL plan planAOQL(N=1000,pbar=0.005,pL=0.01, method="napprox", cm=1.5); planAOQL(N=8000, pbar=0.003, pL=0.01, cm=1.5,method="ewmaSK", lam=0.9,intdif=40); planAOQL(N=8000, pbar=0.003, pL=0.01, cm=1.5,method="ewma2", lam=0.9);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.