Learn R Programming

attrCUSUM (version 0.1.0)

getContl_binomial: Compute Control Limits for FSI binomial CUSUM Control Chart

Description

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

Usage

getContl_binom(size, prob, anss.target = 370.4, refv, c.zero = 0, maxndec = 7L, maxnumsubI = 6000L)
getContl_zibinom(rho, size, prob, 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).
size
A length-one non-negative integer-valued vector of number of trials.
prob
A length-one numeric vector of probability of success in [0,1].
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_binom and getContl_zibinom are wrapper functions of getContl (zero-inflated) for binomial distribution.

References

Rakitzis et al. (2016). CUSUM Control Charts for the Monitoring of Zero-inflated Binomial Processes, Quality and Reliability Engineering International, 32, 465-483.

See Also

getContl, getContl_Poisson.

Examples

Run this code
# Example 1: zero-inflated binomial distribution
getContl_zibinom(rho = 0.9, size = 100, prob = 0.01,
                 anss.target = 370.4, refv = 0.26, c.zero = 0)

Run the code above in your browser using DataLab