SlideShare a Scribd company logo
1 of 59
1
Forecasting
2
What is Forecasting?
3
Forecasting overview
Forecast: A statement about the future
4
Applications
We focus on the forecasting of demand
Forecasts are also used to predict
Profits/Revenues
Costs
Prices
Interest rates
Movements of key economic indicators
And more . . .
Concepts and techniques are the same
5
Common Features
Assumes same causal system: past ==> future
Be alert to unplanned occurrences
Forecasts rarely perfect because of randomness
Forecasts more accurate for
groups vs. individuals
Forecast accuracy decreases
as time horizon increases
I see that you will
get an A this semester.
6
How do we Forecast?
7
Forecasting Approaches
Time series forecasts
& Associative models
Involves mathematical
techniques
e.g., forecasting sales of
color televisions
Used when situation is
‘stable’ & historical data
exist
Existing products
Current technology
Quantitative Methods
Judgmental forecasts
Involves intuition,
experience
e.g., forecasting sales on
Internet
Used when situation is
vague & little data exist
New products
New technology
Qualitative Methods
8
Judgmental Forecasts
Executive opinions
A small group of upper-level managers
(marketing, operations and finance) may meet
and collectively develop a forecast.
Sales force opinions
The sales staff or the customer service staff is
often a good source of information. Sales staff
may under-report to reduce quota.
9
Judgmental Forecasts (Con’t)
Consumer surveys
Consumers ultimately determine demand.
Expensive.
Outside opinion
Industrial reports, press.
Delphi method
• Opinions of managers and staff
• Achieves a consensus forecast
10
Quantitative Forecasting Methods
Naïve Averaging Trend
Quantitative
Forecasting
Time Series
Forecasting
Associative
Models
Seasonality
 Moving Average
 Weighted Moving
Average
 Exponential
smoothing
 Linear trend
– linear trend equation
– trend-adjusted
exponential
smoothing (no req.)
 Nonlinear trend
(not req.)
 Additive
 Multiplicative
 Linear regression
 Curvilinear
regression (not req.)
 Multiple regression
(not req.)
11
Time Series Data
12
Time Series Forecasts
Time series : A time series is a time-ordered
sequence of observations taken at regular
intervals over a period of time (hourly, daily,
weekly, monthly, quarterly, annually).
Data : measurements of demand (sales,
earnings, profits, ……)
Example
Year: 1998 1999 2000 2001 2002
Sales: 78.7 63.5 89.7 93.2 92.1
Assumption : future will be like the past
13
Time Series Data
- Naïve Method
14
Naïve Forecast
The forecast for any period
=
The previous period’s actual value.
Uh, give me a minute....
We sold 250 wheels last
week.... Now, next week we
should sell....
15
Naïve Forecasts
Simple to use
Virtually no cost
Quick and easy to prepare
Data analysis is nonexistent
Easily understandable
Cannot provide high accuracy
Can be a standard for accuracy
16
Uses for Naïve Forecasts
Stable time series data
• Ft = At-1
Seasonal variations
• Forecast for this season = Actual value from last season
Data with trends
• Ft = At-1 + (At-1 – At-2)
Ft = Forecast for period t.
At-1 = Actual demand or sales for period t-1.
where
17
Example 1: Naïve Forecasts
Forecast for period i is the actual value for
period i-1: Fi = Ai-1.
Period i Actual Demand Forecast
1
2
3
4
5
6
7
8
9
10
11
12
42
40
43
40
41
39
46
44
45
38
40
-
18
Solution to Example 1
Period i Actual Demand Forecast
1
2
3
4
5
6
7
8
9
10
11
12
42
40
43
40
41
39
46
44
45
38
40
-
-
42
40
43
40
41
39
46
44
45
38
40
19
Time Series Data
- Averaging
20
Techniques for Averaging
Moving average
Weighted moving average
Exponential smoothing
21
Moving Average
Moving average – A technique that averages
a number of recent actual values, updated as
new values become available.
Ft = MAn =
n
At-i
i = 1

n
i = an index that corresponds to periods.
n = Number of periods (data points) in the moving
average period.
Ai = Actual value in period i.
MAn = Forecast based on most-recent n periods.
Ft = Forecast for time period t.
Where
22
Example 2: Moving Average
Find moving average with n = 5.
Period i Actual Demand Forecast
1
2
3
4
5
6
7
8
9
10
11
12
42
40
43
40
41
39
46
44
45
38
40
-
23
Solution to Example 2
Start from F6 (forecast for period 6).
Period
i
Actual
Demand
Forecast
1
2
3
4
5
6
7
8
9
10
11
12
42
40
43
40
41
39
46
44
45
38
40
-
-
-
-
-
-
41.2
40.6
41.8
42.0
43.0
42.4
42.6
43+40+41+39+46
5
=
46+44+45+38+40
5
=
24
Smooth and Lag
25
Lag Increases with Periods
26
Weighted Moving Average
Assigns more weight to recent observed
values
More responsive to changes
Selection of weights is arbitrary, but weights
must add to one. The values for the weights
are always given.
27
Example 3: Weighted Moving Average
Find weighted moving average using
Fi =0.4Ai-1 + 0.3Ai-2 + 0.2Ai-3 + 0.1Ai-4.
Period i Actual Demand Forecast
1
2
3
4
5
6
7
8
9
10
11
12
42
40
43
40
41
39
46
44
45
38
40
-
28
Solution to Example 3
Start from F5 (forecast for period 5).
Period
i
Actual
Demand
Forecas
t
1
2
3
4
5
6
7
8
9
10
11
12
42
40
43
40
41
39
46
44
45
38
40
-
-
-
-
-
41.1
41.0
40.2
42.3
43.3
44.3
42.1
40.8
0.1(42)+.2(40)+.3(43)+.4(40)
=
=0.1(39)+.2(46)+.3(44)+.4(45)
29
Shown solutions of Example 2 and 3
30
32
34
36
38
40
42
44
46
48
1 2 3 4 5 6 7 8 9 10 11 12
Observed
MA
WMA
30
Exponential Smoothing
Current forecast = Previous forecast + α(Actual -
Previous forecast)
Ft = Ft-1 + (At-1 - Ft-1)
Ft = Forecast for period t
Ft-1 = Forecast for period t-1
α = Smoothing constant
At-1 =Actual demand or sales for period t-1
where
31
Exponential Smoothing (Cont.)
Premise: The most recent observations might
have the highest predictive value.
• Therefore, we should give more weight to the more
recent time periods when forecasting.
Weighted averaging method based on previous
forecast plus a percentage of the forecast error
A-F is the error term,  is the % feedback
32
Example 4: Exponential Smoothing
Period (t) Actual (At) Ft (α = 0.1) Error (A-F) Ft ( α = 0.4)
1 42
2 40
3 43
4 40
5 41
6 39
7 46
8 44
9 45
10 38
11 40
12
Error (A-F)
33
Solution to Example 4
• For example: α = 0.1
• A1 = 42 → F2 = 42 (Naïve)
• A2 = 40 → F3 = F2 + α (A2 - F2)
= 42 + 0 .1 × (40 - 42) = 41.8
• A3 = 43 → F4 = F3 + α (A3 - F3)
= 41.8 + 0 .1 × (43 - 41.8) = 41.92
Ft = Ft-1 + (At-1 - Ft-1) = (1 – ) Ft-1 +  At-1
34
Solution to Example 4 (Cont.)
1 42
2 40 42 -2.00 42 -2
3 43 41.8 1.20 41.2 1.8
4 40 41.92 -1.92 41.92 -1.92
5 41 41.73 -0.73 41.15 -0.15
6 39 41.66 -2.66 41.09 -2.09
7 46 41.39 4.61 40.25 5.75
8 44 41.85 2.15 42.55 1.45
9 45 42.07 2.93 43.13 1.87
10 38 42.36 -4.36 43.88 -5.88
11 40 41.92 -1.92 41.53 -1.53
12 41.73 40.92
Period (t) Actual (At) Ft (α = 0.1) Error (A-F) Ft ( α = 0.4) Error (A-F)
Ft = Ft-1 + (At-1 - Ft-1)
35
Picking a Smoothing Constant α
Actual
  .1
  .4
35
40
45
50
1 2 3 4 5 6 7 8 9 10 11 12
Period
Demand
36
Picking a Smoothing Constant α
Using judgment or trial and error
Balancing smoothness and responsiveness
Usually range from 0.05 to 0.5
low α when stable
high α when susceptible to change
37
Time Series Data
- Trend
38
Techniques for Trend
Linear trend
linear trend equation
Trend-adjusted exponential smoothing (Double
exponential smoothing), not required in exams
Nonlinear trend (not required in exams)
39
Linear Trend Equation
Ft = Forecast for period t
t = Specified number of time periods from t = 0
a = Value of Ft at t = 0
b = Slope of the line
Ft = a + b t
0 1 2 3 4 5 t
Ft
40
Calculating a and b
n = Number of periods
y = Value of the time series
t = Specified number of time periods from t = 0
t
n -
b =
n (ty) - y
t
2
( t)
2





