7th August 2002

Wednesday

 
ME 403: Production Planning and Control

 

2nd Lecture on Forecasting

 

Authors: Anish Gupta and Gunaranjan Chaudhry

 

 

 

Exponential Smoothing Methods

 

 

 

 

 

 

 

 

 

 

 


If the data to be forecasted follows the line shown above, then we postulate that

Dt = mo + at + et

Where mo = Constant,

            et  = Noise (Not in our control) – we cannot predict it.

            a = Slope of the line

t = Best guess of the expected demand at the time instant t (i.e. for the time instant t)

Tt = Best guess of the expected increment at the time instant t.

 

The forecast for the time interval (t+1) made at time t is given as:

Ft, t + 1 = S­t + Tt

Similarly, the forecast (made at time t) for m time periods ahead is given as:

Ft, t + m = S­t + mTt       

 

The closer the forecast in terms of time, the more accurate it is. This is because the values of St and Tt  are updated according to the observed demand.

 

St and Tt are updated as follows:

 

t + 1 = Best guess at the time instant t + 1 (i.e. for the time instant t + 1)

St + 1 = aDt + 1 + (1 - a)(St + Tt)                      Dt  + 1 = Actual demand (observed) at t + 1

        = St + Tt + a  (Dt + 1 – St – Tt)

 

The updated value of St+1 is obtained by giving some weight to the observed demand (Dt+1) and some weight to the previous value.

 

The value of Tt+1 is updated in a similar manner:

Tt + 1 = b(St + 1 – St) + (1 - b)Tt

 

The updated value of Tt+1 is obtained by giving some weight to the observed trend (i.e. St+1 – St) and some weight to the previous best guess of the trend (Tt).

 

Finally, the new forecast can be calculated as follows:

Ft + 2 = St + 1 + Tt + 1

 

This model is known as the Additive Trend Model. It involves estimating the values of a and b.

If the noise is large, a and b are kept small because we want to give less weight to the observed values (which contain a significant random component). If the noise is small, i.e. the random component is small, a and b are made large so that greater weight is given to the observed values.

 

 

·

 

·

 

·

 
If the demand is such that it involves a strong seasonal component (e.g. for variations as shown below), the model used is the Ratio Seasonality Method.

 

 

 

 

 

 

 


In this case, we assume that the demand follows some underlying mean and some noise. We postulate that

 Dt. = dt m + et

Where dt = Expected demand in month t

                   Overall expected demand

m = Constant,

            et  = Noise (Not in our control) – we cannot predict it.

Hence, in this case, we will have best guess of dt and m and add noise to Dt.

 

In this model, we incorporate seasonal factors.

I1, I2, - - - - - - - - - - - - - - I­L are tthe seasonal factors.

L is the periodicity of the demand. For example, if we study the monthly demand of a commodity, L will be equal to 12.

 

In this model, at any time t, we have a best guess for St and for each of the seasonal factors. The demand Dt for the current period is observed and an update is performed as follows:

St  = a (Dt / It – L) + (1 - a) St – 1

As before, the best estimate of demand St is calculated by giving some weight to the observed demand during this period (Dt) and the previous best estimate (St-1). However, D­t contains a seasonal component and cannot be directly used for calculating St. It must first be “deseasonalised”, i.e., rid of its seasonal component. This must be done because the seasonal factor for the next period is not the same as the seasonal factor for the current period.

Dt is deseasonalised by diving it by It-L, which is the seasonal factor for the current period (note that the seasonal factor for the period t-L is the same as the seasonal factor for the period t).

 

The seasonal factor must itself be updated for use L periods from now.

It = g  (Dt / St) + (1 -g) It – L

This is updated by giving some weight to It-L and some weight to the observed seasonal factor for the current period (demand/base value).

 

The forecast for the next period can finally be calculated as follows:

Ft = St – 1 ´ It - L

The base value is multiplied by the seasonal factor of the period for which the forecast is to be made.

The forecast for the demand m periods in advance is given by:

Ft + m = St  ´ It – L + m

(It+m–L   is the seasonal factor for the period t+m)

 

 

Additive Trend and Ratio Seasonality Model                           

 

This model is used to forecast for a variation which has a trend as well as a seasonal component.

 

 

 

 

 


                                                                 t

 

The equations used to update this model are basically a combination of the equations used in the earlier two models.

 

St is updated as follows:

St  + 1 = a (Dt + 1 / It – L + 1) + (1 - a) [St  + Tt]

Weight is given to the observed demand for the current period (Dt+1, which has been adjusted for seasonality by dividing it by It-L+1) and to the best estimate of the base value for the current month (St + Tt)

 

Tt is updated as follows:

Tt  + 1 = b(St + 1 – St) + (1 - b) Tt

This is the same equation as was used in the additive trend model.

The seasonal factor It+1 is updated as follows:

It + 1 = g(Dt + 1 / St ) + (1 - g)It – L +1.

This is the same equation as was used in the seasonality of the model

 

Finally the forecast for the next period is calculated as:

Ft + 1 = [St  + Tt] ´ It – L +1

The forecast is determined by multiplying the sum of the best estimate for demand and the current best estimate for trend with the seasonal factor for the next period.

 

The forecast for m periods ahead can be made as:

Ft + m = [St  + mTt] ´ It – L + m

 

The process is continued by observing the demand and updating the best estimate for demand (St), the best estimate for trend (Tt) and the appropriate seasonal factor.

Observe Dt  + 1 and update St and Tt

 

We can carry this process forward if we have an initial starting value. We need starting values for 2+L parameters (St, Tt and L seasonal factors).

Hosted by www.Geocities.ws

1