Skip to content
Research Article Open access CC BY 4.0

Sales Anomaly Detection Using Automatic Time Series Decomposition

Nevie Chrislie Kinzonzi Ngongo, Oscar Famous Darteh

Journal of Economics, Management and Trade · pp. 13–21 · Published 27 Jul 2022

10.9734/jemt/2022/v28i930434

Abstract

This study proposes an automated time series decomposition (ATSD) technique for sales anomaly detection using weekly ice cream sale data from Google Trends with the caption "(Mobile AL-Pensacola (Ft. Walton Beach) FL. In this study, an empirical approach based on automatic time series decomposition (ATSD) was used to detect anomalies in sales data. A historical quantitative weekly ice cream sales data between periods of 9 April 2017 to 3 April 2022 consisting of 261 data points was used. The process for discovering the anomalous sales point includes importing of the necessary libraries, data visualization, construction of the ATSD model, creating the time series components from original data (seasonal, trend, residual), calculating the estimated from the original, and finally, the extraction of the anomalous sales. Anomalies were first discovered during the data visualization stage, which revealed some abnormal sales in mid-2019, late-2019, and early 2020. However, after applying the ATSD, our model detected anomalies with the specific dates of these anomalies. Following the application of the ATSD, our results indicate that the proposed anomaly detection approach can reliably detect anomalies with the dates of these anomalies. Because this technique worked well with our data, we assume it will work with any time series data.

Anomaly ice cream automatic time series decomposition detection

References (14)

  1. 1 Anomaly detection [DOI]
  2. 2 Statsmodels: Econometric and Statistical Modeling with Python [DOI]
  3. 3 A Comparative Evaluation of Unsupervised Anomaly Detection Algorithms for Multivariate Data [DOI]
  4. 4 The M4 Competition: 100,000 time series and 61 forecasting methods [DOI]
  5. 5 Forecasting: theory and practice [DOI]
  6. 6 Intelligent financial fraud detection: A comprehensive review [DOI]
  7. 7 Towards a unified customer experience in online shopping environments [DOI]
  8. 8 STL Decomposition of Time Series Can Benefit Forecasting Done by Statistical Methods but Not by Machine Learning Ones [DOI]
  9. 9 Time series modeling and decomposition [DOI]
  10. 10 Adaptive Model for Network Resources Prediction in Modern Internet Service Providers [DOI]
  11. 11 Detection of e-Commerce Anomalies using LSTM-recurrent Neural Networks [DOI]
  12. 12 A Clustering Approach for Outliers Detection in a Big Point-of-Sales Database [DOI]
  13. 13 Applications of Signature Methods to Market Anomaly Detection [DOI]
  14. 14 Evaluation of cluster based Anomaly detection

Cited by 2

LSCR: Latent Space Coordination Relation for Anomaly Prediction

Thasorn Chalongvorachai, Kuntpong Woraratpanya · 2023 15th International Conference on Information Technology and Electrical Engineering (ICITEE) · 2023

Showing 1 of 2 known citations — external sources report more than can currently be individually listed.

Article metrics

Real usage data collected on this platform.

43

Page views

0

PDF downloads

16

Outbound clicks

2

Citations

Views over time

Views by country

Approximate, from request IP at view time — not citizenship or institution. Countries with fewer than 5 views are grouped as "Other".

Traffic sources

Referring site, by host.

Views and downloads exclude known bots/crawlers. Citations combines this platform's own DOI-resolved index with each external source's own reported total — see Cited by above for individually listed citing works. Last refreshed 0 seconds ago.