Forecasting Methods
Forecasting Methods
Forecasting Methods
Forecasting Methods
Quantitative
Qualitative
Causal
Smoothing
Trend Projection
Quantitative methods are based on an analysis of historical data concerning one or more time series.
A time series is a set of observations measured at successive points in time or over successive periods of time.
If the historical data used are restricted to past values of the series that we are trying to forecast, the procedure is called a time series method. If the historical data used involve other time series that are believed to be related to the time series that we are trying to forecast, the procedure is called a causal method.
Time Series Methods Three time series methods are: Smoothing trend projection trend projection adjusted for seasonal influence
The pattern or behavior of the data in a time series has several components. The four components we will study are:
Trend
Cyclical
Seasonal
Irregular
Cyclical Component
Any regular pattern of sequences of values above and below the trend line lasting more than one year can be attributed to the cyclical component. Usually, this component is due to multiyear cyclical movements in the economy.
The irregular component is caused by short-term, unanticipated and nonrecurring factors that affect the values of the time series. This component is the residual, or catchall, factor that accounts for unexpected data values. It is unpredictable.
Smoothing Methods
In cases in which the time series is fairly stable and has no significant trend, seasonal, or cyclical effects, one can use smoothing methods to average out the irregular component of the time series. Three common smoothing methods are:
Moving Averages Weighted Moving Averages Exponential Smoothing
Smoothing Methods
Moving Averages
The moving averages method consists of computing an average of the most recent n data values for the series and using this average for forecasting the value of the time series for the next period.
Moving Average =
Moving Averages
Example: Rosco Drugs
Sales of Comfort brand headache medicine for the past ten weeks at Rosco Drugs are shown on the next slide. If Rosco Drugs uses a 3 - period moving average to forecast sales, what is the forecast for Week 11?
Moving Averages
Week 1 2 3 4 5 6 7 8 9 10 11 Sales 110 115 125 120 125 120 130 115 110 130 3MA Forecast (110 + 115 + 125)/3 116.7 120.0 123.3 121.7 125.0 121.7 118.3 118.3 116.7 120.0 123.3 121.7 125.0 121.7 118.3 118.3
The more recent observations are typically given more weight than older observations. For convenience, the weights usually sum to 1.
Exponential Smoothing
This method is a special case of a weighted moving averages method; select the weight for the most recent observation. The weights for the other data values are computed automatically and become smaller as the observations grow older The exponential smoothing forecast is a weighted average of all the observations in the time series.
Exponential Smoothing
To start the calculations, we let F1 = Y1
Ft+1 = Yt + (1 )Ft
where
Ft+1 = forecast of the time series for period t + 1 Yt = actual value of the time series in period t Ft = forecast of the time series for period t = smoothing constant (0 < < 1)
Exponential Smoothing
With some algebraic manipulation, rewrite Ft+1 = aYt + (1 a)Ft as:
= 0.1
Week 2 3 4 5 6 7 8 9 1 0
= 0.8
Ft (Yt - Ft)2 110.00 25.00 114.00 121.00 122.80 7.84 120.56 19.71 124.11 16.91 120.82 84.23 128.16 173.30 117.63 58.26 111.53 341.27 Sum 847.52 Sum/9 94.17
Yt
115 125 120 125 120 130 115 110 130 MSE
Ft 110.00 110.50 111.95 112.76 113.98 114.58 116.12 116.01 115.41 Sum Sum/9
(Yt - Ft)2 25.00 210.25 64.80 149.94 36.25 237.73 1.26 36.12 212.87 974.22 108.25
Trend Projection
If a time series exhibits a linear trend, the method of least squares may be used to determine a trend line (projection) for future forecasts. Least squares, also used in regression analysis, determines the unique trend line forecast which minimizes the mean square error between the trend line forecasts and the actual observed values for the time series.
The independent variable is the time period and the dependent variable is the actual observed value in the time series.
Trend Projection
Using the method of least squares, the formula for the trend projection is:
Tt = b0 + b1t
where: Tt = trend forecast for time period t b1 = slope of the trend line b0 = trend line projection for time 0
Trend Projection
Example: Augers Plumbing Service
The number of plumbing repair jobs performed by Auger's Plumbing Service in each of the last nine months is listed. Forecast the number of repair jobs Auger's will perform in December using the least squares method.
Jobs Month 353 August 387 September 342 October 374 November 396
Trend Projection
(Month) (Mar) (Apr) (May) (Jun) (Jul) (Aug) (Sep) (Oct) (Nov) Sum t 1 2 3 4 5 6 7 8 9 45 Yt 353 387 342 374 396 409 399 412 408 tYt 353 774 1026 1496 1980 2454 2793 3296 3672 t2 1 4 9 16 25 36 49 64 81 285
3480 17844
Trend Projection
t 45/9 5 Y 3480/9 386.667
b1 tY ( t Y )/ n (9)(17844) (45)(3480) 7.4 (9)(285) (45) t ( t ) / n
t t 2 2 2
Trend Projection
Example: Augers Plumbing Service
Forecast for December (Month 10) using a three-period (n = 3) weighted moving average with weights of 0.6, 0.3, and 0.1 for the newest to oldest data, respectively. Then, compare this Month 10 weighted moving average forecast with the Month 10 trend projection forecast.
Trend Projection
Three-Month Weighted Moving Average
The forecast for December will be the weighted average of the preceding three months: September, October, and November.
Trend Projection
F10 = 423.7 (from earlier slide)
Trend Projection
Conclusion
Due to the positive trend component in the time series, the trend projection produced a forecast that is more in tune with the trend that exists. The weighted moving average, even with heavy (0.6) weight placed on the current period, produced a forecast that is lagging behind the changing data.
2. Center the CMAs on integer-valued periods. 3. Determine the seasonal and irregular factors (StIt ). 4. Determine the average seasonal factors. 5. Scale the seasonal factors (St ). 6. Determine the deseasonalized data.
7. Determine a trend line of the deseasonalized data. 8. Determine the deseasonalized predictions. 9. Take into account the seasonality.
Year 1 2 3 4
Determine a forecast for the average weekly sales in year 5 for each of the three seasons.
For example:
1st CMA = (1856 + 2012 + 985)/3 = 1617.67 2nd CMA = (2012 + 985 + 1995)/3 = 1664.00 etc.
The first centered moving average computed in step 1 (1617.67) will be centered on season 2 of year 1. Note that the moving averages from step 1 center themselves on integer valued periods because n is an odd number.
3
4
1856 2012 985 1995 2168 1072 2241 2306 1105 2280 2408 1120
1617.67 1664.00 1716.00 1745.00 1827.00 1873.00 1884.00 1897.00 1931.00 1936.00
3
4
Season 1: 1.180/1.002 = 1.178 Season 2: 1.238/1.002 = 1.236 Season 3: 0.587/1.002 = 0.586 3.000
1
2 3 4
1 2 3 1 2 3 1 2 3 1 2 3
1856 2012 985 1995 2168 1072 2241 2306 1105 2280 2408 1120
1617.67 1664.00 1716.00 1745.00 1827.00 1873.00 1884.00 1897.00 1931.00 1936.00
1856 2012 985 1995 2168 1072 2241 2306 1105 2280 2408 1120
1617.67 1664.00 1716.00 1745.00 1827.00 1873.00 1884.00 1897.00 1931.00 1936.00
1.178 1.236 0.586 1.178 1.236 0.586 1.178 1.236 0.586 1.178 1.236 0.586
1576 1628 1681 1694 1754 1829 1902 1866 1886 1935 1948 1911
Tt = 1580.11 + 33.96t