SlideShare a Scribd company logo
1 of 24
Supply Chain : Logistics
Week 4
Forecasting Logistics Requirement
Trend..
What do you think will happen to a moving
average or exponential smoothing model
when there is a trend in the data?
Thank You
Thank You
Impact of trend
Sales
Month
Regular exponential
smoothing will always lag
behind the trend.
Can we include trend
analysis in exponential
smoothing?
Actual
Data
Forecast
Thank You
Thank You
Exponential smoothing with trend
t
t
t T
F
FIT 

)
FIT
α(A
FIT
F t
t
t
t 1
1
1 

 


)
FIT
δ(F
T
T t
t
t
t 1
1 
 


FIT: Forecast including trend
δ: Trend smoothing constant
The idea is that the two effects are decoupled,
(F is the forecast without trend and T is the trend component)
Thank You
Thank You
Example: bottled water at Kroger
At Ft Tt FITt
Jan 1325 1380 -10 1370
Feb 1353 1334 -28 1306
Mar 1305 1344 -9 1334
Apr 1275 1311 -21 1290
May 1210 1278 -27 1251
Jun 1218 -43 1175
α = 0.8
δ = 0.5
Exponential Smoothing
with Trend
1150
1200
1250
1300
1350
1400
0 1 2 3 4 5 6 7
Actual
a = 0.2
a = 0.8
a = 0.8, d = 0.5
Thank You
Thank You
Linear regression in forecasting
Linear regression is based on
1. Fitting a straight line to data
2. Explaining the change in one variable through changes
in other variables.
By using linear regression, we are trying to explore which
independent variables affect the dependent variable
dependent variable = a + b  (independent variable)
Thank You
Thank You
Example: do people drink more
when it’s cold?
Alcohol Sales
Average Monthly
Temperature
Which line best
fits the data?
Thank You
Thank You
The best line is the one that
minimizes the error
bX
a
Y 

The predicted line is …
So, the error is …
i
i
ε Y
-
yi

Where: ε is the error
y is the observed value
Y is the predicted value
Thank You
Thank You
Least Squares Method of Linear
Regression
The goal of LSM is to minimize the sum of squared errors…
 2
Min i

Thank You
Thank You
What does that mean?
Alcohol Sales
Average Monthly
Temperature
So LSM tries to
minimize the distance
between the line and
the points!
ε
ε
ε
Thank You
Thank You
Least Squares Method of
Linear Regression
Then the line is defined by
x
b
y
a 

2
2
x
n
x
y
x
n
xy
b





bX
a
Y 

Thank You
Thank You
How can we compare across
forecasting models?
We need a metric that provides estimation of accuracy
Forecast Error
Forecast error = Difference between actual and forecasted
value (also known as residual)
Errors can be:
1. biased (consistent)
2. random
Thank You
Thank You
Measuring Accuracy: MFE
MFE = Mean Forecast Error (Bias)
It is the average error in the observations
n
F
A
n
i
t
t



 1
MFE
1. A more positive or negative MFE implies worse
performance; the forecast is biased.
Thank You
Thank You
Measuring Accuracy: MAD
MAD = Mean Absolute Deviation
It is the average absolute error in the observations
n
F
A
n
i
t
t



 1
MAD
1. Higher MAD implies worse performance.
2. If errors are normally distributed, then σε=1.25MAD
MFE & MAD:
A Dartboard Analogy
Low MFE & MAD:
The forecast errors
are small &
unbiased
An Analogy (cont’d)
Low MFE but high
MAD:
On average, the
arrows hit the
bullseye (so much
for averages!)
MFE & MAD:
An Analogy
High MFE & MAD:
The forecasts
are inaccurate &
biased
Key Point
Forecast must be measured for accuracy!
The most common means of doing so is by
measuring the either the mean absolute
deviation or the standard deviation of the
forecast error
Thank You
Thank You
Measuring Accuracy: Tracking signal
The tracking signal is a measure of how often our estimations
have been above or below the actual value. It is used to decide
when to re-evaluate using a model.
MAD
RSFE
TS 




n
i
t
t )
F
(A
1
RSFE
Positive tracking signal: most of the time actual values are
above our forecasted values
Negative tracking signal: most of the time actual values are
below our forecasted values
If TS > 4 or < -4, investigate!
Thank You
Thank You
Example: bottled water at Kroger
Month Actual Forecast
Jan 1,325 1370
Feb 1,353 1306
Mar 1,305 1334
Apr 1,275 1290
May 1,210 1251
Jun 1,195 1175
Month Actual Forecast
Jan 1,325 1,370
Feb 1,353 1,361
Mar 1,305 1,359
Apr 1,275 1,349
May 1,210 1,334
Jun 1,195 1,309
Exponential Smoothing
( = 0.2)
Forecasting with trend
( = 0.8)
( = 0.5)
Question: Which one is better?
Thank You
Thank You
MAD TS
Exponential
Smoothing
70 - 6.0
Forecast
Including Trend
33 - 2.0
Bottled water at Kroger:
compare MAD and TS
We observe that FIT performs a lot better than ES
Conclusion: Probably there is trend in the data which
Exponential smoothing cannot capture
Which Forecasting Method
Should You Use
• Gather the historical data of what you want to
forecast
• Divide data into initiation set and evaluation set
• Use the first set to develop the models
• Use the second set to evaluate
• Compare the MADs and MFEs of each model
Thank You
Thank You
Thank You

More Related Content

Similar to PPT4 - Forecasting Logistics Requirement

Demand forecasting methods 1 gp
Demand forecasting methods 1 gpDemand forecasting methods 1 gp
Demand forecasting methods 1 gpPUTTU GURU PRASAD
 
Forecasting demand planning
Forecasting demand planningForecasting demand planning
Forecasting demand planningManonmaniA3
 
Quantitative forecasting
Quantitative forecastingQuantitative forecasting
Quantitative forecastingRavi Loriya
 
Forecasting of demand (management)
Forecasting of demand (management)Forecasting of demand (management)
Forecasting of demand (management)Manthan Chavda
 
Forecasting
ForecastingForecasting
Forecasting3abooodi
 
Basic Business Forecasting
Basic Business ForecastingBasic Business Forecasting
Basic Business ForecastingEd Dansereau
 
forecastingtechniques 2.pdf
forecastingtechniques 2.pdfforecastingtechniques 2.pdf
forecastingtechniques 2.pdfvijay511413
 
IBM401 Lecture 12
IBM401 Lecture 12IBM401 Lecture 12
IBM401 Lecture 12saark
 
ForecastingBUS255 GoalsBy the end of this chapter, y.docx
ForecastingBUS255 GoalsBy the end of this chapter, y.docxForecastingBUS255 GoalsBy the end of this chapter, y.docx
ForecastingBUS255 GoalsBy the end of this chapter, y.docxbudbarber38650
 
Holtwinters terakhir lengkap
Holtwinters terakhir lengkapHoltwinters terakhir lengkap
Holtwinters terakhir lengkapZulyy Astutik
 

Similar to PPT4 - Forecasting Logistics Requirement (20)

Forecasting
ForecastingForecasting
Forecasting
 
Forecasting
ForecastingForecasting
Forecasting
 
Demand forecasting methods 1 gp
Demand forecasting methods 1 gpDemand forecasting methods 1 gp
Demand forecasting methods 1 gp
 
forecasting
forecastingforecasting
forecasting
 
Forecasting demand planning
Forecasting demand planningForecasting demand planning
Forecasting demand planning
 
Quantitative forecasting
Quantitative forecastingQuantitative forecasting
Quantitative forecasting
 
Forecasting of demand (management)
Forecasting of demand (management)Forecasting of demand (management)
Forecasting of demand (management)
 
Forecasting
ForecastingForecasting
Forecasting
 
Forecasting.ppt
Forecasting.pptForecasting.ppt
Forecasting.ppt
 
Basic Business Forecasting
Basic Business ForecastingBasic Business Forecasting
Basic Business Forecasting
 
forecastingtechniques 2.pdf
forecastingtechniques 2.pdfforecastingtechniques 2.pdf
forecastingtechniques 2.pdf
 
IBM401 Lecture 12
IBM401 Lecture 12IBM401 Lecture 12
IBM401 Lecture 12
 
Forecasting techniques
Forecasting techniquesForecasting techniques
Forecasting techniques
 
ForecastingBUS255 GoalsBy the end of this chapter, y.docx
ForecastingBUS255 GoalsBy the end of this chapter, y.docxForecastingBUS255 GoalsBy the end of this chapter, y.docx
ForecastingBUS255 GoalsBy the end of this chapter, y.docx
 
forecasting methods
forecasting methodsforecasting methods
forecasting methods
 
Holtwinters terakhir lengkap
Holtwinters terakhir lengkapHoltwinters terakhir lengkap
Holtwinters terakhir lengkap
 
Sales Forecasting Basics
Sales Forecasting BasicsSales Forecasting Basics
Sales Forecasting Basics
 
Chap003 Forecasting
Chap003    ForecastingChap003    Forecasting
Chap003 Forecasting
 
demand forecasting
demand forecastingdemand forecasting
demand forecasting
 
Time Series Decomposition
Time Series DecompositionTime Series Decomposition
Time Series Decomposition
 

More from Binus Online Learning (20)

LN s12-machine vision-s2
LN s12-machine vision-s2LN s12-machine vision-s2
LN s12-machine vision-s2
 
LN s11-machine vision-s2
LN s11-machine vision-s2LN s11-machine vision-s2
LN s11-machine vision-s2
 
LN s10-machine vision-s2
LN s10-machine vision-s2LN s10-machine vision-s2
LN s10-machine vision-s2
 
LN s09-machine vision-s2
LN s09-machine vision-s2LN s09-machine vision-s2
LN s09-machine vision-s2
 
LN s08-machine vision-s2
LN s08-machine vision-s2LN s08-machine vision-s2
LN s08-machine vision-s2
 
LN s07-machine vision-s2
LN s07-machine vision-s2LN s07-machine vision-s2
LN s07-machine vision-s2
 
LN s06-machine vision-s2
LN s06-machine vision-s2LN s06-machine vision-s2
LN s06-machine vision-s2
 
LN s05-machine vision-s2
LN s05-machine vision-s2LN s05-machine vision-s2
LN s05-machine vision-s2
 
LN s04-machine vision-s2
LN s04-machine vision-s2LN s04-machine vision-s2
LN s04-machine vision-s2
 
LN s03-machine vision-s2
LN s03-machine vision-s2LN s03-machine vision-s2
LN s03-machine vision-s2
 
LN s02-machine vision-s2
LN s02-machine vision-s2LN s02-machine vision-s2
LN s02-machine vision-s2
 
LN s01-machine vision-s2
LN s01-machine vision-s2LN s01-machine vision-s2
LN s01-machine vision-s2
 
PPT s12-machine vision-s2
PPT s12-machine vision-s2PPT s12-machine vision-s2
PPT s12-machine vision-s2
 
PPT s11-machine vision-s2
PPT s11-machine vision-s2PPT s11-machine vision-s2
PPT s11-machine vision-s2
 
PPT s10-machine vision-s2
PPT s10-machine vision-s2PPT s10-machine vision-s2
PPT s10-machine vision-s2
 
PPT s09-machine vision-s2
PPT s09-machine vision-s2PPT s09-machine vision-s2
PPT s09-machine vision-s2
 
PPT s08-machine vision-s2
PPT s08-machine vision-s2PPT s08-machine vision-s2
PPT s08-machine vision-s2
 
PPT s07-machine vision-s2
PPT s07-machine vision-s2PPT s07-machine vision-s2
PPT s07-machine vision-s2
 
PPT s06-machine vision-s2
PPT s06-machine vision-s2PPT s06-machine vision-s2
PPT s06-machine vision-s2
 
PPT s05-machine vision-s2
PPT s05-machine vision-s2PPT s05-machine vision-s2
PPT s05-machine vision-s2
 

Recently uploaded

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).pptxEsquimalt MFRC
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
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.pptxDenish Jangid
 
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.pdfQucHHunhnh
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
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).pdfssuserdda66b
 
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-701bronxfugly43
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
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...Association for Project Management
 
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 FellowsMebane Rash
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 

