Learn R Programming

Dodge (version 0.9-2)

SSPDesignBinomial: Single Sampling Plan Designs

Description

Design a single sampling plan for given AQL, alpha, LQL, and beta. Currently there are functions for the binomial and Poisson distributions.

Usage

SSPDesignBinomial(AQL, alpha, LQL, beta)

Arguments

AQL

Acceptable quality level

alpha

producer's risk

LQL

Limiting quality level

beta

consumers' risk

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 {
SSPDesignBinomial(0.01, 0.05, 0.04, 0.05)
SSPDesignPoisson(0.01, 0.05, 0.04, 0.05)

# }

Run the code above in your browser using DataLab