SlideShare a Scribd company logo
1 of 56
ForecastingForecasting
ā€œā€œPrediction is very difficult,Prediction is very difficult,
especially if it's about the future.especially if it's about the future.ā€ā€
Nils BohrNils Bohr
Objectives
ā€¢ Give the fundamental rules of forecasting
ā€¢ Calculate a forecast using a moving average,
weighted moving average, and exponential
smoothing
ā€¢ Calculate the accuracy of a forecast
What is forecasting?
Forecasting is a tool used for predicting
future demand based on
past demand information.
Why is forecasting important?
Demand for products and services is usually uncertain.
Forecasting can be used forā€¦
ā€¢ Strategic planning (long range planning)
ā€¢ Finance and accounting (budgets and cost controls)
ā€¢ Marketing (future sales, new products)
ā€¢ Production and operations
What is forecasting all about?
Demand for Mercedes E Class
Time
Jan Feb Mar Apr May Jun Jul Aug
Actual demand (past sales)
Predicted demand
We try to predict the
future by looking back
at the past
Predicted
demand
looking
back six
months
From the March 10, 2006 WSJ:
Ahead of the Oscars, an economics professor, at the request of Weekend
Journal, processed data about this year's films nominated for best picture
through his statistical model and predicted with 97.4% certainty that
"Brokeback Mountain" would win. Oops. Last year, the professor tuned his
model until it correctly predicted 18 of the previous 20 best-picture awards;
then it predicted that "The Aviator" would win; "Million Dollar Baby" won
instead.
Sometimes models tuned to prior results don't have great predictive powers.
Whatā€™s Forecasting All About?
Some general characteristics of forecasts
ā€¢ Forecasts are always wrong
ā€¢ Forecasts are more accurate for groups or families of
items
ā€¢ Forecasts are more accurate for shorter time periods
ā€¢ Every forecast should include an error estimate
ā€¢ Forecasts are no substitute for calculated demand.
Key issues in forecasting
1. A forecast is only as good as the information included in
the forecast (past data)
2. History is not a perfect predictor of the future (i.e.: there is
no such thing as a perfect forecast)
REMEMBER: Forecasting is based on the assumption
that the past predicts the future! When forecasting, think
carefully whether or not the past is strongly related to
what you expect to see in the futureā€¦
Example: Mercedes E-class vs. M-class Sales
Month E-class Sales M-class Sales
Jan 23,345 -
Feb 22,034 -
Mar 21,453 -
Apr 24,897 -
May 23,561 -
Jun 22,684 -
Jul ? ?
Question: Can we predict the new model M-class sales based on
the data in the the table?
Answer: Maybe... We need to consider how much the two
markets have in common
What should we consider when looking at
past demand data?
ā€¢ Trends
ā€¢ Seasonality
ā€¢ Cyclical elements
ā€¢ Autocorrelation
ā€¢ Random variation
Some Important Questions
ā€¢ What is the purpose of the forecast?
ā€¢ Which systems will use the forecast?
ā€¢ How important is the past in estimating the future?
Answers will help determine time horizons, techniques,
and level of detail for the forecast.
Types of forecasting methods
Rely on data and
analytical techniques.
Rely on subjective
opinions from one or
more experts.
Qualitative methods Quantitative methods
Qualitative forecasting methods
Grass Roots: deriving future demand by asking the person
closest to the customer.
Market Research: trying to identify customer habits; new
product ideas.
Panel Consensus: deriving future estimations from the
synergy of a panel of experts in the area.
Historical Analogy: identifying another similar market.
Delphi Method: similar to the panel consensus but with
concealed identities.
Quantitative forecasting methods
Time Series: models that predict future demand based
on past history trends
Causal Relationship: models that use statistical
techniques to establish relationships between various
items and demand
Simulation: models that can incorporate some
randomness and non-linear effects
How should we pick our forecasting model?
1. Data availability
2. Time horizon for the forecast
3. Required accuracy
4. Required Resources
Time Series: Moving average
ā€¢ The moving average model uses the last t periods in order to
predict demand in period t+1.
ā€¢ There can be two types of moving average models: simple
moving average and weighted moving average
ā€¢ The moving average model assumption is that the most
accurate prediction of future demand is a simple (linear)
combination of past demand.
Time series: simple moving average
In the simple moving average models the forecast value is
Ft+1 =
At + At-1 + ā€¦ + At-n
n
t is the current period.
Ft+1 is the forecast for next period
n is the forecasting horizon (how far back we look),
A is the actual sales figure from each period.
Example: forecasting sales at Kroger
Kroger sells (among other stuff) bottled spring water
Month Bottles
Jan 1,325
Feb 1,353
Mar 1,305
Apr 1,275
May 1,210
Jun 1,195
Jul ?
What will
the sales
be for
July?
What if we use a 3-month simple moving average?
FJul =
AJun + AMay + AApr
3
= 1,227
What if we use a 5-month simple moving average?
FJul =
AJun + AMay + AApr + AMar + AFeb
5
= 1,268
What do we observe?
1000
1050
1100
1150
1200
1250
1300
1350
1400
0 1 2 3 4 5 6 7 8
3-month
MA forecast
5-month
MA forecast
5-month average smoothes data more;
3-month average more responsive
Stability versus responsiveness in moving averages
500
600
700
800
900
1000
1 2 3 4 5 6 7 8 9 10 11 12
Week
Demand
Demand
3-Week
6-Week
Time series: weighted moving average
We may want to give more importance to some of the dataā€¦
Ft+1 = wt At + wt-1 At-1 + ā€¦ + wt-n At-n
wt + wt-1 + ā€¦ + wt-n = 1
t is the current period.
Ft+1 is the forecast for next period
n is the forecasting horizon (how far back we look),
A is the actual sales figure from each period.
w is the importance (weight) we give to each period
Why do we need the WMA models?
Because of the ability to give more importance to what
happened recently, without losing the impact of the past.
Demand for Mercedes E-class
Time
Jan Feb Mar Apr May Jun Jul Aug
Actual demand (past sales)
Prediction when using 6-month SMA
Prediction when using 6-months WMA
For a 6-month
SMA, attributing
equal weights to all
past data we miss
the downward trend
Example: Kroger sales of bottled water
Month Bottles
Jan 1,325
Feb 1,353
Mar 1,305
Apr 1,275
May 1,210
Jun 1,195
Jul ?
What will
be the
sales for
July?
6-month simple moving averageā€¦
In other words, because we used equal weights, a slight downward
trend that actually exists is not observedā€¦
FJul =
AJun + AMay + AApr + AMar + AFeb + AJan
6
= 1,277
What if we use a weighted moving average?
Make the weights for the last three months more than the first
three monthsā€¦
6-month
SMA
WMA
40% / 60%
WMA
30% / 70%
WMA
20% / 80%
July
Forecast
1,277 1,267 1,257 1,247
The higher the importance we give to recent data, the more we
pick up the declining trend in our forecast.
How do we choose weights?
1. Depending on the importance that we feel past data has
2. Depending on known seasonality (weights of past data
can also be zero).
WMA is better than SMA
because of the ability to
vary the weights!
Time Series: Exponential Smoothing (ES)
Main idea: The prediction of the future depends mostly on the
most recent observation, and on the error for the latest forecast.
Smoothi
ng
constant
alpha Ī±
Denotes the importance
of the past error
Why use exponential smoothing?
1. Uses less storage space for data
2. Extremely accurate
3. Easy to understand
4. Little calculation complexity
5. There are simple accuracy tests
Exponential smoothing: the method
Assume that we are currently in period t. We calculated the
forecast for the last period (Ft-1) and we know the actual demand
last period (At-1) ā€¦
)( 111 āˆ’āˆ’āˆ’ āˆ’+= tttt FAFF Ī±
The smoothing constant Ī± expresses how much our forecast will
react to observed differencesā€¦
If Ī± is low: there is little reaction to differences.
If Ī± is high: there is a lot of reaction to differences.
Example: bottled water at Kroger
Month Actual Forecasted
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,309
Ī± = 0.2
Example: bottled water at Kroger
Ī± = 0.8Month Actual Forecasted
Jan 1,325 1,370
Feb 1,353 1,334
Mar 1,305 1,349
Apr 1,275 1,314
May 1,210 1,283
Jun ? 1,225
Impact of the smoothing constant
1200
1220
1240
1260
1280
1300
1320
1340
1360
1380
0 1 2 3 4 5 6 7
Actual
a = 0.2
a = 0.8
Trend..
What do you think will happen to a moving
average or exponential smoothing model when
there is a trend in the data?
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
Exponential smoothing with trend
ttt TFFIT +=
)FITĪ±(AFITF tttt 111 āˆ’āˆ’āˆ’ āˆ’+=
)FITĪ“(FTT tttt 11 āˆ’āˆ’ āˆ’+=
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)
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
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)
Example: do people drink more when itā€™s cold?
Alcohol Sales
Average Monthly
Temperature
Which line best
fits the data?
The best line is the one that minimizes the error
bXaY +=
The predicted line is ā€¦
So, the error is ā€¦
iiĪµ Y-yi=
Where: Īµ is the error
y is the observed value
Y is the predicted value
Least Squares Method of Linear Regression
The goal of LSM is to minimize the sum of squared errorsā€¦
āˆ‘ 2
Min iĪµ
What does that mean?
Alcohol Sales
Average Monthly
Temperature
So LSM tries to
minimize the distance
between the line and
the points!
Īµ
Īµ
Īµ
Least Squares Method of Linear Regression
Then the line is defined by
xbya āˆ’=
22
xnx
yxnxy
b
āˆ’
āˆ’
=
āˆ‘
āˆ‘
bXaY +=
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
Measuring Accuracy: MFE
MFE = Mean Forecast Error (Bias)
It is the average error in the observations
n
FA
n
i
ttāˆ‘=
āˆ’
= 1
MFE
1. A more positive or negative MFE implies worse
performance; the forecast is biased.
Measuring Accuracy: MAD
MAD = Mean Absolute Deviation
It is the average absolute error in the observations
n
FA
n
i
ttāˆ‘=
āˆ’
= 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
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
tt )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!
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?
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

