{"id":6245,"date":"2025-07-28T13:44:02","date_gmt":"2025-07-28T04:44:02","guid":{"rendered":"https:\/\/aizoth.com\/?post_type=use_case&#038;p=6245"},"modified":"2026-05-21T09:14:34","modified_gmt":"2026-05-21T00:14:34","slug":"contents-e020","status":"publish","type":"use_case","link":"https:\/\/aizoth.com\/en\/use_case\/contents-e020\/","title":{"rendered":"Analysis of retail sales time series data using Multi-Sigma\u00ae"},"content":{"rendered":"\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button is-style-outline is-style-outline--1\"><a class=\"wp-block-button__link has-black-color has-text-color has-background has-link-color has-medium-font-size has-custom-font-size wp-element-button\" href=\"https:\/\/aizoth.com\/en\/blog\/multi-sigma_2025_05_28\/\" style=\"background-color:#ffe200\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>More Details<\/strong><\/a><\/div>\n<\/div>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong><strong><strong><strong><strong>This case study demonstrates how Multi-Sigma<sup>\u00ae<\/sup> was used to build a neural network model for time series data on retail sales, enabling one-week-ahead sales forecasting and contribution analysis for each department.<\/strong><\/strong><\/strong><\/strong><\/strong><\/p>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:30px;text-decoration:underline\"><strong><strong>1.<strong> <strong><strong>Data used for analysis<\/strong><\/strong><\/strong><\/strong><\/strong><\/h2>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">Although the public dataset includes department-level data across 45 stores, for simplicity, we focused our analysis on one store and selected departments within it. The dataset spans from 2010 to 2012; the last 20 weeks were used as the test set, while the preceding weeks were used for training the model. We then evaluated prediction accuracy and analyzed influential factors.<\/p>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:30px;text-decoration:underline\"><strong><strong>2. <strong><strong><strong>Future sales forecasting using Multi-Sigma<sup>\u00ae<\/sup><\/strong><\/strong><\/strong><\/strong><\/strong><\/h2>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">When building a predictive model for time series data, using the raw data alone does not easily yield high prediction accuracy. Therefore, in this analysis, we performed extensive feature engineering. For example, to capture weekly seasonality, we applied sine\/cosine transformations to the week information. Additionally, we assumed that discount campaigns from the previous week could affect sales in the current week, so we included various discount-related data from the previous week as additional features. We also added weekly sales data from the past four weeks and their aggregate values as supplementary features. Beyond these, we implemented numerous other detailed feature engineering techniques. Moreover, a proper training method is crucial in time series modeling to prevent data leakage. Multi-Sigma<sup>\u00ae<\/sup> makes it easy to implement such training methods, which we fully adopted in our analysis.<\/p>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"325\" src=\"https:\/\/aizoth.com\/wp-content\/uploads\/2025\/07\/E020_1-1024x325.png\" alt=\"Future sales forecasting using Multi-Sigma\u00ae\nActual Value\" class=\"wp-image-6246\" srcset=\"https:\/\/aizoth.com\/wp-content\/uploads\/2025\/07\/E020_1-1024x325.png 1024w, https:\/\/aizoth.com\/wp-content\/uploads\/2025\/07\/E020_1-300x95.png 300w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:30px;text-decoration:underline\"><strong><strong>3. <strong><strong><strong>Sales contribution analysis using Multi-Sigma<sup>\u00ae<\/sup><\/strong><\/strong><\/strong><\/strong><\/strong><\/h2>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">Using Multi-Sigma<sup>\u00ae<\/sup>\u2019s contribution analysis feature, we identified the variables that have the greatest impact on sales forecasts for specific departments within the store. In this department, the number of weeks elapsed in the year\u2014transformed using a cosine function\u2014was found to have a positive influence on sales. Additionally, higher sales in the previous week and greater values for Discount Campaign 4 led to higher sales in the current week. It was also observed that sales tend to increase in October. Conversely, higher sales from two and four weeks prior led to a decrease in sales during the current week. Furthermore, the implementation of Discount Campaigns 1 and 5 was found to contribute to lower sales. It should be noted that the results of this contribution analysis vary depending on the store and department.<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><\/p>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1116\" height=\"617\" src=\"https:\/\/aizoth.com\/wp-content\/uploads\/2025\/07\/E020_2.png\" alt=\"Sales contribution analysis using Multi-Sigma\u00ae\" class=\"wp-image-6247\" style=\"width:629px;height:auto\" srcset=\"https:\/\/aizoth.com\/wp-content\/uploads\/2025\/07\/E020_2.png 1116w, https:\/\/aizoth.com\/wp-content\/uploads\/2025\/07\/E020_2-300x166.png 300w, https:\/\/aizoth.com\/wp-content\/uploads\/2025\/07\/E020_2-1024x566.png 1024w\" sizes=\"auto, (max-width: 1116px) 100vw, 1116px\" \/><\/figure>\n<\/div>\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div style=\"height:60px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">(Data) The data used in this analysis was processed and edited based on the data published in the article below, under Creative Commons Zero 1.0 Universal (CC0 1.0) license.<br>Data source: Retail Data Analytics\uff08<a href=\"https:\/\/www.kaggle.com\/datasets\/manjeetsingh\/retaildataset\">https:\/\/www.kaggle.com\/datasets\/manjeetsingh\/retaildataset<\/a>\uff09<\/p>\n\n\n\n<div style=\"height:60px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-fe48e5de wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button has-custom-width wp-block-button__width-50 is-style-outline is-style-outline--2\"><a class=\"wp-block-button__link has-black-color has-text-color has-background has-link-color has-medium-font-size has-custom-font-size wp-element-button\" href=\"https:\/\/aizoth.com\/en\/contact\/\" style=\"border-radius:100px;background-color:#ffe200\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Contact Us<\/strong><\/a><\/div>\n<\/div>\n\n\n\n<p class=\"has-text-align-center has-large-font-size wp-block-paragraph\"><\/p>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-fe48e5de wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button has-custom-width wp-block-button__width-50 is-style-outline is-style-outline--3\"><a class=\"wp-block-button__link has-black-color has-text-color has-background has-link-color has-medium-font-size has-custom-font-size wp-element-button\" href=\"https:\/\/aizoth.com\/en\/freetrial\/\" style=\"border-radius:100px;background-color:#ffe200\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Free Trial<\/strong><\/a><\/div>\n<\/div>\n\n\n\n<p class=\"has-text-align-center has-large-font-size wp-block-paragraph\"><\/p>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-fe48e5de wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button has-custom-width wp-block-button__width-50 is-style-outline is-style-outline--4\"><a class=\"wp-block-button__link has-black-color has-text-color has-background has-link-color has-medium-font-size has-custom-font-size wp-element-button\" href=\"https:\/\/aizoth.com\/en\/collaborative_research\/\" style=\"border-radius:100px;background-color:#ffe200\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Joint Research<\/strong><\/a><\/div>\n<\/div>\n\n\n\n<p class=\"has-text-align-center has-large-font-size wp-block-paragraph\"><\/p>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-fe48e5de wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button has-custom-width wp-block-button__width-50 is-style-outline is-style-outline--5\"><a class=\"wp-block-button__link has-black-color has-text-color has-background has-link-color has-medium-font-size has-custom-font-size wp-element-button\" href=\"https:\/\/aizoth.com\/en\/consulting\/\" style=\"border-radius:100px;background-color:#ffe200\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Consulting<\/strong><\/a><\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"author":8,"featured_media":0,"menu_order":44,"template":"","meta":{"_acf_changed":false,"_locale":"en_US","_original_post":"","footnotes":""},"use_case_category":[],"class_list":["post-6245","use_case","type-use_case","status-publish","hentry","en-US"],"acf":[],"_links":{"self":[{"href":"https:\/\/aizoth.com\/?rest_route=\/wp\/v2\/use_case\/6245","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aizoth.com\/?rest_route=\/wp\/v2\/use_case"}],"about":[{"href":"https:\/\/aizoth.com\/?rest_route=\/wp\/v2\/types\/use_case"}],"author":[{"embeddable":true,"href":"https:\/\/aizoth.com\/?rest_route=\/wp\/v2\/users\/8"}],"version-history":[{"count":7,"href":"https:\/\/aizoth.com\/?rest_route=\/wp\/v2\/use_case\/6245\/revisions"}],"predecessor-version":[{"id":8701,"href":"https:\/\/aizoth.com\/?rest_route=\/wp\/v2\/use_case\/6245\/revisions\/8701"}],"wp:attachment":[{"href":"https:\/\/aizoth.com\/?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6245"}],"wp:term":[{"taxonomy":"use_case_category","embeddable":true,"href":"https:\/\/aizoth.com\/?rest_route=%2Fwp%2Fv2%2Fuse_case_category&post=6245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}