Recently uploaded (20)

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
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
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
 
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
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
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
 
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
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
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...
 
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
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 

PPT4 - Forecasting Logistics Requirement

  • 1. Supply Chain : Logistics Week 4 Forecasting Logistics Requirement
  • 2. Trend.. What do you think will happen to a moving average or exponential smoothing model when there is a trend in the data?
  • 3. Thank You Thank You Impact of trend Sales Month Regular exponential smoothing will always lag behind the trend. Can we include trend analysis in exponential smoothing? Actual Data Forecast
  • 4. Thank You Thank You Exponential smoothing with trend t t t T F FIT   ) FIT α(A FIT F t t t t 1 1 1       ) FIT δ(F T T t t t t 1 1      FIT: Forecast including trend δ: Trend smoothing constant The idea is that the two effects are decoupled, (F is the forecast without trend and T is the trend component)
  • 5. Thank You Thank You Example: bottled water at Kroger At Ft Tt FITt Jan 1325 1380 -10 1370 Feb 1353 1334 -28 1306 Mar 1305 1344 -9 1334 Apr 1275 1311 -21 1290 May 1210 1278 -27 1251 Jun 1218 -43 1175 α = 0.8 δ = 0.5
  • 6. Exponential Smoothing with Trend 1150 1200 1250 1300 1350 1400 0 1 2 3 4 5 6 7 Actual a = 0.2 a = 0.8 a = 0.8, d = 0.5
  • 7. Thank You Thank You Linear regression in forecasting Linear regression is based on 1. Fitting a straight line to data 2. Explaining the change in one variable through changes in other variables. By using linear regression, we are trying to explore which independent variables affect the dependent variable dependent variable = a + b  (independent variable)
  • 8. Thank You Thank You Example: do people drink more when it’s cold? Alcohol Sales Average Monthly Temperature Which line best fits the data?
  • 9. Thank You Thank You The best line is the one that minimizes the error bX a Y   The predicted line is … So, the error is … i i ε Y - yi  Where: ε is the error y is the observed value Y is the predicted value
  • 10. Thank You Thank You Least Squares Method of Linear Regression The goal of LSM is to minimize the sum of squared errors…  2 Min i 
  • 11. Thank You Thank You What does that mean? Alcohol Sales Average Monthly Temperature So LSM tries to minimize the distance between the line and the points! ε ε ε
  • 12. Thank You Thank You Least Squares Method of Linear Regression Then the line is defined by x b y a   2 2 x n x y x n xy b      bX a Y  
  • 13. Thank You Thank You How can we compare across forecasting models? We need a metric that provides estimation of accuracy Forecast Error Forecast error = Difference between actual and forecasted value (also known as residual) Errors can be: 1. biased (consistent) 2. random
  • 14. Thank You Thank You Measuring Accuracy: MFE MFE = Mean Forecast Error (Bias) It is the average error in the observations n F A n i t t     1 MFE 1. A more positive or negative MFE implies worse performance; the forecast is biased.
  • 15. Thank You Thank You Measuring Accuracy: MAD MAD = Mean Absolute Deviation It is the average absolute error in the observations n F A n i t t     1 MAD 1. Higher MAD implies worse performance. 2. If errors are normally distributed, then σε=1.25MAD
  • 16. MFE & MAD: A Dartboard Analogy Low MFE & MAD: The forecast errors are small & unbiased
  • 17. An Analogy (cont’d) Low MFE but high MAD: On average, the arrows hit the bullseye (so much for averages!)
  • 18. MFE & MAD: An Analogy High MFE & MAD: The forecasts are inaccurate & biased
  • 19. Key Point Forecast must be measured for accuracy! The most common means of doing so is by measuring the either the mean absolute deviation or the standard deviation of the forecast error
  • 20. Thank You Thank You Measuring Accuracy: Tracking signal The tracking signal is a measure of how often our estimations have been above or below the actual value. It is used to decide when to re-evaluate using a model. MAD RSFE TS      n i t t ) F (A 1 RSFE Positive tracking signal: most of the time actual values are above our forecasted values Negative tracking signal: most of the time actual values are below our forecasted values If TS > 4 or < -4, investigate!
  • 21. Thank You Thank You Example: bottled water at Kroger Month Actual Forecast Jan 1,325 1370 Feb 1,353 1306 Mar 1,305 1334 Apr 1,275 1290 May 1,210 1251 Jun 1,195 1175 Month Actual Forecast Jan 1,325 1,370 Feb 1,353 1,361 Mar 1,305 1,359 Apr 1,275 1,349 May 1,210 1,334 Jun 1,195 1,309 Exponential Smoothing ( = 0.2) Forecasting with trend ( = 0.8) ( = 0.5) Question: Which one is better?
  • 22. Thank You Thank You MAD TS Exponential Smoothing 70 - 6.0 Forecast Including Trend 33 - 2.0 Bottled water at Kroger: compare MAD and TS We observe that FIT performs a lot better than ES Conclusion: Probably there is trend in the data which Exponential smoothing cannot capture
  • 23. Which Forecasting Method Should You Use • Gather the historical data of what you want to forecast • Divide data into initiation set and evaluation set • Use the first set to develop the models • Use the second set to evaluate • Compare the MADs and MFEs of each model