More Related Content

What's hot

Forecasting Techniques
Forecasting TechniquesForecasting Techniques
Forecasting Techniquesguest865c0e0c
Ā 
Presentation on forecasting
Presentation on forecasting Presentation on forecasting
Presentation on forecasting Muhammad Sharjeel
Ā 
Forecasting
ForecastingForecasting
ForecastingRohit Kumar
Ā 
Forecasting Models & Their Applications
Forecasting Models & Their ApplicationsForecasting Models & Their Applications
Forecasting Models & Their ApplicationsMahmudul Hasan
Ā 
FORECASTING MODELS
FORECASTING MODELSFORECASTING MODELS
FORECASTING MODELSAKHISHA P. A.
Ā 
FORECASTING TECHNIQUES OR MODELS : BUSINESS ANALYTICS
FORECASTING TECHNIQUES OR MODELS : BUSINESS ANALYTICSFORECASTING TECHNIQUES OR MODELS : BUSINESS ANALYTICS
FORECASTING TECHNIQUES OR MODELS : BUSINESS ANALYTICSNavya Jayakumar
Ā 
Forecasting-Exponential Smoothing
Forecasting-Exponential SmoothingForecasting-Exponential Smoothing
Forecasting-Exponential Smoothingiceu novida adinata
Ā 
Forecasting Techniques
Forecasting TechniquesForecasting Techniques
Forecasting TechniquesAnand Subramaniam
Ā 
Time series and forecasting
Time series and forecastingTime series and forecasting
Time series and forecastingmvskrishna
Ā 
Demand Forecasting
Demand ForecastingDemand Forecasting
Demand ForecastingAnupam Basu
Ā 
Demand forecasting.
Demand forecasting.Demand forecasting.
Demand forecasting.ram_mulaveesala
Ā 
Demand forecasting
Demand  forecasting Demand  forecasting
Demand forecasting Rohit Parkar
Ā 
Forecasting exponential smoothing
Forecasting exponential smoothingForecasting exponential smoothing
Forecasting exponential smoothingDoiyan
Ā 
Operations management forecasting
Operations management   forecastingOperations management   forecasting
Operations management forecastingTwinkle Constantino
Ā 
Trend analysis and time Series Analysis
Trend analysis and time Series Analysis Trend analysis and time Series Analysis
Trend analysis and time Series Analysis Amna Kouser
Ā 
Demand forecast process and inventory management
Demand forecast process and inventory managementDemand forecast process and inventory management
Demand forecast process and inventory managementAbhishek Kumar
Ā 
Time series analysis
Time series analysisTime series analysis
Time series analysisFaltu Focat
Ā 

