Forecasting Methods
Forecasting Methods
Dr. T. T. Kachwala
Importance of Forecasting
1. Smoothing Methods
a) Moving Average
b) Weighted Moving Average
c) Exponential Smoothing
2. Trend Projection
3. Trend Projection Adjusted for Seasonal Influence
Smoothing Methods
The objective of smoothing method is to “smooth” out “the random
fluctuations” caused by the irregular component of the time series.
The popular smoothing methods are: moving average, weighted
moving average & exponential smoothing. These smoothing methods
are appropriate for a stable time series i.e. one that exhibits no
significant trend or seasonal effects. Many manufacturing
environments require forecast for thousands of items weekly or
monthly. Thus in choosing a forecasting technique simplicity & ease
of use are important criteria. Smoothing methods are easy to use &
generally provide high accuracy for short range forecast such as
forecast for the next time period.
Simple Average Method
1
f t 1 d t d t -1 d t -2 d t -3 .... n terms ...
n
1
f t 1 dt d t -1 d t -2
3
1
Sub t 3, f 4 d 3 d 2 d1
3
1
Sub t 4, f 5 d4 d3 d2
3
4 Period Moving Average
1
f t 1 dt d t -1 d t -2 d t -3
4
1
Sub t 4, f 5 d 4 d 3 d 2 d1
4
1
Sub t 5, f 6 d5 d4 d3 d2
4
Selecting the number of Periods in Moving Average Method
We want the forecast errors to be small. The MSE (Mean Squared Error) is an
often used measure of the accuracy of a forecasting method.
1 e2
MSE n t
For a particular time series, different lengths of moving averages, will affect
the accuracy of the forecast. One possible approach in moving average to
choosing the number of periods to be included, is to use trial & error to
identify the number of periods that minimizes MSE.
We must forecast the next value in the time series using the number of data
values that minimizes the MSE for the historical times series.
Weighted Moving Average Method
The only mandatory requirement in selecting the weights is that their sum
must be equal to 1. The two decisions we have to take while using
weighted moving average is to decide the number of periods & the value
of weights
3 Period Weighted Moving Average
f t 1 α 0 d t α 1 d t - 1 α 2 d t - 2 (Assuming 3 periods)
Sub t 3, f 4 α 0 d 3 α 1 d 2 α 2 d 1
Sub t 4, f 5 α 0 d 4 α 1 d 3 α 2 d 2
For a particular time series, different values of weight, will affect the
accuracy of the forecast. One possible approach is to use trial & error to
identify the values of weight that minimizes MSE.
Exponential Smoothing Method
Exponential smoothing is a special case of the weighted moving averages
method in which we select only one weight – the weight for the most recent
observation. The weights of the other data values are automatically computed
using geometric progression and get smaller & smaller as observations move
further into the past. The advantage of exponential smoothing over weighted
moving average is that we have to select only one value of in exponential
smoothing whereas in weighted average we select more than one value for
example 0, 1 and so on
f t 1 α d t (1 - α) f t
Substitute t = 2, f3 = d2 + (1 - ) f2
Substitute t = 3, f4 = d3 + (1 - ) f3
With the time series data & forecasting formulas in the spreadsheets,
one can experiment with different values of , or moving average
weights or number of periods & choose the values providing the
smallest MSE.
Using Trend Projection in Forecasting
Ŷt β̂1 β̂ 2 X t
β̂1 Y - β̂ 2 X
β̂ 2
xy ; where x X - X and y Y - Y
x 2
Using Trend and Seasonal Components in
Forecasting