DSPlanBinomial {Dodge} | R Documentation |
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)
N |
the lot size |
n1 |
the sample size in the first stage of the plan |
n2 |
the sample size in the second stage of the plan |
Ac1 |
the first stage acceptance number |
Re1 |
the first stage rejection number |
Ac2 |
the second stage acceptance number |
p |
a vector of values for the possible fraction of product that is nonconforming |
Plots |
logical to request generation of the four plots |
Raj Govindaraju with minor editing by Jonathan Godfrey
Dodge, H.F. and Romig, H.G. (1959) “Sampling Inspection Tables, Single and Double Sampling”, Second edition, John Wiley and Sons, New York.
DSPlanBinomial(1000, 10, 10, 0, 2, 1)
DSPlanPoisson(1000, 10, 10, 0,2, 1)