Learn R Programming

attrCUSUM (version 0.1.0)

getContl_Poisson: Compute Control Limits for FSI Poisson CUSUM Control Chart

Description

Computation of suitable control limits for (zero-inflated) FSI Poisson CUSUM control chart based on specified reference value and in-control ANSS/ARL.

Usage

getContl_pois(lambda, anss.target = 370.4, refv, c.zero = 0, maxndec = 7L, maxnumsubI = 6000L)
getContl_zipois(rho, lambda, anss.target = 370.4, refv, c.zero = 0, maxndec = 7L, maxnumsubI = 6000L)

Arguments

rho
A length-one numeric vector of zero-inflated parameter in [0,1).
lambda
A length-one positive numeric vector of mean.
anss.target
A predetermined in-control ANSS/ARL ($\le$50000L), default is 370.4.
refv
A reference value of CUSUM statistic.
c.zero
An initial state of CUSUM statistic (default is 0).
maxndec
The maximum number of decimal places of refv ($\le$ 7L).
maxnumsubI
The maximum number of sub-intervals in [100,6000] to be used in applying the Markov chain approach.

Value

A list from getContl. See getContl for more information.

Details

getContl_pois and getContl_zipois are wrapper functions of getContl for (zero-inflated) Poisson distribution.

References

White et al. (1997). POISSON CUSUM VERSUS c CHART FOR DEFECT DATA, Quality Engineering, 9:4, 673-679.

See Also

getContl, getContl_binomial.

Examples

Run this code
# Example 1: Poisson distribution
getContl_pois(lambda = 4, anss.target = 200, refv = 5, c.zero = 0)

Run the code above in your browser using DataLab