Cumulative Sum (CUSUM)¶
Local Algorithm - One-Dimensional Algorithm
Cumulative Sum algorithm calculates the cumulative sum of an input data sequence. The basic formula is stated as follows:
S0=0,
Sn=max(0,Sn−1+Yn−k),
where Y is the input data sequence and S represents the cumulative sums. k is a user-given reference value.
Input Parameters
Parameter | Type | Constraint | Description | Remarks |
---|---|---|---|---|
Y | Y∈RN | N∈N | Input data sequence of length N | |
k | k∈R |
Output Parameters
Parameter | Type | Constraint | Description | Remarks |
---|---|---|---|---|
S | S∈RN | N∈N |
Tool Support
Single Steps using the Algorithm
References
- E.S. Page, Continuous Inspection Scheme, Biometrika, vol. 41(1/2), pp. 100-115, 1954.