What's hot (20)

Forecasting Techniques
Forecasting TechniquesForecasting Techniques
Forecasting Techniques
Ā 
Forecasting
ForecastingForecasting
Forecasting
Ā 
Presentation on forecasting
Presentation on forecasting Presentation on forecasting
Presentation on forecasting
Ā 
Forecasting
ForecastingForecasting
Forecasting
Ā 
Forecasting Models & Their Applications
Forecasting Models & Their ApplicationsForecasting Models & Their Applications
Forecasting Models & Their Applications
Ā 
FORECASTING MODELS
FORECASTING MODELSFORECASTING MODELS
FORECASTING MODELS
Ā 
FORECASTING TECHNIQUES OR MODELS : BUSINESS ANALYTICS
FORECASTING TECHNIQUES OR MODELS : BUSINESS ANALYTICSFORECASTING TECHNIQUES OR MODELS : BUSINESS ANALYTICS
FORECASTING TECHNIQUES OR MODELS : BUSINESS ANALYTICS
Ā 
Forecasting-Exponential Smoothing
Forecasting-Exponential SmoothingForecasting-Exponential Smoothing
Forecasting-Exponential Smoothing
Ā 
Forecasting Techniques
Forecasting TechniquesForecasting Techniques
Forecasting Techniques
Ā 
Time series and forecasting
Time series and forecastingTime series and forecasting
Time series and forecasting
Ā 
Demand Forecasting
Demand ForecastingDemand Forecasting
Demand Forecasting
Ā 
Demand forecasting.
Demand forecasting.Demand forecasting.
Demand forecasting.
Ā 
Demand forecasting
Demand  forecasting Demand  forecasting
Demand forecasting
Ā 
Forecasting
ForecastingForecasting
Forecasting
Ā 
Forecasting exponential smoothing
Forecasting exponential smoothingForecasting exponential smoothing
Forecasting exponential smoothing
Ā 
Operations management forecasting
Operations management   forecastingOperations management   forecasting
Operations management forecasting
Ā 
Time series
Time seriesTime series
Time series
Ā 
Trend analysis and time Series Analysis
Trend analysis and time Series Analysis Trend analysis and time Series Analysis
Trend analysis and time Series Analysis
Ā 
Demand forecast process and inventory management
Demand forecast process and inventory managementDemand forecast process and inventory management
Demand forecast process and inventory management
Ā 
Time series analysis
Time series analysisTime series analysis
Time series analysis
Ā 

Similar to Forecasting

