Description Usage Arguments Details Value References See Also Examples
View source: R/attrCUSUM_getxxx_binom.R
Computation of suitable control limits for (zero-inflated) FSI binomial CUSUM control chart based on specified reference value and in-control ANSS/ARL.
1 2 3 4 5 | 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)
|
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 (≤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 |
maxnumsubI |
The maximum number of sub-intervals in [100,6000] to be used in applying the Markov chain approach. |
getContl_binom
and getContl_zibinom
are
wrapper functions of getContl
(zero-inflated) for binomial distribution.
A list from getContl
.
See getContl
for more information.
Rakitzis et al. (2016). CUSUM Control Charts for the Monitoring of Zero-inflated Binomial Processes, Quality and Reliability Engineering International, 32, 465-483.
getContl
, getContl_Poisson.
1 2 3 | # 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.