This article discusses the sales forecast methods, autocorrelations, and regression analysis in time series and forecasting. The data on average monthly rainfall in Malaysia for the 9-year period from 2007 to 2015 has been collected for this study. The analysis has been conducted using the statistical software SPSS version 20.
Contribute Materials
Your contribution can guide someone’s learning journey. Share your
documents today.
Running Head: TIME SERIES AND FORECASTING Time Series and Forecasting Name of the Student Name of the University Author Note
Secure Best Marks with AI Grader
Need help grading? Try our AI Grader for instant feedback on your assignments.
2TIME SERIES AND FORECASTING 1.0 Introduction For the purpose of this project time series data has been collected from world bank. The data on average monthly rainfall in Malaysia for the 9-year period from 2007 to 2015 has been collected for this study. A total of 108 data points are available for the analysis. The analysis has been conducted using the statistical software SPSS version 20. The original time series is plotted in figure 1. From the figure, it can be seen clearly that the average monthly rainfall follows a seasonal fluctuation every year. By seasonal fluctuations it is meant that there is a periodic movement in a time series where the period is not longer than 1 year. A periodic movement in time series is one which recurs or repeats at regular intervals of time (or periods) (Montgomery, Jennings and Kulahci 2015).
3TIME SERIES AND FORECASTING 2.0 Sales Forecast Methods 2.1 Simple Exponential Smoothing Method C.C. Holt first suggested this this method of forecasting in 1958. This method is usually used to forecast values which do not have any systematic trend and follows non- seasonal time series data. In reality, the data that are obtained do not usually follow any seasonal pattern. The non-seasonal effects are measurable and can be removed and thus, the developed and revised model will be stationary. In exponential smoothing technique of forecasting, data which is older is given lesser priority and the data which are new are given more priority. This method is also known as averaging and is used to forecast values for a shorter term (Ramtirthkar et al. 2016). The forecast using the simple exponential smoothing method for the year 2016 is given in table 2.1. Table 2.1: Forecast Exponential Smoothing ModelJan 2016 Feb 2016 Mar 2016 Apr 2016 May 2016 Jun 2016 Jul 2016 Aug 2016 Sep 2016 Oct 2016 Nov 2016 Dec 2016 Rainfall (in mm)- Model_ 1 Foreca st 255.5 8 255.5 8 255.5 8 255.5 8 255.5 8 255.5 8 255.5 8 255.5 8 255.5 8 255.5 8 255.5 8 255.5 8 UCL429.4 6 429.5 5 429.6 4 429.7 3 429.8 2 429.9 1 430.0 0 430.0 9 430.1 8 430.2 7 430.3 6 430.4 5 LCL81.7081.6181.5281.4381.3481.2581.1681.0780.9880.8980.8080.71
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
4TIME SERIES AND FORECASTING Figure 2.1: Observed and fitted values using Exponential Smoothing 2.2 Holt’s Method This method is an extension of the simple exponential smoothing method and has been developed by Holt in 1957. Hence the name. This method allows the forecasting data along with a trend. Thus, there are more than one equations involved in this type of forecasting. One of them is the forecasting equation and two others are smoothing equations (Box et al. 2015). The forecast using the Holt’s method for the year 2016 is given in table 2.2. Table 2.2: Forecast Holt’s Method ModelJan 2016 Feb 2016 Mar 2016 Apr 2016 May 2016 Jun 2016 Jul 2016 Aug 2016 Sep 2016 Oct 2016 Nov 2016 Dec 2016 Rainfall (in mm)- Model_ 1 Foreca st 237.2 7 236.6 9 236.1 1 235.5 2 234.9 4 234.3 6 233.7 8 233.2 0 232.6 1 232.0 3 231.4 5 230.8 7 UCL412.7 7 412.7 5 412.7 3 412.7 0 412.6 8 412.6 5 412.6 2 412.5 9 412.5 6 412.5 3 412.5 0 412.4 6 LCL61.7760.6359.4958.3557.2156.0754.9353.8052.6751.5450.4149.28
5TIME SERIES AND FORECASTING Figure 2.2: Observed and fitted values using Holt’s Method 2.3 Winter’s Method The holt’s method of forecasting was extended by Winters in 1960 to capture the seasonality in the forecast. Thus, in this case, along with the three equations that explains the forecasting and the smoothing, another extra smoothing equation has been introduced. This method has two types of variations. The additive method is used when there are roughly constant seasonal variations. The multiplicative model is useful when the changes in the seasonal variations are proportional to the level of the series. The seasonal component is supposed to add up to be zero within a year (Brockwell and Davis 2016). The forecast using the Winter’s method for the year 2016 is given in table 2.3. Table 2.3: Forecast Winter’s Method ModelJan 2016 Feb 2016 Mar 2016 Apr 2016 May 2016 Jun 2016 Jul 2016 Aug 2016 Sep 2016 Oct 2016 Nov 2016 Dec 2016 Rainfall (in mm)- Model_ 1 Foreca st 305.7 1 182.6 8 200.8 7 196.8 7 207.9 8 150.3 9 157.4 3 203.5 9 175.1 0 248.0 5 304.6 6 343.3 5 UCL428.2 4 305.7 5 324.4 7 321.0 0 332.6 3 275.5 7 283.1 3 329.8 1 301.8 4 375.3 0 432.4 4 471.6 4 LCL183.1 859.6277.2872.7583.3325.2231.7377.3648.35120.7 9 176.8 9 215.0 7
6TIME SERIES AND FORECASTING Figure 2.3: Observed and fitted values using Winter’s Method It can be easily observed from the three different types of forecasting methods that the Winter’s method of forecasting shows the most accurate forecast as the value of r square is the highest in this method as can be seen from table 2.6. This indicates that the developed Winter’s model will explain the variability in the trend by 74.3 percent. This also indicates that the error is minimum in this model. Table 2.4: Model Statistics Exponential Smoothing ModelNumber of Predictors Model Fit statistics Ljung-Box Q(18)Number of Outliers Stationary R- squared StatisticsDFSig. Rainfall (in mm)-Model_10.158108.07317.0000 Table 2.5: Model Statistics Holt’s Method ModelNumber of Predictors Model Fit statistics Ljung-Box Q(18)Number of Outliers Stationary R- squared StatisticsDFSig. Rainfall (in mm)-Model_10.669112.89016.0000
Secure Best Marks with AI Grader
Need help grading? Try our AI Grader for instant feedback on your assignments.
7TIME SERIES AND FORECASTING Table 2.6: Model Statistics Winter’s Method ModelNumber of Predictors Model Fit statistics Ljung-Box Q(18)Number of Outliers Stationary R- squared StatisticsDFSig. Rainfall (in mm)-Model_10.74323.60215.0720 3.0 Autocorrelations It can be seen from the developed ACF that there are spikes at lags 1, 5, 6, 11, 12 and 13.Allthelagsaresignificant.Thus,itcanbesaidthatthereisnoexistenceof autocorrelation in the model developed. The ACF measures are given in table 3.1. The values also sum up to be zero. Table 3.1: Autocorrelations Series: Predicted value from Rainfall-Model_1 LagAutocorrelationStd. ErroraBox-Ljung Statistic ValuedfSig.b 1.650.09051.9551.000 2.265.09060.6912.000 3-.024.08960.7623.000 4-.168.08964.3304.000 5-.282.08974.4185.000 6-.432.08898.3576.000 7-.273.088108.0477.000 8-.207.087113.6358.000 9-.070.087114.2779.000 10.198.087119.48310.000 11.563.086161.99911.000 12.839.086257.39012.000 13.526.085295.31113.000 14.191.085300.32814.000 15-.065.085300.91615.000 16-.193.084306.15616.000 a. The underlying process assumed is independence (white noise). b. Based on the asymptotic chi-square approximation.
8TIME SERIES AND FORECASTING Figure 3.1: Graph showing the ACF The partial autocorrelation shows the correlation between any two of the lags (Granger and Newbold 2014). It can be seen from the results that the partial autocorrelation at each of the lags are quite high, it is positive at some lags and negative at some other lags. The partial correlations sum up to be zero. Table 3.2: Partial Autocorrelations Series: Predicted value from Rainfall-Model_1 LagPartial AutocorrelationStd. Error 1.650.091 2-.272.091 3-.124.091 4-.045.091 5-.192.091 6-.300.091 7.326.091 8-.385.091 9.201.091 10.470.091
9TIME SERIES AND FORECASTING 11.391.091 12.399.091 13-.470.091 14-.122.091 15.106.091 16-.059.091 Figure 3.2: Graph showing the PACF 4.0 Regression Analysis A regression model has been developed for the forecasting purpose. Regression has been performed on the Winter’s model as that model is the best fitted model. From the results of the regression, it can be seen that the R Square value is 0.053, which indicates that the seasonal dummies can represent only 5.3 percent of the variations in the rainfall measures. It can also be said from the coefficients that with the increase in the years and months, the average monthly rainfall decreases by 0.474. Table 4.1: Model Summary
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
10TIME SERIES AND FORECASTING ModelRR SquareAdjusted R SquareStd. Error of the Estimate 1.230a.053.04462.93165 a. Predictors: (Constant), Seasonal_Dummy Table 4.2: ANOVAa ModelSum of SquaresdfMean SquareFSig. 1 Regression23551.351123551.3515.947.016b Residual419801.5951063960.392 Total443352.946107 a. Dependent Variable: Predicted value from Rainfall-Model_1 b. Predictors: (Constant), Seasonal_Dummy Table 4.3: Coefficientsa ModelUnstandardized CoefficientsStandardized Coefficients tSig. BStd. ErrorBeta 1(Constant)297.60512.19624.402.000 Seasonal_Dummy-.474.194-.230-2.439.016 a. Dependent Variable: Predicted value from Rainfall-Model_1 5.0 Conclusions Analysis has been done in this project on the monthly rainfall of Malaysia. The methods of prediction that has been used here are Exponential Smoothing, Holt’s Method and Winter’s Method. It has been observed from the analysis that the Winter’s Method has been the most appropriate method of prediction as the error in variation has been the minimum in this model fit. On prediction with the help of this model, it has been seen that the error in prediction is high and the average monthly rainfall decreases with time.
11TIME SERIES AND FORECASTING References Box, G.E., Jenkins, G.M., Reinsel, G.C. and Ljung, G.M., 2015.Time series analysis: forecasting and control. John Wiley & Sons. Brockwell, P.J. and Davis, R.A., 2016.Introduction to time series and forecasting. springer. Granger, C.W.J. and Newbold, P., 2014.Forecasting economic time series. Academic Press. Montgomery, D.C., Jennings, C.L. and Kulahci, M., 2015.Introduction to time series analysis and forecasting. John Wiley & Sons. Ramtirthkar, M., Gupta, A., Sonawane, R. and Kolhatkar, A., 2016. Forecasting yield of coarse cereals in India using ARIMA model.AgricINTERNATIONAL,3(1), pp.117-127.