Description Usage Arguments Details Value Examples
View source: R/attrCUSUM_getxxx_and_utils.R
Conversion of data to FSI CUSUM statistic for monitoring of mean increase.
1 | XtToCt(Xt, refv, c.zero = 0, maxndec = 7L)
|
Xt |
A non-negative integer-valued vector of count process of interest. |
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 |
For CUSUM control chart for detecting mean increase, the CUSUM statistic (C_{t}) are defined as following:
C_{t}=max(C_{t-1}, 0) + X_{t} - refv, t=1,2,...,
wherein X_{t} is a count process of interest.
A time-series object of CUSUM statistic for monitoring of mean increase.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.