Function to find a decision interval h
* for given reference value k
and desired ARL k
and is approximately
findH(ARL0, theta0, s = 1, rel.tol = 0.03, roundK = TRUE,
distr = c("poisson", "binomial"), digits = 1, FIR = FALSE, ...)hValues(theta0, ARL0, rel.tol=0.02, s = 1, roundK = TRUE, digits = 1,
distr = c("poisson", "binomial"), FIR = FALSE, ...)
findH
returns a vector and hValues
returns a matrix with elements
in-control parameter
decision interval
reference value
ARL for a CUSUM with parameters k
and h
corresponds to
desired in-control ARL
in-control parameter
change to detect, see details
"poisson"
or "binomial"
relative tolerance, i.e. the search for h
* is
stopped if rel.tol
the reference value k
and the decision interval h
are rounded to digits
decimal places
passed to findK
if TRUE
, the decision interval that leads to the desired ARL
for a FIR CUSUM with head start
further arguments for the distribution function, i.e. number
of trials n
for binomial cdf
The out-of-control parameter used to determine the reference value k
is specified as: