50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


Dodge (version 0.9-2)

DSPlanBinomial: Double Sampling Plans

Description

Double Sampling Plans for the binomial and Poisson distributions.

Usage

DSPlanBinomial(N, n1, n2, Ac1, Re1, Ac2, p = seq(0, 0.25, 0.005),
  Plots = TRUE)

Arguments

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

References

Dodge, H.F. and Romig, H.G. (1959) “Sampling Inspection Tables, Single and Double Sampling”, Second edition, John Wiley and Sons, New York.

Examples

Run this code
# 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