Skip to main content

An In-depth Analysis of CUSUM Algorithm for the Detection of Mean and Variability Deviation in Time Series

  • Conference paper
  • First Online:
Web and Wireless Geographical Information Systems (W2GIS 2018)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 10819))

  • 547 Accesses

Abstract

Assessing and enhancing data quality in sensors networks is an important challenge. In fact, data recorded and sent by the sensors are often dirty, they contain noisy, erroneous and missing values. This can be due to many reasons such as sensor malfunction, uncalibrated sensor and low battery of the sensor or caused by external factors such as climatic conditions or interference. We focus in this paper on change detection in the time series data issued from sensors. We particularly address slow and gradual changes as they illustrate sensor calibration drift. For this purpose, we provide in this paper an in-depth analysis and improvement of the well known Cumulative Sum (CUSUM) control chart algorithm, as it is well adapted to small shifts detection. First, we discuss the choice of the different parameters of CUSUM in order to optimize its results based on the trade-off between the false positives and the Average Run Length (\(ARL_\delta \)) needed by the algorithm to detect a process mean shift of \(\delta \). A study of the variability of the Run Length (\(RL_\delta \)) is provided using simulation. Then, we introduce two improvements to the CUSUM algorithm: we propose an efficient method to estimate the starting point and the end point of the mean shift. Moreover, we adapt CUSUM to detect not only process mean deviation but also process variability deviation. All these improvements are validated by simulation and against real data stream issued from water flow-meters.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Chabchoub, Y., Chiky, R., Dogan, B.: How can sliding HyperLogLog and EWMA detect port scan attacks in IP traffic? EURASIP J. Inf. Secur. 2014(1), 5 (2014)

    Article  Google Scholar 

  2. Manonmani, R., Mary Divya Suganya, G.: Remote sensing and GIS application in change detection study in urban zone using multi temporal satellite. Int. J. Geomat. Geosci. 1(1), 60 (2010)

    Google Scholar 

  3. Basseville, M., Nikiforov, I.V., et al.: Detection of Abrupt Changes: Theory and Application, vol. 104. Prentice Hall, Englewood Cliffs (1993)

    Google Scholar 

  4. Roberts, S.W.: Control chart tests based on geometric moving averages. Technometrics 1(3), 239–250 (1959)

    Article  Google Scholar 

  5. Page, E.S.: Continuous inspection schemes. Biometrika 41(1/2), 100–115 (1954)

    Article  MathSciNet  Google Scholar 

  6. Montgomery, D.C.: Introduction to Statistical Quality Control. Wiley, New York (2007)

    MATH  Google Scholar 

  7. Ewan, W.D.: When and how to use CUSUM charts. Technometrics 5(1), 1–22 (1963)

    Article  Google Scholar 

  8. Bissell, A.F.: CUSUM techniques for quality control. Appl. Stat. 18, 1–30 (1969)

    Article  Google Scholar 

  9. Goel, A.L., Wu, S.M.: Economically optimum design of CUSUM charts. Manag. Sci. 19(11), 1271–1282 (1973)

    Article  Google Scholar 

  10. Reynolds, M.R.: Approximations to the average run length in cumulative sum control charts. Technometrics 17(1), 65–71 (1975)

    Article  MathSciNet  Google Scholar 

  11. Lucas, J.M., Crosier, R.B.: Fast initial response for CUSUM quality-control schemes: give your CUSUM a head start. Technometrics 24(3), 199–205 (1982)

    Article  Google Scholar 

  12. Siegmund, D.: Sequential Analysis: Tests and Confidence Intervals. Springer, New York (2013). https://doi.org/10.1007/978-1-4757-1862-1

    Book  MATH  Google Scholar 

  13. Brook, D., Evans, D.A.: An approach to the probability distribution of CUSUM run length. Biometrika 59, 539–549 (1972)

    Article  MathSciNet  Google Scholar 

  14. El Sibai, R., Chabchoub, Y., Chiky, R., Demerjian, J., Barbar, K.: Assessing and improving sensors data quality in streaming context. In: Nguyen, N.T., Papadopoulos, G.A., Jędrzejowicz, P., Trawiński, B., Vossen, G. (eds.) ICCCI 2017. LNCS (LNAI), vol. 10449, pp. 590–599. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-67077-5_57

    Chapter  Google Scholar 

  15. Ramanathan, N., Schoellhammer, T., Estrin, D., Hansen, M., Harmon, T., Kohler, E., Srivastava, M.: The final frontier: embedding networked sensors in the soil. Center for Embedded Network Sensing (2006)

    Google Scholar 

  16. Sharma, A.B., Golubchik, L., Govindan, R.: Sensor faults: detection methods and prevalence in real-world datasets. ACM Trans. Sens. Netw. (TOSN) 6(3), 23 (2010)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Rayane El Sibai .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer International Publishing AG, part of Springer Nature

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

El Sibai, R., Chabchoub, Y., Chiky, R., Demerjian, J., Barbar, K. (2018). An In-depth Analysis of CUSUM Algorithm for the Detection of Mean and Variability Deviation in Time Series. In: R. Luaces, M., Karimipour, F. (eds) Web and Wireless Geographical Information Systems. W2GIS 2018. Lecture Notes in Computer Science(), vol 10819. Springer, Cham. https://doi.org/10.1007/978-3-319-90053-7_4

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-90053-7_4

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-90052-0

  • Online ISBN: 978-3-319-90053-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics