This document discusses the forecasting of volume of beer in New Zealand using exponential smoothing, stationarity analysis, and ARIMA model. It includes insights on the best forecasting method and provides forecasted values. The document also covers topics such as trend, seasonality, and model diagnostics.
Contribute Materials
Your contribution can guide someone’s learning journey. Share your
documents today.
Running head: FORECASTING VOLUME OF BEER IN NEW ZEALAND1 Forecasting Volume of Beer in New Zealand Name Institution
Secure Best Marks with AI Grader
Need help grading? Try our AI Grader for instant feedback on your assignments.
FORECASTING VOLUME OF BEER IN NEW ZEALAND2 Forecasting Volume of Beer in New Zealand Question 1: Exponential Smoothing (ETS) (a)Figure 1 shows the time plot of the total beer available (million litres) in New Zealand between the first quarter of 2010 to last quarter of 2018. The plot shows that the series is stationary in trend since there is no observable trend in the plot. However, seasonality is present since the volume of beer available for consumption decrease in the second and third quarter but rises to a peak value in the last quarter. The change in volume is observed consistently over time. (b)The figures 2, 3 and 4 shows the plots for the forecast (1)Simple Exponetial Smoothing forecast
FORECASTING VOLUME OF BEER IN NEW ZEALAND3 (2)Holt Linear Trend plot
FORECASTING VOLUME OF BEER IN NEW ZEALAND4 (3)Holt’s Damped Plot The plots does not provide a distinct seasonality observed in the series. There forecasted values appear to be constant over the period (Angadi & Kulkarni, 2015). Therefore, these method of forecasting does not fit the data appropriately. (c)The figure 5 shows the plot of Holt-Winter’ seasonal methods
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
FORECASTING VOLUME OF BEER IN NEW ZEALAND5 The multicative seasonality is necessary since it replicate the actual series more closelyy than additive seasonality method. (d)The table 1 shows the estimated MSE and MAE. Table 1: MSE and MAE for the models ModelMSEMAE Exponetial SmoothingNANA Holt’s linear trend0.40480.2255 Holt’s dampedtrend0.40020.2267 One-step-ahead0.10110.0212 Four-step-ahead0.10110.0212 Source: author (2019) The one-step-ahead forecast appear to forecast the data more accurate since it has the samllest MAE and MSE. The selection does not depend on the number of pre- specified (steps-ahead) forecast since both one-step and four-step have the same MSE and MAE. Question 2: Stationarity (a)The figure 6 shows the ACF and PACF plot of the data
FORECASTING VOLUME OF BEER IN NEW ZEALAND6 The ACF shows a slowlyy decaying insignificnat values an indication that the series is non-stationanry. Further, the value of the lags at the fourth, eighth, and twelveth lags are large and positive an indication of seasonality with a period of four. Also, there are large negative values at the second, sixth, tenth, and fourteenth lags indicating that the series is cyclical. The seasonality is further, confirmed by the PACF which shows large values for the first four lags while the rest are not different from zero. The results conform with those in question 1 (a). The series does not have trend but is having seasonality and cyclic behaviour therefore, differencing is appropriate to make the series stationary. (b)The figure 7 shows plot of the Box-Cox transformed data.
FORECASTING VOLUME OF BEER IN NEW ZEALAND7 The plot does not show any change in the series therefore, Box-Cox transformation does help in making the series stationary. The Aurgmented dickey fuller tests shows that the tranformed series is not stationary since the p-value for the ADF test is 0.6645 which is larger than 0.05. The figure 8 shows the plot of the 1stdiffrenced series. The first difference makes the series stationary as shown in figure 8. The ADF test on the differenced series shows that the differenced series is stationary p-value = 0.01 whish is less than 0.05. Therefore, the transformation needed for this series is differencing of order 1.
Secure Best Marks with AI Grader
Need help grading? Try our AI Grader for instant feedback on your assignments.
FORECASTING VOLUME OF BEER IN NEW ZEALAND8 Question 3: ARIMA model (a)First differencing makes the series stationary thus d = 1, for p and q we examine the acf and pacf plot of the differenced series. Figure 9 shows the ACF and PACF plot of the differenced series. The acf decays exponential an indication that the series is an autoregressive series. The order of the AR is determined by the PACF (Shumway & Stoffer, 2017). Figure 9 (b) shows that the PACF cuts off at lag 4 and confirming that the series is an AR(4). Therefore, the approriate ARIMA with p = 4, d = 1, and q = 0. That is ARIMA(4, 1, 0). (b)Constant term should not be included in the model since d = 1 >0. (c)The proposed model is of the form: ∑ i=0 4 αiBi(1−B)Xt=εt Where;α0=1, B- backshift operator, Xt– series (volume of beer availablein litres), andεt– white noise. (d)Table 2 shows the estimates of the model
FORECASTING VOLUME OF BEER IN NEW ZEALAND9 Table 2: Results of the ARIMA(4,1,0) model Statisticar1(α1)ar2(α2)ar3(α3)ar4(α4) Coefficient-1.1191-0.8658-0.4751-0.4208 Std. Error0.22820.35480.34190.2266 Sigma2 Log likelihood AIC 0.03101 5.8200 -1.6400 Source: author (2019) The estimated model is of the form: Xt=−1.1191Xt−1−0.8658Xt−2−0.4751Xt−3−0.4208Xt−4(1) The figure 10 shows the plot of the residual diagnostics. The plots help in verifying the following assumptions: (1) Constant variance (homoskedasticity), (2) normality of the residuals, (3) independence of residuals, and (4) autocoreelations (Chatfield, 2016).
FORECASTING VOLUME OF BEER IN NEW ZEALAND10 From (a), the plot of residuals are not showning any outright pattern and they are close to the zero line and indication that the variances are constant. The assumption of constant variance is valid. Next, plot (b) shows that majority of the points lie on or close to the straight red line implying the residuals are assumed to be normally distributed. The plot (c) reemphasize the normality the residuals. Plot (d) shows that acf of the lags greater or equal to 1 are all not significantly different from zero implying the assumption of independence of residuals and autocorrelation is valid. The four assumptiosn are met therefore, the model fits the data adequately and can be used for forecasting. (e)The forcast values are shown in table 3. Table 3: Forecast values for model TimeForecastLower 80%CI Upper 80%CI Lower 95%CI Upper 95%CI 2019 Q13.19162.96593.41732.84653.5367 2019 Q23.24043.01313.46782.89283.5880 2019 Q33.38483.14973.62003.02523.7444 2019 Q43.12632.87973.37292.74923.5034 Source: author (2019) (f)The figure 11 shows the plots of the forecast and actual values
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
FORECASTING VOLUME OF BEER IN NEW ZEALAND11 (g)The autoarima model output is presetented in the screenshot below The fitted model does not have any MA or AR component hence to approriate for this data. Therefore, the ARIMA(4, 1, 0) is the most appropriate model for the data. (h)ARIMA is best sinec the forecasts are not constant but are having a similar trend as the original series.
FORECASTING VOLUME OF BEER IN NEW ZEALAND12 References Angadi, M. C., & Kulkarni, A. P. (2015). Time Series Data Analysis for Stock Market Prediction using Data Mining Techniques with R.International Journal of Advanced Research in Computer Science,6(6). Chatfield, C. (2016).The analysis of time series: an introduction. Chapman and Hall/CRC. Shumway, R. H., & Stoffer, D. S. (2017).Time series analysis and its applications: with R examples. Springer.