a =
y - b t
n


Example 5:
Calculator sales for a California-based firm over the
last 10 weeks are shown in the following table.
Week (t) y yt t2
1
2
3
4
5
6
7
8
9
10
700
724
720
728
740
742
758
750
770
775
700
1448
2160
2912
3700
4452
5306
6000
6930
7750
1
4
9
16
25
36
49
64
81
100
 55 7407 41358 385
1. Plot the data, and visually check to see if a
linear trend line would be appropriate.
2. n = 10,  t = 55,  y =7407,  ty = 41358, t2 = 385
42
Solution to Example 5
b =
10(41358) - 55(7407)
10(385) - 55(55)
=
413580- 407385
3850 - 3025
≈ 7.51
y = 699.40 + 7.51t
a =
7407 - 7.51(55)
10
≈ 699.40
t
n -
b =
n (ty) - y
t
2
( t)
2





a =
y - b t
n


43
Solution to Example 5 (Cont.)
3. Then determine the equation of the trend
line, and predict sales for weeks 11 and 12.
y11 =699.40 + 7.51(11) = 782.01
y12 =699.40 + 7.51(12) = 789.51
44
Solution to Example 5 (Cont.)
660
680
700
720
740
760
780
800
1 2 3 4 5 6 7 8 9 10
Observed
Trend line
Problem : A pizza boy is trying to forecast the volume of
Pizza sold based on the amount of money it has put into
advertisement in the local news paper. It has been tracking
the relationship between pizza sales and advertisement over
the past 4 months.
The results are as follows :
Pizza Sales
Advert.
Cost in $
58 135
43 90
62 145
68 145
Causal Method – Linear trend equation
What would happen to pizza sales,if pizza boy invested
$150 in advertizing for next month
In this problem, pizza sales are the dependent variable (Y)
And advertising cost is independent variable
Causal Method – Linear trend equation
Y X XY X2
Y2
58 135 7830 18225 3364
43 90 3870 8100 1849
62 145 8990 21025 3844
68 145 9860 21025 4624
Total 231 515 30550 68375 13681
X
___
= 4
515
___
Y
___
= 4
___
231
=
=
128.75
57.75
Causal Method – Linear trend equation
Step 1. Compute parameter b:
b = -------------- =
nΣ XY- Σ X Σ Y
__
nΣ X2- (ΣX)2
0.391
Step 2. Compute parameter a
a = =
Y-b X 7.41
Step 3. Substitute the value of a and b in the equation
Y =a+bX
Y = 7.41+ 0.391 X
__ __
__
Step 4. Generate a forecast for the dependent variable (Y)
Substitute the value for the independent variable (X)
Y = 7.41 + 0.391*150= 66 pizzas
Causal Method – Linear trend equation
49
Associative Forecasting
50
Associative Forecasting
Associative techniques rely on identification of related
variables that can be used to predict the variable of
interest (dependent variable)
Example 1: Crop yields are related to soil conditions and the
amounts and timing of water and fertilizer applications.
Example 2: Sales of beef may be related to the price per pound
(of beef) and the price of substitutes such as chicken, pork and
lamb.
Predictor (independent) variables - used to predict
values of variable of interest
Regression - technique for fitting a line to a set of points
51
Dependent and Independent Variables
52
Linear Regression
The object of linear regression is to obtain an
equation of a straight line (Least squares line) that
minimizes the sum of squared vertical deviations of
the data points from the line.
yc = a + b x
yc = Predicated (dependent) variable.
x = Predictor (independent) variable.
a = Value of yc when x = 0.
b = Slope of the line.
Where
53
Calculating Coefficients a and b
x
n -
b =
n (xy) - y
x
2
( x)
2





a =
y - b x
n


= y – b x
n = Number of paired observations
where
54
Example 8 – Linear Model Seems Reasonable
593
.
1
132
1796
12
271
132
3529
12
2







b
x y xy x2
y2
7 15 105 49 225
2 10 20 4 100
6 13 78 36 169
4 15 60 16 225
14 25 350 196 625
15 27 405 225 729
16 24 384 256 576
12 20 240 144 400
14 27 378 196 729
20 44 880 400 1936
15 34 510 225 1156
7 17 119 49 289
132 271 3529 1796 7159
06
.
5
12
132
593
.
1
271




