The EARS algorithms [15] are based on cumulative sum calculations commonly used in quality control. C2 triggers an alert when a test statistic S t exceeds a number k of standard deviations above the baseline mean: