Professional Documents
Culture Documents
Learning Objectives
Friends, you would recall that in the last lecture we learnt about :
The importance of forecasting,
Different qualitative methods of forecasting and
Started with quantitative approach of forecasting.
Hope you are enjoying it and excited to know more about it. Today we will
start with weighted moving average.
3 Last month
2 Two months ago
1 Three months ago
6 Sum of weights
In this particular forecasting situation, you can see that weighting the latest
month more heavily provides a much more accurate projection.
Both simple and weighted moving averages are effective in smoothing out
sudden fluctuations in the demand pattern in order to provide stable
estimates. Moving averages do, however, have three problems.
First, increasing the size of n (the number of periods averaged) does
smooth out fluctuations better, but it makes the method less sensitive
to real changes in the data.
Second, moving averages cannot pick up trends very well. Since they
are averages, they will always stay within past levels and will not
predict a change to either a higher or lower level.
Finally, moving averages require extensive records of past data.
Month: 1 2 3 4 5 6 7 8 9 10 11
Demand: 220 228 217 219 258 241 239 244 256
260 265
Exercise 2.
For the following data, develop a three – month moving average forecast
Month: Jan Feb Mar Apr May Jun Jul Aug Sep Oct
Nov Dec
Auto Battery 20 21 15 14 13 16 17 18 20 20
21 23
Sales
Exponential Smoothing
A new forecast is based on the forecast of the previous period. The
following relationship exists between the two:
New forecast = Last period’s forecast + α (Last period’s actual demand –
last period’s
forecast)
The smoothing constant, α, is generally in the range from .05 to .50 for
business applications. It can be changed to give more weight to recent data
(when C is high) or more weight to past data (when α is low). When α
reaches the extreme of 1.0, then Ft = 1.0 At-1. All the older values drop out,
and the forecast becomes identical to the naïve model mentioned. That is,
the forecast for the next period is just the same as the period’s demand.
Let me clarify the issue by taking up an example.
As an illustration of the exponential smoothing model, let us consider the 12
weeks data on number of gallons of gas sold by Indraprastha Gas Limited at
Nehru Place. With no forecast available for period 1 we begin our
calculations by letting F1 equal the actual value of the time series in period 1.
That is, with Y1 = 17, we will assume F1 = 17 simply to get the exponential
smoothing computations started. The following table shows the detailed
calculations for α = .2 and α = .5:
We will now discuss the last time series forecasting method, which is
Trend Projections. This technique fits a trend line to a series of historical
data points and then projects the line into the future for medium - to long –
range forecasts. Several mathematical trend equations can be developed (for
example, exponential and quadratic), but in this class we will discuss a linear
(straight line) trends only.
Linear trend line can be fitted by the method of least square method. This
approach results in a straight line that minimizes the sum of the squares of
the vertical differences from the line to each of the actual observations. The
figure 3.1 illustrates the least squares approach.
Figure 3.1The least squares method for finding the best-fitting line
where
^
y = Computed value of the variable to be predicted (called the dependent
variable)
a = y – axis intercept
b = slope of the regression line
x = independent variable (which is time here)
Example
The demand for electrical power at Delhi over the period 1990 – 1996 is
shown below, in megawatts. Let us fit a straight – line trend to these data
and forecast 1997 demand
−
x=
∑ x = 28 = 4 , y = = 692/7 = 98.86
n 7
b= ∑ xy − n xy = 295/ 28 = 10.54
−
∑x 2
− n x2
− −
a = y - b x = 98.86 – 10.54(4) = 56.7
Example
Monthly sales of IBM notebook computers at Bangalore are shown below
for 1999-2000
Using these seasonal indices, if we expected the 2001 annual demand for
computers to be 1200 units, we would forecast the monthly demand as
follows:
Now we will consider another example to show how indices that have
already been prepared can be applied to adjust trend line forecasts.
Example
The president of Jack and Jill Chocolate Shop has used time series
regression to forecast retail sales for the next four quarters. The sales
estimates are Rs1,00,000, Rs1,20,000, Rs1,40,000, and Rs1,60,000 for the
respective quarters. Seasonal indices for the four quarters have been found to
be 1.30, .90, .70, and 1.15, respectively. To compute a seasonalized or
adjusted sales forecast, we just multiply each seasonal index by the
appropriate trend forecast:
Yseasonal = Index x Ytrends forecast
Thus for
Quarter I: Y1 = (1.30)(Rs1,00,000) = Rs1,30,000
Quarter II: YII = (.90)(Rs1,20,000) = Rs1,08,000
Quarter III: YIII = (.70)(Rs1,40,000) = Rs98,000
Quarter IV: YIV = (1.15)(Rs1,60,000) = Rs1,84,000