Learn R Programming

LTPDvar (version 1.2.1)

AOQ: Average outgoing quality

Description

Average outgoing quality is the mean fraction defective after inspection when the fraction defective before inspection was \(p\), lot size is \(N\) and plan \((n,k)\) is used for sampling inspection. The average outgoing quality (assuming that all defective items found are replaced by good ones) is approximately $$AOQ(p)=\left(1-\frac{n}N\right)\!\cdot p\cdot\!L(p;n,c).$$

Usage

AOQ(p,n,k,N, type=c("exact", "napprox","ewmaSK","ewma2"),lam=1)

Arguments

p

fraction defective before inspection

n

sample size

k

critical value

N

lot size (number of items in the lot)

type

type of operating characteristic, see OC, default value "exact"

lam

smoothing parameter for the EWMA statistic, default 1

Value

single value

See Also

LTPDvar-package

Examples

Run this code
# NOT RUN {
AOQ(0.002,41,2.057083,1000)
# }

Run the code above in your browser using DataLab