powered by
Chain Sampling Plans for the binomial and Poisson distributions.
ChainBinomial(N, n, i, p = seq(0, 0.2, 0.001), Plots = TRUE)
the lot size
the sample size
the number of preceding lots that are free from nonconforming units for the lot to be accepted
a vector of values for the possible fraction of product that is nonconforming
logical to request generation of the four plots
A matrix containing the argument p as supplied and the calculated OC, ATI and ???
p
Dodge, H.F. (1955) “Chain Sampling Inspection Plan”, Industrial Quality Control 11(4), pp10-13.
# NOT RUN { require(Dodge) ChainBinomial(1000, 20,3) ChainPoisson(1000, 20,3) # }
Run the code above in your browser using DataLab