Forecasting - CocaColaSales
Forecasting - CocaColaSales
FORECASTING ANALYTICS 1
CBA - B8
Individual Project
Forecasting Analytics 1 : ICE No 3 – June 14, 2017
8) Multiplicative model for Coca Cola sales. (MODEL 4) Consider the residuals.
Use XLMiner: Time Series > and compute/plot the ACF on the Residuals. Comment on the lags (are they significant)?
Solution :
Excel Coca Cola Sales Exponential Trend Seasonal Model.xlsx
From XL Miner created the Data Partition on the Time series and ran the Prediction as below:
Data partition Prediction setup
From sheet : MLR_TrainingScore Select the Residual data XL Miner ARIMA Autocorrelations
For 4 lags For 12 lags
Here we see that none of the lags are touching / crossing the UCI or LCI bounds. Hence, they are not significant.
9) Run a AR(2) model using the ARIMA (p=2, d=0, q=0) procedure on the residuals R1, R2,….R38 from MODEL 4
a. Is any autocorrelation left? Answer by computing the autocorrelation of error-of-errors. (Run ACF on error of
errors).
Solution:
Run the ARIMA 2 model for getting the error residuals and forecast errors
ARIMA Model
Forecast
Quarter t Forecast
Q3_95 Forecast 1 0.045363259
Q4_95 Forecast 2 0.028478568
Q1_96 Forecast 3 0.017548458
Q2_96 Forecast 4 0.010763524
Now going to Arima_Residuals sheet and run ACF again to see autocorrelation in the error of errors
For 4 lags For 12 lags
ACF Values
Lags ACF
0 1
1 0.012059 ACF Plot for Residuals
2 0.019808 0 2 4 6
3 -0.06917 1 0.4
4 -0.11583 ACF
0.5 0.2
ACF
0 0 UCI
-0.5 0 1 2 3 4 -0.2
LCI
-1 -0.4
Lags
ACF Values
Lags ACF
0 1
1 0.012059 ACF Plot for Residuals
2 0.019808
0 5 10 15
3 -0.06917
1 0.4
4 -0.11583 ACF
0.5 0.2
5 0.120418
ACF
0 0 UCI
6 0.056933
-0.5 0 1 2 3 4 5 6 7 8 9 10 11 12 -0.2 LCI
7 0.025883
8 -0.10121 -1 -0.4
Lags
9 0.048069
10 0.01703
11 -0.08724
12 -0.20016
Solution:
From Arima_Output sheet we see the forecast error corrections as below:
Forecast
Quarter t Forecast
Q3_95 Forecast 1 0.045363
Q4_95 Forecast 2 0.028479
Q1_96 Forecast 3 0.017548
Q2_96 Forecast 4 0.010764