demand forecasting
demand forecastingdemand forecasting
demand forecastingleneeshngopal
Ā 
forecasting
forecastingforecasting
forecastingRINUSATHYAN
Ā 
Holtwinters terakhir lengkap
Holtwinters terakhir lengkapHoltwinters terakhir lengkap
Holtwinters terakhir lengkapZulyy Astutik
Ā 
1.3-CHAPTER 13 FORECASTING_BA_UDineshK.pptx
1.3-CHAPTER 13 FORECASTING_BA_UDineshK.pptx1.3-CHAPTER 13 FORECASTING_BA_UDineshK.pptx
1.3-CHAPTER 13 FORECASTING_BA_UDineshK.pptxDeepGondaliya3
Ā 
Chapter-3_Heizer_S1.pptx
Chapter-3_Heizer_S1.pptxChapter-3_Heizer_S1.pptx
Chapter-3_Heizer_S1.pptxEdwardDelaCruz14
Ā 
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 businessAnuyaK1
Ā 
Chapter 18 Part I
Chapter 18 Part IChapter 18 Part I
Chapter 18 Part IMatthew L Levy
Ā 
IFTA2020 Kei Nakagawa
IFTA2020 Kei NakagawaIFTA2020 Kei Nakagawa
IFTA2020 Kei NakagawaKei Nakagawa
Ā 
Demand forecasting methods 1 gp
Demand forecasting methods 1 gpDemand forecasting methods 1 gp
Demand forecasting methods 1 gpPUTTU GURU PRASAD
Ā 
Forecasting of demand (management)
Forecasting of demand (management)Forecasting of demand (management)
Forecasting of demand (management)Manthan Chavda
Ā 
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 aRai University
Ā 
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 GATEAditya Pal
Ā 
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
Ā 
2 session 2a_hp case study_2010_cfvg
2 session 2a_hp case study_2010_cfvg2 session 2a_hp case study_2010_cfvg
2 session 2a_hp case study_2010_cfvgkimsach
Ā 
Demand Forecasting.pptx
Demand Forecasting.pptxDemand Forecasting.pptx
Demand Forecasting.pptxkarthigeyanl
Ā 
PPT4 - Forecasting Logistics Requirement
PPT4 - Forecasting Logistics RequirementPPT4 - Forecasting Logistics Requirement
PPT4 - Forecasting Logistics RequirementBinus Online Learning
Ā 

Similar to Forecasting (20)

demand forecasting
demand forecastingdemand forecasting
demand forecasting
Ā 
Chap011
Chap011Chap011
Chap011
Ā 
forecasting
forecastingforecasting
forecasting
Ā 
Holtwinters terakhir lengkap
Holtwinters terakhir lengkapHoltwinters terakhir lengkap
Holtwinters terakhir lengkap
Ā 
1.3-CHAPTER 13 FORECASTING_BA_UDineshK.pptx
1.3-CHAPTER 13 FORECASTING_BA_UDineshK.pptx1.3-CHAPTER 13 FORECASTING_BA_UDineshK.pptx
1.3-CHAPTER 13 FORECASTING_BA_UDineshK.pptx
Ā 
Chapter-3_Heizer_S1.pptx
Chapter-3_Heizer_S1.pptxChapter-3_Heizer_S1.pptx
Chapter-3_Heizer_S1.pptx
Ā 
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
Ā 
Chapter 18 Part I
Chapter 18 Part IChapter 18 Part I
Chapter 18 Part I
Ā 
IFTA2020 Kei Nakagawa
IFTA2020 Kei NakagawaIFTA2020 Kei Nakagawa
IFTA2020 Kei Nakagawa
Ā 
Demand forecasting methods 1 gp
Demand forecasting methods 1 gpDemand forecasting methods 1 gp
Demand forecasting methods 1 gp
Ā 
Forecasting of demand (management)
Forecasting of demand (management)Forecasting of demand (management)
Forecasting of demand (management)
Ā 
Forecasting
ForecastingForecasting
Forecasting
Ā 
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
Ā 
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
Ā 
Forecasting
ForecastingForecasting
Forecasting
Ā 
Forecasting.ppt
Forecasting.pptForecasting.ppt
Forecasting.ppt
Ā 
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
Ā 
2 session 2a_hp case study_2010_cfvg
2 session 2a_hp case study_2010_cfvg2 session 2a_hp case study_2010_cfvg
2 session 2a_hp case study_2010_cfvg
Ā 
Demand Forecasting.pptx
Demand Forecasting.pptxDemand Forecasting.pptx
Demand Forecasting.pptx
Ā 
PPT4 - Forecasting Logistics Requirement
PPT4 - Forecasting Logistics RequirementPPT4 - Forecasting Logistics Requirement
PPT4 - Forecasting Logistics Requirement
Ā 

More from Irfan Hussain

