Skip to content

Commit 2be7f66

Browse files
committed
toc
1 parent 0694085 commit 2be7f66

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

docs/_analysis/Analysis-3.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ author_profile: true
77
toc: true
88
toc_label: "Table of Contents"
99
toc_icon: "file"
10-
toc_sticky: "true"
10+
toc_sticky: false
1111
order: 3
12-
classes: wide
12+
#classes: wide
1313
---
1414

1515
Date Posted: 2025-04-22
@@ -20,8 +20,7 @@ In this page I practice forecasting, feature engineering, and using various regr
2020

2121
# Store Sales Forecasting
2222

23-
This project uses the [Store Sales Dataset](https://www.kaggle.com/competitions/store-sales-time-series-forecasting).
24-
from Kaggle. The goal of this project is to optimize inventory for the store Favorita in Ecuador. The desired outcomes are to:
23+
This project uses the [Store Sales Dataset](https://www.kaggle.com/competitions/store-sales-time-series-forecasting) from Kaggle. The goal of this project is to optimize inventory for the store Favorita in Ecuador. The desired outcomes are to:
2524

2625
1. Reduce Waste (By reducing wasted inventory)
2726
2. Improving customer satisfaction by ensuring inventory is always adequate
@@ -53,19 +52,19 @@ We will use the SARIMAX model for time series forecasting. We expect strong week
5352

5453
### Model Building
5554

56-
As we are using an ARIMA model, we check for stationarity with ADF.
55+
As we are using an ARIMA model, we check for stationarity with Augmented Dickey-Fuller (ADF) test.
5756

5857
![image3](/assets/images/forecasting/one_3.png)
5958

6059
Both datasets were within the acceptable range to be stationary.
6160

6261
We then plotted the auto-correlation (ACF) and partial auto-correlation (PACF) plots to investigate the AR & MA.
6362

64-
Initial inspection of the ACF and PACF plots revealed that although data was stationary, it was not seasonally stationary. With spikes at 7, 14, 21... , we can clearly see strong weekly seasonality as expected.
63+
Initial inspection of the ACF and PACF plots revealed that although data was stationary according to the ADF test, it was not seasonally stationary. With spikes at 7, 14, 21... , we can clearly see strong weekly seasonality as expected. The following are the ACF and PACF plots after differencing for the weekly seasonality.
6564

6665
![image4](/assets/images/forecasting/one_4.png)
6766

68-
67+
We use these plots to identify candidates orders for the p & q components of the ARIMA model. For example, since information drops off after lags 1 & 2, we do a grid search with range 0-2 for both p & q.
6968

7069
{% highlight ruby %}
7170
{% endhighlight %}
77 KB
Loading

0 commit comments

Comments
 (0)