Forecasting
Forecasting
Forecasting
(ME212)
Unit 4: FORECASTING
2
INTRODUCTION
______________________________________________________________
4
FORECASTING AND PREDICTION
______________________________________________________________
5
NEED FOR DEMAND FORECASTING
______________________________________________________________
7
CLASSIFICATION OF FORECASTING METHODS
______________________________________________________________
Qualitative
1. Judgemental techniques: Method which relies on the art of
human judgement. This is in practice since long time. The
other two techniques are relatively new and are heavily use
statistics for analysing the past data.
Quantative
1. Time Series methods: It identifies the historical pattern of
demand for the product and project or extrapolates this
demand into the future. The important method of making
inference about future on the basis of what has happened in
the past is called time series analysis.
2. Causal methods (Econometric Forecasting): The analyst tries
to establish cause and effect relationships between sales and
some other parameter that are related to sales, i.e., the
demand for cement depends upon the projected growth of
construction industry. It utilises regression and correlation
analysis. 8
JUDGEMENTAL TECHNIQUES
______________________________________________________________
Customer and
Executive
Distributor Surveys
Opinion Method
Marketing Trials
Delphi Technique
9
Executive Opinion Method
______________________________________________________________
10
Opinion Survey Method:
______________________________________________________________
11
Customer and Distributor Surveys
______________________________________________________________
12
Marketing Trials
______________________________________________________________
13
Market Research
______________________________________________________________
14
Delphi Technique:
______________________________________________________________
15
Delphi Technique:
______________________________________________________________
16
Delphi Technique:
______________________________________________________________
17
TIME SERIES ANALYSIS
______________________________________________________________
For example, the sales of TV sets for the last four years in a
particular geographical region are:
The time series methods does not study the factors that
influence the demand and in this method all the factors that
shape the demand are grouped into one factor-time and demand
is expressed as a series of data with respect to time.
18
TIME SERIES ANALYSIS
______________________________________________________________
20
Seasonal variation
x
x x Linear
x x
x x Trend
x
Sales
x
x x x
x
x
xx
x xx x x
x
x
x x x x x x
x x x x x x
x x x
x xxxxx
x
x x
1 2 3 4
Year
21
SIMPLE MOVING AVERAGE (SMA) FORECASTING
______________________________________________________________
23
SIMPLE MOVING AVERAGE (SMA) FORECASTING
______________________________________________________________
Week
Period n of moving average should
. be carefully selected.
The wrongly selected period will distort the data and gives
wrong picture of the trend. Larger the period of moving
average, the greater is the smoothing effect 26
Weighted MOVING AVERAGE FORECASTING
________________________________________________________
Ft = w 1 A t -1 + w 2 A t - 2 + w 3 A t -3 + ...+ w n A t - n
27
Weighted MOVING AVERAGE FORECASTING
________________________________________________________
28
Weighted MOVING AVERAGE FORECASTING
________________________________________________________
29
Weighted MOVING AVERAGE FORECASTING
________________________________________________________
30
Weighted MOVING AVERAGE FORECASTING
________________________________________________________
(a) Compute the load on the weaving machine centre using 5th
moving average for the month of. December 1996.
(b) Compute a weighted three months moving average for December,
1996 where the weights are 0.5 for the latest month, 0.3 and 0.2 for
the other months respectively. 31
Weighted MOVING AVERAGE FORECASTING
________________________________________________________
(a) Compute the load on the weaving machine centre using 5th
moving average for the month of. December 1996. → 773hrs
(b) Compute a weighted three months moving average for December,
1996 where the weights are 0.5 for the latest month, 0.3 and 0.2 for
the other months respectively. → 947.8 hrs 32
Weighted MOVING AVERAGE FORECASTING
________________________________________________________
33
Exponential SMOOTHING FORECASTING
________________________________________________________
34
Exponential SMOOTHING FORECASTING
________________________________________________________
35
Exponential SMOOTHING FORECASTING
________________________________________________________
36
Exponential SMOOTHING FORECASTING
________________________________________________________
Answer: The respective alphas columns denote the forecast values. Note
that you can only forecast one time period into the future.
850
800
750 Demand
Demand
700
0.1
650
600 0.6
550
500
1 2 3 4 5 6 7 8 9 10
Week
.
The value of the α selected is small (0.05 to 0.1), if the demand pattern is smooth or stable
and large value of α is used for the fluctuating demand. 38
Exponential SMOOTHING FORECASTING
________________________________________________________
39
Exponential SMOOTHING FORECASTING
________________________________________________________
40
Exponential SMOOTHING FORECASTING
________________________________________________________
41
CAUSAL FORECASTING METHOD
________________________________________________________
42
CAUSAL FORECASTING: Regression and Correlation
________________________________________________________
43
CAUSAL FORECASTING: Regression
________________________________________________________
Linear Regression: This is the mathematical method of
obtaining the line of best fit between the dependent variable
(usually demand) and an independent variable (usually
time). This method is called least square method as the sum
of the square of the deviations of the various points from the
line of best fit is minimum or least.
In a simple regression analysis, the relationship between the
dependent variable y and some independent variable x can be
represented by a straight line.
44
LEAST SQUARE METHOD OF
FORECASTING (Regression Analysis)
________________________________________________________
45
LEAST SQUARE METHOD OF
FORECASTING (Regression Analysis)
________________________________________________________
46
LEAST SQUARE METHOD OF
FORECASTING (Regression Analysis)
________________________________________________________
Problem: The following data gives the sales of the company
for various years. Fit the straight line. Forecast the sales for
the year 1998 and 1999.
47
LEAST SQUARE METHOD OF
FORECASTING (Regression Analysis)
________________________________________________________
48
LEAST SQUARE METHOD OF
FORECASTING (Regression Analysis)
________________________________________________________
49
LEAST SQUARE METHOD OF
FORECASTING (Regression Analysis)
________________________________________________________
50
LEAST SQUARE METHOD OF
FORECASTING (Regression Analysis)
________________________________________________________
51
LEAST SQUARE METHOD OF
FORECASTING (Regression Analysis)
________________________________________________________
52
LEAST SQUARE METHOD OF
FORECASTING (Regression Analysis)
________________________________________________________
53
LEAST SQUARE METHOD OF
FORECASTING (Regression Analysis)
________________________________________________________
54
LEAST SQUARE METHOD OF
FORECASTING (Regression Analysis)
________________________________________________________
Arnold Tofu owns and operates a chain of 12 vegetable protein "hamburger"
restaurants in northern Louisiana. Sales figures and profits for the stores are in the table
below. Sales are given in millions of dollars; profits are in hundreds of thousands of
dollars. Calculate a regression line for the data. What is your forecast of profit for a
store with sales of $24 million? $30 million?
$4,004,000
. $4,856,600
55
LEAST SQUARE METHOD OF
FORECASTING (Regression Analysis)
________________________________________________________
56
Correlation FORECASTING METHOD
________________________________________________________
•Co-efficient of correlation
The degree of relationship is called correlation. It is a single figure
which expresses the degree and direction of correlation is called co-
efficient of correlation.
57
Correlation FORECASTING METHOD
________________________________________________________
58
Correlation FORECASTING METHOD
________________________________________________________
59
Correlation FORECASTING METHOD
________________________________________________________
60
Correlation FORECASTING METHOD
________________________________________________________
61
Nodel Construction Company renovates old homes in West
Bloomfield, Michigan. Over time, the company has found that its
dollar volume of renovation work is dependent on the West
Bloomfield area payroll.
62
Monitoring and Controlling Forecasts
63
FORECAST ERROR
________________________________________________________
64
Mean Absolute Deviation (MAD)
________________________________________________________
It is a measure of forecast error and it measures the average
forecast error without direction.
It calculate all the sum of the absolute value of the
forecast error for all periods divided by the total number
of periods.
67
Mean Square error (MSE)
________________________________________________________
68
Running Sum forecast error (RSFE)
________________________________________________________
69
Mean Absolute Percentage Error (MAPE)
________________________________________________________
70
Tracking signal
________________________________________________________
71
Carlson’s Bakery wants to evaluate performance of its
croissant forecast.
Develop a tracking signal for the forecast, and see if it stays
within acceptable limits, which we define as ± 4 MADs.
72
73
Problem
________________________________________________________
74
Problem 13: Starwars Co. Ltd., uses simple exponential smoothing
with smoothing constant α = 0.2 to forecast the demand. The
forecast for the first week of March was 400 units and the actual
demand turns out to be 450 units.
(i) Estimate the demand for the second week of March.
(ii) If the actual demand for the second week of March is 460 units,
forecast the demand upto April second week. Assume that demand
for subsequent weeks are 465, 434, 420, 498, 462 and 470 unit.
75
During the past 8 quarters, the Port of Baltimore has unloaded large quantities of grain
from ships. The port’s operations manager wants to test the use of exponential
smoothing to see how well the technique works in predicting tonnage unloaded. He
guesses that the forecast of grain unloaded in the first quarter was 175 tons. Two values
of α are to be examined: α = .10 and α = .50.
Evaluate the accuracy of each smoothing constant using MAD, MSE, MAPE.
76
Exponential Smoothing with Trend Adjustment
Here is why exponential smoothing must be modified when a trend is present. Assume
that demand for our product or service has been increasing by 100 units per month and
that we have been forecasting with a = 0.4 in our exponential smoothing model.
77
With trend-adjusted exponential smoothing, estimates for both the
average and the trend are smoothed. This procedure requires two
smoothing constants: α for the average and β for the trend.
Ft = α(Actual demand last period) + (1 - α)(Forecast last period + Trend
estimate last period)
Ft = α(Dt-1) + (1 - α)(Ft-1+ Tt-1)
Tt = β(Forecast this period - Forecast last period) + (1 - β)(Trend estimate
last period)
Tt = β(Ft - Ft-1) + (1 - β) Tt-1
where Ft = exponentially smoothed forecast average of the data series in period t
Tt = exponentially smoothed trend in period t
Dt = actual demand in period t
α = smoothing constant for the average (0 ≤ α ≤ 1)
β = smoothing constant for the trend (0 ≤ β ≤ 1)
78
Dr. Susan Sweeney, a providence psychologist, specializes in treating
patients who are agoraphobic (i.e. afraid to leave their homes). The
following table indicates how many patients. Dr. Sweeney has seen each
year for the past 10 years. It also indicates what the robbery rate was in
Providence during the same
year:
82
Dell uses the CR 5 chip in some of its laptop computers. The prices for the
chip during the last 12 months were as follows:
(i) Use a 2-month moving average on all the data and plot the averages and
the prices.
(ii) Use a 3-month moving average and add the 3-month plot to the graph
created in part (i).
(iii) Which is better (using the mean absolute deviation): the 2-month average
or the 3-month average?
83
Seasonal Variations in Data
1. Find the average historical demand each season (or month in this case) by
summing the demand for that month in each year and dividing by the number of
years of data available. For example, if, in January, we have seen sales of 8, 6, and
10 over the past 3 years, average January demand equals (8 + 6 + 10)/3 = 8
units.
2. Compute the average demand over all months by dividing the total average
annual demand by the number of seasons. For example, if the total average demand
for a year is 120 units and there are 12 seasons (each month), the average monthly
demand is 120/12 = 10 units.
3. Compute a seasonal index for each season by dividing that month’s historical
average demand (from Step 1) by the average demand over all months (from
Step 2). For example, if the average historical January demand over the past 3
years is 8 units and the average demand over all months is 10 units, the seasonal
index for January is 8/10 = .80. Likewise, a seasonal index of 1.20 for February
would mean that February’s demand is 20% larger than the average demand over
all months.
4. Estimate next year’s total annual demand.
5. Divide this estimate of total annual demand by the number of seasons, then
multiply it by the seasonal index for each month. This provides the seasonal
forecast .
84
A Des Moines distributor of Sony laptop computers wants to develop monthly indices for
sales. Data from the past 3 years, by month, are available.
85
86
If we expect the annual demand for computers to be 1,200 units next year, we would
use these seasonal indices to forecast the monthly demand as follows:
87