43 fb,price index, diabeties
43 fb,price index, diabeties43 fb,price index, diabeties
43 fb,price index, diabetiesIrfan Hussain
Ā 
40 child labour,employment system,dollar rate
40 child labour,employment system,dollar rate40 child labour,employment system,dollar rate
40 child labour,employment system,dollar rateIrfan Hussain
Ā 
39 onlineshopping,flood,adr
39 onlineshopping,flood,adr39 onlineshopping,flood,adr
39 onlineshopping,flood,adrIrfan Hussain
Ā 
35 live stoke of pakistan ,retirement age ,rural population in pakistan
35 live stoke of pakistan ,retirement age ,rural population in pakistan35 live stoke of pakistan ,retirement age ,rural population in pakistan
35 live stoke of pakistan ,retirement age ,rural population in pakistanIrfan Hussain
Ā 
30 unclean drinking water and its affects, transport system
30 unclean drinking water and its affects, transport system30 unclean drinking water and its affects, transport system
30 unclean drinking water and its affects, transport systemIrfan Hussain
Ā 
29 popltn sutrctre,labour employmnt,personal saving
29 popltn sutrctre,labour employmnt,personal saving29 popltn sutrctre,labour employmnt,personal saving
29 popltn sutrctre,labour employmnt,personal savingIrfan Hussain
Ā 
28 racism,manufacturing activity,alcohol addictn
28 racism,manufacturing activity,alcohol addictn28 racism,manufacturing activity,alcohol addictn
28 racism,manufacturing activity,alcohol addictnIrfan Hussain
Ā 
27 educatn budgt,selfie,mp
27 educatn budgt,selfie,mp27 educatn budgt,selfie,mp
27 educatn budgt,selfie,mpIrfan Hussain
Ā 
26 age structure, twitter, joint family system
26 age structure, twitter, joint family system26 age structure, twitter, joint family system
26 age structure, twitter, joint family systemIrfan Hussain
Ā 
25 retail trade,dovorce causes,crude death rate
25 retail trade,dovorce causes,crude death rate25 retail trade,dovorce causes,crude death rate
25 retail trade,dovorce causes,crude death rateIrfan Hussain
Ā 
24 utility stores, functions, load shading, transport
24 utility stores, functions, load shading, transport24 utility stores, functions, load shading, transport
24 utility stores, functions, load shading, transportIrfan Hussain
Ā 
23 stock market
23 stock market23 stock market
23 stock marketIrfan Hussain
Ā 
21 production of electricity,deforestion,sex ratio
21 production of electricity,deforestion,sex ratio21 production of electricity,deforestion,sex ratio
21 production of electricity,deforestion,sex ratioIrfan Hussain
Ā 
20 agricultre,gold,insurance policy
20 agricultre,gold,insurance policy20 agricultre,gold,insurance policy
20 agricultre,gold,insurance policyIrfan Hussain
Ā 
19 urbanization,import and export,culture of pakistan
19 urbanization,import and export,culture of pakistan19 urbanization,import and export,culture of pakistan
19 urbanization,import and export,culture of pakistanIrfan Hussain
Ā 
18(10) birth and death rate,house rent,income and wages
18(10) birth and death rate,house rent,income and wages18(10) birth and death rate,house rent,income and wages
18(10) birth and death rate,house rent,income and wagesIrfan Hussain
Ā 
18 currency strength,fertility rate,whatsapp
18 currency strength,fertility rate,whatsapp18 currency strength,fertility rate,whatsapp
18 currency strength,fertility rate,whatsappIrfan Hussain
Ā 
17 public revenue, tax,gov spndng
17 public revenue, tax,gov spndng17 public revenue, tax,gov spndng
17 public revenue, tax,gov spndngIrfan Hussain
Ā 
16 migrtion,tax revenue,total revenue
16 migrtion,tax revenue,total revenue16 migrtion,tax revenue,total revenue
16 migrtion,tax revenue,total revenueIrfan Hussain
Ā 
14 e commerce,water pollution,positive and negative effect of technology
14 e commerce,water pollution,positive and negative effect of technology14 e commerce,water pollution,positive and negative effect of technology
14 e commerce,water pollution,positive and negative effect of technologyIrfan Hussain
Ā 

More from Irfan Hussain (20)

43 fb,price index, diabeties
43 fb,price index, diabeties43 fb,price index, diabeties
43 fb,price index, diabeties
Ā 
40 child labour,employment system,dollar rate
40 child labour,employment system,dollar rate40 child labour,employment system,dollar rate
40 child labour,employment system,dollar rate
Ā 
39 onlineshopping,flood,adr
39 onlineshopping,flood,adr39 onlineshopping,flood,adr
39 onlineshopping,flood,adr
Ā 
35 live stoke of pakistan ,retirement age ,rural population in pakistan
35 live stoke of pakistan ,retirement age ,rural population in pakistan35 live stoke of pakistan ,retirement age ,rural population in pakistan
35 live stoke of pakistan ,retirement age ,rural population in pakistan
Ā 
30 unclean drinking water and its affects, transport system
30 unclean drinking water and its affects, transport system30 unclean drinking water and its affects, transport system
30 unclean drinking water and its affects, transport system
Ā 
29 popltn sutrctre,labour employmnt,personal saving
29 popltn sutrctre,labour employmnt,personal saving29 popltn sutrctre,labour employmnt,personal saving
29 popltn sutrctre,labour employmnt,personal saving
Ā 
28 racism,manufacturing activity,alcohol addictn
28 racism,manufacturing activity,alcohol addictn28 racism,manufacturing activity,alcohol addictn
28 racism,manufacturing activity,alcohol addictn
Ā 
27 educatn budgt,selfie,mp
27 educatn budgt,selfie,mp27 educatn budgt,selfie,mp
27 educatn budgt,selfie,mp
Ā 
26 age structure, twitter, joint family system
26 age structure, twitter, joint family system26 age structure, twitter, joint family system
26 age structure, twitter, joint family system
Ā 
25 retail trade,dovorce causes,crude death rate
25 retail trade,dovorce causes,crude death rate25 retail trade,dovorce causes,crude death rate
25 retail trade,dovorce causes,crude death rate
Ā 
24 utility stores, functions, load shading, transport
24 utility stores, functions, load shading, transport24 utility stores, functions, load shading, transport
24 utility stores, functions, load shading, transport
Ā 
23 stock market
23 stock market23 stock market
23 stock market
Ā 
21 production of electricity,deforestion,sex ratio
21 production of electricity,deforestion,sex ratio21 production of electricity,deforestion,sex ratio
21 production of electricity,deforestion,sex ratio
Ā 
20 agricultre,gold,insurance policy
20 agricultre,gold,insurance policy20 agricultre,gold,insurance policy
20 agricultre,gold,insurance policy
Ā 
19 urbanization,import and export,culture of pakistan
19 urbanization,import and export,culture of pakistan19 urbanization,import and export,culture of pakistan
19 urbanization,import and export,culture of pakistan
Ā 
18(10) birth and death rate,house rent,income and wages
18(10) birth and death rate,house rent,income and wages18(10) birth and death rate,house rent,income and wages
18(10) birth and death rate,house rent,income and wages
Ā 
18 currency strength,fertility rate,whatsapp
18 currency strength,fertility rate,whatsapp18 currency strength,fertility rate,whatsapp
18 currency strength,fertility rate,whatsapp
Ā 
17 public revenue, tax,gov spndng
17 public revenue, tax,gov spndng17 public revenue, tax,gov spndng
17 public revenue, tax,gov spndng
Ā 
16 migrtion,tax revenue,total revenue
16 migrtion,tax revenue,total revenue16 migrtion,tax revenue,total revenue
16 migrtion,tax revenue,total revenue
Ā 
14 e commerce,water pollution,positive and negative effect of technology
14 e commerce,water pollution,positive and negative effect of technology14 e commerce,water pollution,positive and negative effect of technology
14 e commerce,water pollution,positive and negative effect of technology
Ā 

Recently uploaded

Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
Ā 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
Ā 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
Ā 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
Ā 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
Ā 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
Ā 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
Ā 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)Dr. Mazin Mohamed alkathiri
Ā 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
Ā 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
Ā 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
Ā 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
Ā 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
Ā 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
Ā 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
Ā 
call girls in Kamla Market (DELHI) šŸ” >ą¼’9953330565šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļø
call girls in Kamla Market (DELHI) šŸ” >ą¼’9953330565šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļøcall girls in Kamla Market (DELHI) šŸ” >ą¼’9953330565šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļø
call girls in Kamla Market (DELHI) šŸ” >ą¼’9953330565šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļø9953056974 Low Rate Call Girls In Saket, Delhi NCR
Ā 

Recently uploaded (20)

Model Call Girl in Bikash Puri Delhi reach out to us at šŸ”9953056974šŸ”
Model Call Girl in Bikash Puri  Delhi reach out to us at šŸ”9953056974šŸ”Model Call Girl in Bikash Puri  Delhi reach out to us at šŸ”9953056974šŸ”
Model Call Girl in Bikash Puri Delhi reach out to us at šŸ”9953056974šŸ”
Ā 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
Ā 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
Ā 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
Ā 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
Ā 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
Ā 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
Ā 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Ā 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
Ā 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
Ā 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
Ā 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
Ā 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
Ā 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
Ā 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
Ā 
Model Call Girl in Tilak Nagar Delhi reach out to us at šŸ”9953056974šŸ”
Model Call Girl in Tilak Nagar Delhi reach out to us at šŸ”9953056974šŸ”Model Call Girl in Tilak Nagar Delhi reach out to us at šŸ”9953056974šŸ”
Model Call Girl in Tilak Nagar Delhi reach out to us at šŸ”9953056974šŸ”
Ā 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
Ā 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
Ā 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
Ā 
call girls in Kamla Market (DELHI) šŸ” >ą¼’9953330565šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļø
call girls in Kamla Market (DELHI) šŸ” >ą¼’9953330565šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļøcall girls in Kamla Market (DELHI) šŸ” >ą¼’9953330565šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļø
call girls in Kamla Market (DELHI) šŸ” >ą¼’9953330565šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļø
Ā 

