Last chance! 50% off unlimited learning
Sale ends in
Double Sampling Plans for the binomial and Poisson distributions.
DSPlanBinomial(N, n1, n2, Ac1, Re1, Ac2, p = seq(0, 0.25, 0.005),
Plots = TRUE)
the lot size
the sample size in the first stage of the plan
the sample size in the second stage of the plan
the first stage acceptance number
the first stage rejection number
the second stage acceptance number
a vector of values for the possible fraction of product that is nonconforming
logical to request generation of the four plots
Dodge, H.F. and Romig, H.G. (1959) “Sampling Inspection Tables, Single and Double Sampling”, Second edition, John Wiley and Sons, New York.
# NOT RUN {
DSPlanBinomial(1000, 10, 10, 0, 2, 1)
DSPlanPoisson(1000, 10, 10, 0,2, 1)
# }
Run the code above in your browser using DataLab