a
n = 12
x
n -
b =
n (xy) - y
x
2
( x)
2





a =
y - b x
n


= y – b x
55
0
10
20
30
40
50
0 5 10 15 20 25
Computed
relationship
Example 8 – Linear Model Seems Reasonable
593
.
1
132
1796
12
271
132
3529
12
2







b
A straight line is fitted to a set
of sample points.
x y xy x2
y2
7 15 105 49 225
2 10 20 4 100
6 13 78 36 169
4 15 60 16 225
14 25 350 196 625
15 27 405 225 729
16 24 384 256 576
12 20 240 144 400
14 27 378 196 729
20 44 880 400 1936
15 34 510 225 1156
7 17 119 49 289
132 271 3529 1796 7159
06
.
5
12
132
593
.
1
271




a
n = 12
yc = 5.06 +1.593 x
56
Forecast Accuracy
57
Accuracy and Control of Forecasts
Error: Difference between the actual value and
the value that was predicted for a given period
et = At – Ft
Forecast errors influence decisions in two
somewhat different ways
1. A choice between various forecasting alternatives
2. Evaluate the success or failure of a technique in use
58
Measures of Forecast Accuracy
Mean Absolute Deviation (MAD)
MAD =
Actualt Forecastt


n
MAPE =
Actualt Forecastt

n
Actualt
 × 100
59
Example 9
Period
1
2
3
4
5
6
7
8
Forecast
215
216
215
214
211
214
217
216
(A-F)
2
-3
1
-4
2
5
-1
-4
-2
|A-F|
2
3
1
4
2
5
1
4
22
(A-F) 2
4
9
1
16
4
25
1
16
76
(|A-F|/Actual)×100
0.92
1.41
0.46
1.90
0.94
2.28
0.46
1.89
10.26
Actual
217
213
216
210
213
219
216
212
MAD=  ‫׀‬e ‫׀‬/ n = 22 / 8 = 2.75
MAPE = 10.26/8 = 1.28

More Related Content

What's hot

Forecasting
ForecastingForecasting
Forecasting
3abooodi
 
Decision Making
Decision MakingDecision Making
Decision Making
Marcus9000
 

What's hot (20)

Time And Motion Study
Time And  Motion  StudyTime And  Motion  Study
Time And Motion Study
 
Decision making under uncertainty
Decision making under uncertaintyDecision making under uncertainty
Decision making under uncertainty
 
Trend adjusted exponential smoothing forecasting metho ds
Trend adjusted exponential smoothing forecasting metho dsTrend adjusted exponential smoothing forecasting metho ds
Trend adjusted exponential smoothing forecasting metho ds
 
Analysis of invetory control techniques
Analysis of invetory control techniquesAnalysis of invetory control techniques
Analysis of invetory control techniques
 
Forecasting
ForecastingForecasting
Forecasting
 
Forecasting techniques
Forecasting techniquesForecasting techniques
Forecasting techniques
 
Deseasonalizing Forecasts
Deseasonalizing ForecastsDeseasonalizing Forecasts
Deseasonalizing Forecasts
 
Labour Cost Control in cost accounting
Labour Cost Control in cost accountingLabour Cost Control in cost accounting
Labour Cost Control in cost accounting
 
Strategic Planning
Strategic  PlanningStrategic  Planning
Strategic Planning
 
demand forecasting
demand forecastingdemand forecasting
demand forecasting
 
Forecasting Techniques
Forecasting TechniquesForecasting Techniques
Forecasting Techniques
 
Strategic groups in Strategic Management
Strategic groups in Strategic Management Strategic groups in Strategic Management
Strategic groups in Strategic Management
 
7 new QC TOOLS
7 new QC TOOLS7 new QC TOOLS
7 new QC TOOLS
 
Strategic Planning PowerPoint Presentation
Strategic Planning PowerPoint PresentationStrategic Planning PowerPoint Presentation
Strategic Planning PowerPoint Presentation
 
Methods-Time Measurement and Functional Capacity Evaluation 041610
Methods-Time Measurement and Functional Capacity Evaluation 041610Methods-Time Measurement and Functional Capacity Evaluation 041610
Methods-Time Measurement and Functional Capacity Evaluation 041610
 
Forecasting
ForecastingForecasting
Forecasting
 
Forecasting and Decision Making
Forecasting and Decision MakingForecasting and Decision Making
Forecasting and Decision Making
 