Forecasting

  • 1. ForecastingForecasting ā€œā€œPrediction is very difficult,Prediction is very difficult, especially if it's about the future.especially if it's about the future.ā€ā€ Nils BohrNils Bohr
  • 2.
  • 3. Objectives ā€¢ Give the fundamental rules of forecasting ā€¢ Calculate a forecast using a moving average, weighted moving average, and exponential smoothing ā€¢ Calculate the accuracy of a forecast
  • 4. What is forecasting? Forecasting is a tool used for predicting future demand based on past demand information.
  • 5. Why is forecasting important? Demand for products and services is usually uncertain. Forecasting can be used forā€¦ ā€¢ Strategic planning (long range planning) ā€¢ Finance and accounting (budgets and cost controls) ā€¢ Marketing (future sales, new products) ā€¢ Production and operations
  • 6. What is forecasting all about? Demand for Mercedes E Class Time Jan Feb Mar Apr May Jun Jul Aug Actual demand (past sales) Predicted demand We try to predict the future by looking back at the past Predicted demand looking back six months
  • 7. From the March 10, 2006 WSJ: Ahead of the Oscars, an economics professor, at the request of Weekend Journal, processed data about this year's films nominated for best picture through his statistical model and predicted with 97.4% certainty that "Brokeback Mountain" would win. Oops. Last year, the professor tuned his model until it correctly predicted 18 of the previous 20 best-picture awards; then it predicted that "The Aviator" would win; "Million Dollar Baby" won instead. Sometimes models tuned to prior results don't have great predictive powers. Whatā€™s Forecasting All About?
  • 8. Some general characteristics of forecasts ā€¢ Forecasts are always wrong ā€¢ Forecasts are more accurate for groups or families of items ā€¢ Forecasts are more accurate for shorter time periods ā€¢ Every forecast should include an error estimate ā€¢ Forecasts are no substitute for calculated demand.
  • 9. Key issues in forecasting 1. A forecast is only as good as the information included in the forecast (past data) 2. History is not a perfect predictor of the future (i.e.: there is no such thing as a perfect forecast) REMEMBER: Forecasting is based on the assumption that the past predicts the future! When forecasting, think carefully whether or not the past is strongly related to what you expect to see in the futureā€¦
  • 10. Example: Mercedes E-class vs. M-class Sales Month E-class Sales M-class Sales Jan 23,345 - Feb 22,034 - Mar 21,453 - Apr 24,897 - May 23,561 - Jun 22,684 - Jul ? ? Question: Can we predict the new model M-class sales based on the data in the the table? Answer: Maybe... We need to consider how much the two markets have in common
  • 11. What should we consider when looking at past demand data? ā€¢ Trends ā€¢ Seasonality ā€¢ Cyclical elements ā€¢ Autocorrelation ā€¢ Random variation
  • 12. Some Important Questions ā€¢ What is the purpose of the forecast? ā€¢ Which systems will use the forecast? ā€¢ How important is the past in estimating the future? Answers will help determine time horizons, techniques, and level of detail for the forecast.
  • 13. Types of forecasting methods Rely on data and analytical techniques. Rely on subjective opinions from one or more experts. Qualitative methods Quantitative methods
  • 14. Qualitative forecasting methods Grass Roots: deriving future demand by asking the person closest to the customer. Market Research: trying to identify customer habits; new product ideas. Panel Consensus: deriving future estimations from the synergy of a panel of experts in the area. Historical Analogy: identifying another similar market. Delphi Method: similar to the panel consensus but with concealed identities.
  • 15. Quantitative forecasting methods Time Series: models that predict future demand based on past history trends Causal Relationship: models that use statistical techniques to establish relationships between various items and demand Simulation: models that can incorporate some randomness and non-linear effects
  • 16. How should we pick our forecasting model? 1. Data availability 2. Time horizon for the forecast 3. Required accuracy 4. Required Resources
  • 17. Time Series: Moving average ā€¢ The moving average model uses the last t periods in order to predict demand in period t+1. ā€¢ There can be two types of moving average models: simple moving average and weighted moving average ā€¢ The moving average model assumption is that the most accurate prediction of future demand is a simple (linear) combination of past demand.
  • 18. Time series: simple moving average In the simple moving average models the forecast value is Ft+1 = At + At-1 + ā€¦ + At-n n t is the current period. Ft+1 is the forecast for next period n is the forecasting horizon (how far back we look), A is the actual sales figure from each period.
  • 19. Example: forecasting sales at Kroger Kroger sells (among other stuff) bottled spring water Month Bottles Jan 1,325 Feb 1,353 Mar 1,305 Apr 1,275 May 1,210 Jun 1,195 Jul ? What will the sales be for July?
  • 20. What if we use a 3-month simple moving average? FJul = AJun + AMay + AApr 3 = 1,227 What if we use a 5-month simple moving average? FJul = AJun + AMay + AApr + AMar + AFeb 5 = 1,268
  • 21. What do we observe? 1000 1050 1100 1150 1200 1250 1300 1350 1400 0 1 2 3 4 5 6 7 8 3-month MA forecast 5-month MA forecast 5-month average smoothes data more; 3-month average more responsive
  • 22. Stability versus responsiveness in moving averages 500 600 700 800 900 1000 1 2 3 4 5 6 7 8 9 10 11 12 Week Demand Demand 3-Week 6-Week
  • 23. Time series: weighted moving average We may want to give more importance to some of the dataā€¦ Ft+1 = wt At + wt-1 At-1 + ā€¦ + wt-n At-n wt + wt-1 + ā€¦ + wt-n = 1 t is the current period. Ft+1 is the forecast for next period n is the forecasting horizon (how far back we look), A is the actual sales figure from each period. w is the importance (weight) we give to each period
  • 24. Why do we need the WMA models? Because of the ability to give more importance to what happened recently, without losing the impact of the past. Demand for Mercedes E-class Time Jan Feb Mar Apr May Jun Jul Aug Actual demand (past sales) Prediction when using 6-month SMA Prediction when using 6-months WMA For a 6-month SMA, attributing equal weights to all past data we miss the downward trend
  • 25. Example: Kroger sales of bottled water Month Bottles Jan 1,325 Feb 1,353 Mar 1,305 Apr 1,275 May 1,210 Jun 1,195 Jul ? What will be the sales for July?
  • 26. 6-month simple moving averageā€¦ In other words, because we used equal weights, a slight downward trend that actually exists is not observedā€¦ FJul = AJun + AMay + AApr + AMar + AFeb + AJan 6 = 1,277
  • 27. What if we use a weighted moving average? Make the weights for the last three months more than the first three monthsā€¦ 6-month SMA WMA 40% / 60% WMA 30% / 70% WMA 20% / 80% July Forecast 1,277 1,267 1,257 1,247 The higher the importance we give to recent data, the more we pick up the declining trend in our forecast.
  • 28. How do we choose weights? 1. Depending on the importance that we feel past data has 2. Depending on known seasonality (weights of past data can also be zero). WMA is better than SMA because of the ability to vary the weights!
  • 29. Time Series: Exponential Smoothing (ES) Main idea: The prediction of the future depends mostly on the most recent observation, and on the error for the latest forecast. Smoothi ng constant alpha Ī± Denotes the importance of the past error
  • 30. Why use exponential smoothing? 1. Uses less storage space for data 2. Extremely accurate 3. Easy to understand 4. Little calculation complexity 5. There are simple accuracy tests
  • 31. Exponential smoothing: the method Assume that we are currently in period t. We calculated the forecast for the last period (Ft-1) and we know the actual demand last period (At-1) ā€¦ )( 111 āˆ’āˆ’āˆ’ āˆ’+= tttt FAFF Ī± The smoothing constant Ī± expresses how much our forecast will react to observed differencesā€¦ If Ī± is low: there is little reaction to differences. If Ī± is high: there is a lot of reaction to differences.
  • 32. Example: bottled water at Kroger Month Actual Forecasted 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,309 Ī± = 0.2
  • 33. Example: bottled water at Kroger Ī± = 0.8Month Actual Forecasted Jan 1,325 1,370 Feb 1,353 1,334 Mar 1,305 1,349 Apr 1,275 1,314 May 1,210 1,283 Jun ? 1,225
  • 34. Impact of the smoothing constant 1200 1220 1240 1260 1280 1300 1320 1340 1360 1380 0 1 2 3 4 5 6 7 Actual a = 0.2 a = 0.8
  • 35. Trend.. What do you think will happen to a moving average or exponential smoothing model when there is a trend in the data?
  • 36. 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
  • 37. Exponential smoothing with trend ttt TFFIT += )FITĪ±(AFITF tttt 111 āˆ’āˆ’āˆ’ āˆ’+= )FITĪ“(FTT tttt 11 āˆ’āˆ’ āˆ’+= 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)
  • 38. 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
  • 39. 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
  • 40. 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)
  • 41. Example: do people drink more when itā€™s cold? Alcohol Sales Average Monthly Temperature Which line best fits the data?
  • 42. The best line is the one that minimizes the error bXaY += The predicted line is ā€¦ So, the error is ā€¦ iiĪµ Y-yi= Where: Īµ is the error y is the observed value Y is the predicted value
  • 43. Least Squares Method of Linear Regression The goal of LSM is to minimize the sum of squared errorsā€¦ āˆ‘ 2 Min iĪµ
  • 44. What does that mean? Alcohol Sales Average Monthly Temperature So LSM tries to minimize the distance between the line and the points! Īµ Īµ Īµ
  • 45. Least Squares Method of Linear Regression Then the line is defined by xbya āˆ’= 22 xnx yxnxy b āˆ’ āˆ’ = āˆ‘ āˆ‘ bXaY +=
  • 46. 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
  • 47. Measuring Accuracy: MFE MFE = Mean Forecast Error (Bias) It is the average error in the observations n FA n i ttāˆ‘= āˆ’ = 1 MFE 1. A more positive or negative MFE implies worse performance; the forecast is biased.
  • 48. Measuring Accuracy: MAD MAD = Mean Absolute Deviation It is the average absolute error in the observations n FA n i ttāˆ‘= āˆ’ = 1 MAD 1. Higher MAD implies worse performance. 2. If errors are normally distributed, then ĻƒĪµ=1.25MAD
  • 49. MFE & MAD: A Dartboard Analogy Low MFE & MAD: The forecast errors are small & unbiased
  • 50. An Analogy (contā€™d) Low MFE but high MAD: On average, the arrows hit the bullseye (so much for averages!)
  • 51. MFE & MAD: An Analogy High MFE & MAD: The forecasts are inaccurate & biased
  • 52. 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
  • 53. 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 tt )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!
  • 54. 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?
  • 55. 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
  • 56. 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