find.plan {AcceptanceSampling} | R Documentation |
Find the sampling plan with smallest sample size (single sample only) such that specified Producer Risk Point (PRP) and Consumer Risk Point (CRP) are both met.
PRP |
The Producer Risk Point in the form of a two element
numeric vector of the form c(pd, pa) . The first element,
pd , specifies the quality level at which to evaluate the
plan. The second element, pa , indicates the minimum
probability of acceptance to be achieved by the plan. |
CRP |
The Consumer Risk Point in the form of a two element
numeric vector of the form c(pd, pa) . The first element,
pd , specifies the quality level at which to evaluate the
plan. The second element, pa , indicates the maximum
probability of acceptance to be achieved by the plan. |
type |
The distribution which the sampling plan is based
on. Possible values are binomial , hypergeom ,
poisson and normal . |
N |
The size of the population from which samples are drawn. Only
applicable for type="hypergeom" . |
s.type |
The type of the standard deviation. A value of
known results in a sampling plan based on the population
standard deviation, while a value of unknown results in the
use of the sample standard deviation. |
find.plan(PRP, CRP, type="binomial")
find.plan(PRP, CRP, type="hypergeom", N)
find.plan(PRP, CRP, type="normal", s.type="unknown")
Andreas Kiermeier