Business Research Method
Business Research MethodBusiness Research Method
Business Research Method
 
Decision Making
Decision MakingDecision Making
Decision Making
 
Standard costing
Standard costingStandard costing
Standard costing
 

Similar to Forecasting.ppt

Forecasting Slides
Forecasting SlidesForecasting Slides
Forecasting Slides
knksmart
 
Forecasting demand planning
Forecasting demand planningForecasting demand planning
Forecasting demand planning
ManonmaniA3
 
Introduction to need of forecasting in business
Introduction to need of forecasting in businessIntroduction to need of forecasting in business
Introduction to need of forecasting in business
AnuyaK1
 

Similar to Forecasting.ppt (20)

Forecasting of demand (management)
Forecasting of demand (management)Forecasting of demand (management)
Forecasting of demand (management)
 
Chapter-3_Heizer_S1.pptx
Chapter-3_Heizer_S1.pptxChapter-3_Heizer_S1.pptx
Chapter-3_Heizer_S1.pptx
 
Demand forecasting methods 1 gp
Demand forecasting methods 1 gpDemand forecasting methods 1 gp
Demand forecasting methods 1 gp
 
forecasting
forecastingforecasting
forecasting
 
Adj Exp Smoothing
Adj Exp SmoothingAdj Exp Smoothing
Adj Exp Smoothing
 
forecast.ppt
forecast.pptforecast.ppt
forecast.ppt
 
Forecasting
ForecastingForecasting
Forecasting
 
Chap011
Chap011Chap011
Chap011
 
Forecasting Slides
Forecasting SlidesForecasting Slides
Forecasting Slides
 
Chap003 Forecasting
Chap003    ForecastingChap003    Forecasting
Chap003 Forecasting
 
Forecasting demand planning
Forecasting demand planningForecasting demand planning
Forecasting demand planning
 
1 forecasting SHORT NOTES FOR ESE AND GATE
1 forecasting SHORT NOTES FOR ESE AND GATE1 forecasting SHORT NOTES FOR ESE AND GATE
1 forecasting SHORT NOTES FOR ESE AND GATE
 
Introduction to need of forecasting in business
Introduction to need of forecasting in businessIntroduction to need of forecasting in business
Introduction to need of forecasting in business
 
Forecasting
ForecastingForecasting
Forecasting
 
Forecasting
ForecastingForecasting
Forecasting
 
Analyzing and forecasting time series data ppt @ bec doms
Analyzing and forecasting time series data ppt @ bec domsAnalyzing and forecasting time series data ppt @ bec doms
Analyzing and forecasting time series data ppt @ bec doms
 
Forecasting 5 6.ppt
Forecasting 5 6.pptForecasting 5 6.ppt
Forecasting 5 6.ppt
 
Mba ii pmom_unit-1.3 forecasting a
Mba ii pmom_unit-1.3 forecasting aMba ii pmom_unit-1.3 forecasting a
Mba ii pmom_unit-1.3 forecasting a
 
forecasting methods
forecasting methodsforecasting methods
forecasting methods
 
Chapter 7 demand forecasting in a supply chain
Chapter 7 demand forecasting in a supply chainChapter 7 demand forecasting in a supply chain
Chapter 7 demand forecasting in a supply chain
 

Recently uploaded

Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
ssuserdda66b
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 

Recently uploaded (20)

Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 

Forecasting.ppt

  • 3. 3 Forecasting overview Forecast: A statement about the future
  • 4. 4 Applications We focus on the forecasting of demand Forecasts are also used to predict Profits/Revenues Costs Prices Interest rates Movements of key economic indicators And more . . . Concepts and techniques are the same
  • 5. 5 Common Features Assumes same causal system: past ==> future Be alert to unplanned occurrences Forecasts rarely perfect because of randomness Forecasts more accurate for groups vs. individuals Forecast accuracy decreases as time horizon increases I see that you will get an A this semester.
  • 6. 6 How do we Forecast?
  • 7. 7 Forecasting Approaches Time series forecasts & Associative models Involves mathematical techniques e.g., forecasting sales of color televisions Used when situation is ‘stable’ & historical data exist Existing products Current technology Quantitative Methods Judgmental forecasts Involves intuition, experience e.g., forecasting sales on Internet Used when situation is vague & little data exist New products New technology Qualitative Methods
  • 8. 8 Judgmental Forecasts Executive opinions A small group of upper-level managers (marketing, operations and finance) may meet and collectively develop a forecast. Sales force opinions The sales staff or the customer service staff is often a good source of information. Sales staff may under-report to reduce quota.
  • 9. 9 Judgmental Forecasts (Con’t) Consumer surveys Consumers ultimately determine demand. Expensive. Outside opinion Industrial reports, press. Delphi method • Opinions of managers and staff • Achieves a consensus forecast
  • 10. 10 Quantitative Forecasting Methods Naïve Averaging Trend Quantitative Forecasting Time Series Forecasting Associative Models Seasonality  Moving Average  Weighted Moving Average  Exponential smoothing  Linear trend – linear trend equation – trend-adjusted exponential smoothing (no req.)  Nonlinear trend (not req.)  Additive  Multiplicative  Linear regression  Curvilinear regression (not req.)  Multiple regression (not req.)
  • 12. 12 Time Series Forecasts Time series : A time series is a time-ordered sequence of observations taken at regular intervals over a period of time (hourly, daily, weekly, monthly, quarterly, annually). Data : measurements of demand (sales, earnings, profits, ……) Example Year: 1998 1999 2000 2001 2002 Sales: 78.7 63.5 89.7 93.2 92.1 Assumption : future will be like the past
  • 13. 13 Time Series Data - Naïve Method
  • 14. 14 Naïve Forecast The forecast for any period = The previous period’s actual value. Uh, give me a minute.... We sold 250 wheels last week.... Now, next week we should sell....
  • 15. 15 Naïve Forecasts Simple to use Virtually no cost Quick and easy to prepare Data analysis is nonexistent Easily understandable Cannot provide high accuracy Can be a standard for accuracy
  • 16. 16 Uses for Naïve Forecasts Stable time series data • Ft = At-1 Seasonal variations • Forecast for this season = Actual value from last season Data with trends • Ft = At-1 + (At-1 – At-2) Ft = Forecast for period t. At-1 = Actual demand or sales for period t-1. where
  • 17. 17 Example 1: Naïve Forecasts Forecast for period i is the actual value for period i-1: Fi = Ai-1. Period i Actual Demand Forecast 1 2 3 4 5 6 7 8 9 10 11 12 42 40 43 40 41 39 46 44 45 38 40 -
  • 18. 18 Solution to Example 1 Period i Actual Demand Forecast 1 2 3 4 5 6 7 8 9 10 11 12 42 40 43 40 41 39 46 44 45 38 40 - - 42 40 43 40 41 39 46 44 45 38 40
  • 20. 20 Techniques for Averaging Moving average Weighted moving average Exponential smoothing
  • 21. 21 Moving Average Moving average – A technique that averages a number of recent actual values, updated as new values become available. Ft = MAn = n At-i i = 1  n i = an index that corresponds to periods. n = Number of periods (data points) in the moving average period. Ai = Actual value in period i. MAn = Forecast based on most-recent n periods. Ft = Forecast for time period t. Where
  • 22. 22 Example 2: Moving Average Find moving average with n = 5. Period i Actual Demand Forecast 1 2 3 4 5 6 7 8 9 10 11 12 42 40 43 40 41 39 46 44 45 38 40 -
  • 23. 23 Solution to Example 2 Start from F6 (forecast for period 6). Period i Actual Demand Forecast 1 2 3 4 5 6 7 8 9 10 11 12 42 40 43 40 41 39 46 44 45 38 40 - - - - - - 41.2 40.6 41.8 42.0 43.0 42.4 42.6 43+40+41+39+46 5 = 46+44+45+38+40 5 =
  • 26. 26 Weighted Moving Average Assigns more weight to recent observed values More responsive to changes Selection of weights is arbitrary, but weights must add to one. The values for the weights are always given.
  • 27. 27 Example 3: Weighted Moving Average Find weighted moving average using Fi =0.4Ai-1 + 0.3Ai-2 + 0.2Ai-3 + 0.1Ai-4. Period i Actual Demand Forecast 1 2 3 4 5 6 7 8 9 10 11 12 42 40 43 40 41 39 46 44 45 38 40 -
  • 28. 28 Solution to Example 3 Start from F5 (forecast for period 5). Period i Actual Demand Forecas t 1 2 3 4 5 6 7 8 9 10 11 12 42 40 43 40 41 39 46 44 45 38 40 - - - - - 41.1 41.0 40.2 42.3 43.3 44.3 42.1 40.8 0.1(42)+.2(40)+.3(43)+.4(40) = =0.1(39)+.2(46)+.3(44)+.4(45)
  • 29. 29 Shown solutions of Example 2 and 3 30 32 34 36 38 40 42 44 46 48 1 2 3 4 5 6 7 8 9 10 11 12 Observed MA WMA
  • 30. 30 Exponential Smoothing Current forecast = Previous forecast + α(Actual - Previous forecast) Ft = Ft-1 + (At-1 - Ft-1) Ft = Forecast for period t Ft-1 = Forecast for period t-1 α = Smoothing constant At-1 =Actual demand or sales for period t-1 where
  • 31. 31 Exponential Smoothing (Cont.) Premise: The most recent observations might have the highest predictive value. • Therefore, we should give more weight to the more recent time periods when forecasting. Weighted averaging method based on previous forecast plus a percentage of the forecast error A-F is the error term,  is the % feedback
  • 32. 32 Example 4: Exponential Smoothing Period (t) Actual (At) Ft (α = 0.1) Error (A-F) Ft ( α = 0.4) 1 42 2 40 3 43 4 40 5 41 6 39 7 46 8 44 9 45 10 38 11 40 12 Error (A-F)
  • 33. 33 Solution to Example 4 • For example: α = 0.1 • A1 = 42 → F2 = 42 (Naïve) • A2 = 40 → F3 = F2 + α (A2 - F2) = 42 + 0 .1 × (40 - 42) = 41.8 • A3 = 43 → F4 = F3 + α (A3 - F3) = 41.8 + 0 .1 × (43 - 41.8) = 41.92 Ft = Ft-1 + (At-1 - Ft-1) = (1 – ) Ft-1 +  At-1
  • 34. 34 Solution to Example 4 (Cont.) 1 42 2 40 42 -2.00 42 -2 3 43 41.8 1.20 41.2 1.8 4 40 41.92 -1.92 41.92 -1.92 5 41 41.73 -0.73 41.15 -0.15 6 39 41.66 -2.66 41.09 -2.09 7 46 41.39 4.61 40.25 5.75 8 44 41.85 2.15 42.55 1.45 9 45 42.07 2.93 43.13 1.87 10 38 42.36 -4.36 43.88 -5.88 11 40 41.92 -1.92 41.53 -1.53 12 41.73 40.92 Period (t) Actual (At) Ft (α = 0.1) Error (A-F) Ft ( α = 0.4) Error (A-F) Ft = Ft-1 + (At-1 - Ft-1)
  • 35. 35 Picking a Smoothing Constant α Actual   .1   .4 35 40 45 50 1 2 3 4 5 6 7 8 9 10 11 12 Period Demand
  • 36. 36 Picking a Smoothing Constant α Using judgment or trial and error Balancing smoothness and responsiveness Usually range from 0.05 to 0.5 low α when stable high α when susceptible to change
  • 38. 38 Techniques for Trend Linear trend linear trend equation Trend-adjusted exponential smoothing (Double exponential smoothing), not required in exams Nonlinear trend (not required in exams)
  • 39. 39 Linear Trend Equation Ft = Forecast for period t t = Specified number of time periods from t = 0 a = Value of Ft at t = 0 b = Slope of the line Ft = a + b t 0 1 2 3 4 5 t Ft
  • 40. 40 Calculating a and b n = Number of periods y = Value of the time series t = Specified number of time periods from t = 0 t n - b = n (ty) - y t 2 ( t) 2      a = y - b t n  
  • 41. Example 5: Calculator sales for a California-based firm over the last 10 weeks are shown in the following table. Week (t) y yt t2 1 2 3 4 5 6 7 8 9 10 700 724 720 728 740 742 758 750 770 775 700 1448 2160 2912 3700 4452 5306 6000 6930 7750 1 4 9 16 25 36 49 64 81 100  55 7407 41358 385
  • 42. 1. Plot the data, and visually check to see if a linear trend line would be appropriate. 2. n = 10,  t = 55,  y =7407,  ty = 41358, t2 = 385 42 Solution to Example 5 b = 10(41358) - 55(7407) 10(385) - 55(55) = 413580- 407385 3850 - 3025 ≈ 7.51 y = 699.40 + 7.51t a = 7407 - 7.51(55) 10 ≈ 699.40 t n - b = n (ty) - y t 2 ( t) 2      a = y - b t n  
  • 43. 43 Solution to Example 5 (Cont.) 3. Then determine the equation of the trend line, and predict sales for weeks 11 and 12. y11 =699.40 + 7.51(11) = 782.01 y12 =699.40 + 7.51(12) = 789.51
  • 44. 44 Solution to Example 5 (Cont.) 660 680 700 720 740 760 780 800 1 2 3 4 5 6 7 8 9 10 Observed Trend line
  • 45. Problem : A pizza boy is trying to forecast the volume of Pizza sold based on the amount of money it has put into advertisement in the local news paper. It has been tracking the relationship between pizza sales and advertisement over the past 4 months. The results are as follows : Pizza Sales Advert. Cost in $ 58 135 43 90 62 145 68 145 Causal Method – Linear trend equation
  • 46. What would happen to pizza sales,if pizza boy invested $150 in advertizing for next month In this problem, pizza sales are the dependent variable (Y) And advertising cost is independent variable Causal Method – Linear trend equation
  • 47. Y X XY X2 Y2 58 135 7830 18225 3364 43 90 3870 8100 1849 62 145 8990 21025 3844 68 145 9860 21025 4624 Total 231 515 30550 68375 13681 X ___ = 4 515 ___ Y ___ = 4 ___ 231 = = 128.75 57.75 Causal Method – Linear trend equation
  • 48. Step 1. Compute parameter b: b = -------------- = nΣ XY- Σ X Σ Y __ nΣ X2- (ΣX)2 0.391 Step 2. Compute parameter a a = = Y-b X 7.41 Step 3. Substitute the value of a and b in the equation Y =a+bX Y = 7.41+ 0.391 X __ __ __ Step 4. Generate a forecast for the dependent variable (Y) Substitute the value for the independent variable (X) Y = 7.41 + 0.391*150= 66 pizzas Causal Method – Linear trend equation
  • 50. 50 Associative Forecasting Associative techniques rely on identification of related variables that can be used to predict the variable of interest (dependent variable) Example 1: Crop yields are related to soil conditions and the amounts and timing of water and fertilizer applications. Example 2: Sales of beef may be related to the price per pound (of beef) and the price of substitutes such as chicken, pork and lamb. Predictor (independent) variables - used to predict values of variable of interest Regression - technique for fitting a line to a set of points
  • 52. 52 Linear Regression The object of linear regression is to obtain an equation of a straight line (Least squares line) that minimizes the sum of squared vertical deviations of the data points from the line. yc = a + b x yc = Predicated (dependent) variable. x = Predictor (independent) variable. a = Value of yc when x = 0. b = Slope of the line. Where
  • 53. 53 Calculating Coefficients a and b x n - b = n (xy) - y x 2 ( x) 2      a = y - b x n   = y – b x n = Number of paired observations where
  • 54. 54 Example 8 – Linear Model Seems Reasonable 593 . 1 132 1796 12 271 132 3529 12 2        b x y xy x2 y2 7 15 105 49 225 2 10 20 4 100 6 13 78 36 169 4 15 60 16 225 14 25 350 196 625 15 27 405 225 729 16 24 384 256 576 12 20 240 144 400 14 27 378 196 729 20 44 880 400 1936 15 34 510 225 1156 7 17 119 49 289 132 271 3529 1796 7159 06 . 5 12 132 593 . 1 271     a n = 12 x n - b = n (xy) - y x 2 ( x) 2      a = y - b x n   = y – b x
  • 55. 55 0 10 20 30 40 50 0 5 10 15 20 25 Computed relationship Example 8 – Linear Model Seems Reasonable 593 . 1 132 1796 12 271 132 3529 12 2        b A straight line is fitted to a set of sample points. x y xy x2 y2 7 15 105 49 225 2 10 20 4 100 6 13 78 36 169 4 15 60 16 225 14 25 350 196 625 15 27 405 225 729 16 24 384 256 576 12 20 240 144 400 14 27 378 196 729 20 44 880 400 1936 15 34 510 225 1156 7 17 119 49 289 132 271 3529 1796 7159 06 . 5 12 132 593 . 1 271     a n = 12 yc = 5.06 +1.593 x
  • 57. 57 Accuracy and Control of Forecasts Error: Difference between the actual value and the value that was predicted for a given period et = At – Ft Forecast errors influence decisions in two somewhat different ways 1. A choice between various forecasting alternatives 2. Evaluate the success or failure of a technique in use
  • 58. 58 Measures of Forecast Accuracy Mean Absolute Deviation (MAD) MAD = Actualt Forecastt   n MAPE = Actualt Forecastt  n Actualt  × 100