Forecasting Techniques in Operations Management
Forecasting Techniques in Operations Management
(ORM2BJ21-3)
Course Pages
Link: https://classroom.google.com/c/NjQ2NzA0NDM3OTIx
Access Code: yt5e57s
Class Rules
Evaluation
Quiz, Midterm
Final grading will be done after adding all the marks obtained across all evaluation
components to a total of 100
Advanced Electric Cycle
Session Topics
Forecasting
Scheduling
Alok Raj
PODS Area
Office: Room No 14, 2nd Floor,
Library Building, Tel. 3439
Email: [email protected]
Objectives
Understand the fundamental principles of forecasting.
Products/
Services
Demand
Uncertainty
Good
Forecasting model
Material Material
Make-to-Order- Pull
Types of Demand
Independent demand (finished product)
Dependent demand (component parts or subassemblies)
https://www1.grc.nasa.gov/wp-content/uploads/NASA-Glenn-Airplane-Parts-Image-2.jpg
What is the way for forecasting
First data: Diaper data sales
Year Actual
Demand
(×100000)
2014 25
2015 26
2016 24
2017 28
Passenger
Period Year Vehicle
Sales
2004 1061572
Passenger Vehicle Sales
1
2 2005 1143076 5000000
3 2006 1379979 4500000
4 2007 1549882
4000000
5 2008 1552703
6 2009 1951333 3500000
7 2010 2501542 3000000
8 2011 2629839
2500000
9 2012 2665015
10 2013 2503509 2000000
11 2014 2601111 1500000
12 2015 2789678
1000000
13 2016 3047582
14 2017 3288581 500000
15 2018 3377389 0
2019 2773575 2000 2005 2010 2015 2020 2025
16
17 2020 3062280
18 2021 3650698
19 2022 4578639
20 2023 ?
Third data: Electric Sales data
Year E-2 Wheelers E-3 Wheelers E-4 Wheelers E-Buses Grand Total
17-18 2005 91970 2242 35 96252 EV Grand Total Sales
18-19 28007 116031 2407 75 146520 1400000
19-20 26834 143051 2404 369 172658
20-21 44803 90898 5201 373 141275 1200000
21-22 252641 172543 19782 1198 446164 1000000
22-23 728054 401882 48105 1917 1179958
800000
Grand Total 1082344 1016375 80141 3967 2182827
600000
400000
200000
0
17-18 18-19 19-20 20-21 21-22 22-23
Electric Vehicle Sale
1400000
1200000
1000000
800000
600000
400000
200000
0
17-18 18-19 19-20 20-21 21-22 22-23
200
180
160
140
120
100
80
60
40
20
0
11-Oct-23 21-Oct-23 31-Oct-23 10-Nov-23 20-Nov-23 30-Nov-23 10-Dec-23 20-Dec-23 30-Dec-23 9-Jan-24
Do you think forecasting approach will be same for all type of products
Quantitative Methods of forecasting
Demand Forecasting
(Independent demand)
Average
Simple moving average Regression analysis Regression
Weightage average Holt’s exponential
Exponential smoothing smoothing
Method 1 : The Naïve
Method
● Ft=A t-1 : Simplest Approach to Forecasting
7 143
Method 2 : The Simple
Average ●
Ft=(A1+ A2+A3+…At-1)/(t-1)
1 130 -
2 155 130/1 =130
7 (130+155+145+160+151+143)/6 = 147.33
The Moving Average
Forecast
“The recent history is more relevant ”
● The Simple Average forecast uses ALL THE HISTORY of demands to
generate the forecast for the next period
A t- 1+ A t- 2 +A t- 3+...+A t-n
F t=
n
165
160
155
150
145
140
135
130
125
120
1 2 3 4 5 6 7
D eman 2 3 4
d period period period
● Formula
Ft= w1At-1
t-1+ w22 At-2 +w33A
t-2+w At-3t-3+...+w
+...+wnnAt-n
At-n
Method 4 : Weighted Moving Average
(WMA)
n=3:
Period Demand Forecast w t-1 =0.5, t-2=0.3,
w
1 130 - wt-3=0.2
Measures of Error
Mean absolute deviation (MAD)
Mean absolute percent error (MAPE)
Mean squared error (MSE)
Root mean sum of square (RMSE)
Measuring Forecast Errors: Mean Absolute
Deviation (MAD)
n
n
A -F
t t
MAD =
MAD =
t=1 A - F
n
t t
t=1
n
The ideal Mean Absolute Deviation (MAD)is zero which would mean
there is no forecasting error at all.
The larger the MAD, the less the accurate the resulting model.
Measuring Forecast Errors: Mean
Absolute Deviation (MAD)
Absolut
Period Demand Forecast Error e Error
1 130 - - -
Squared
Period Demand Forecast Error Error
1 130 - - -
2 155 130.00 25.00 625.00
3 145 155.00 -10.00 100.00
4 160 145.00 15.00 225.00
5 151 160.00 -9.00 81.00
6 143 151.00 -8.00 64.00
MSE = 219.00
Measuring Forecast Errors: Mean Absolute
Percentage Error (MAPE)
Abs
Period Demand Forecast Error %
%
Error
Error
1 130 - - - -
2 155 130.00 25.00 =25/155=16.13% 16.13%
3 145 155.00 -10.00 =-10/145=-6.90% 6.9%
4 160 145.00 15.00 =15/160=9.38% 9.38%
5 151 160.00 -9.00 =-9/151=-5.96% 5.96%
6 143 151.00 -8.00 =-8/143=-5.59% 5.59%
MAPE 8.79%
Measure of Forecast Error
Mean Absolute deviation (MSD): 𝑀A𝐷 =
Data Volatility: SMAs can smooth out short-term fluctuations and highlight longer-term
trends in data that is very volatile. This can be beneficial when you want to avoid reacting
to what might be considered "noise" in the data.
Data Patterns: If the data has a seasonal pattern or other cyclical changes, neither SMA
nor WMA may be sufficient as they don't inherently account for such patterns. More
sophisticated methods like Exponential Smoothing or ARIMA may be more suitable in
such cases.
Practice Problem-1
Day Number Sold
a) If a two-period moving average had been used to
1 25 forecast sales, what would the daily forecasts have
2 31 been starting with the forecast for Day 3?
3 29 b) If a four-period moving average had been used
4 33 determine what the forecasts would have been for
5 34 each day, starting with Day 5.
6 37 c) Use a three-period weighted moving average with
7 35 w1=0.2, w2=0.3, and w3=0.5 and forecast sales for
8 32 the 4th day onwards.
9 38 d) Use a four-period weighted moving average with
10 40 w1=0.4, w2=0.3, w3=0.2, and w4=0.1and forecast
11 37 sales for the 5th day onwards.
12 32 e) Plot the original data and each set of forecasts on
the same graph. Which forecast has the better
ability to respond quickly to changes?
Method 5 : Exponential
Smoothing
Smoothing constant
16 2019 2773575
17 2020 3062280
18 2021 3650698
19 2022 4578639
20 2023 ?
Trend-Adjusted Exponential Smoothing (Holt’s model)
The trend adjusted forecast consists of two components
Smoothed error
Trend factor
𝐹𝑡+1 = 𝐿𝑡 + 𝑇𝑡
𝐿𝑡 = 𝛼𝐷𝑡 + 1 − 𝛼 𝐿𝑡−1 + 𝑇𝑡−1
𝑇𝑡 = 𝛽 𝐿𝑡 − 𝐿𝑡−1 + 1 − 𝛽 𝑇𝑡−1
3 29
4 31
5 32
6 35
𝐹𝑡+1 = 𝐿𝑡 + 𝑇𝑡
𝐿𝑡 = 𝛼𝐷𝑡 + 1 − 𝛼 𝐿𝑡−1 + 𝑇𝑡−1
𝑇𝑡 = 𝛽 𝐿𝑡 − 𝐿𝑡−1 + 1 − 𝛽 𝑇𝑡−1
Trend-Adjusted Exponential Smoothing (Holt’s model)
Period t Dt Lt Tt Ft
1 26 24.27 1.69
2 28 26.36 1.81 25.95
7 36.23
Problem
Passenger Lt Tt Ft
Period Year Vehicle
Sales
1 2004 1061572
2 2005 1143076
3 2006 1379979
4 2007 1549882
5 2008 1552703
6 2009 1951333
7 2010 2501542
8 2011 2629839
9 2012 2665015
10 2013 2503509
11 2014 2601111
12 2015 2789678
13 2016 3047582
14 2017 3288581
15 2018 3377389
16 2019 2773575
17 2020 3062280
18 2021 3650698
19 2022 4578639
Problem
Seasonality refers to periodic fluctuations that regularly occur in data due to seasonal
factors. It's often seen in monthly or quarterly sales data, where certain times of the year
are consistently higher or lower than others.
Key Steps in Seasonal Forecasting
1. Identifying Seasonality: This involves analyzing your data to determine if there is a seasonal pattern. This can
be done through visual examination of time series plots or using statistical tests for seasonality.
2. Decomposition of Time Series: Time series data can be decomposed into three components: trend, seasonality,
and randomness. This helps in understanding the underlying patterns. Methods like STL (Seasonal and Trend
decomposition using Loess) are commonly used.
3. Choosing the Right Model: Depending on the nature of the seasonality, different models can be applied.
Common models include:
1. Seasonal Factor
2. Regression Approach
3. SARIMA (Seasonal ARIMA): An extension of ARIMA that specifically addresses seasonality.
4. Exponential Smoothing: Methods like Holt-Winters which are simple yet powerful for forecasting
seasonal data.
4. Parameter Selection: This involves choosing parameters that best fit the model to your data. For SARIMA,
these include seasonal order and non-seasonal order parameters.
5. Model Validation: Before using the model for forecasting, it’s crucial to validate it using historical data. This
involves checking the model’s performance against known data and adjusting as necessary.
6. Forecasting: Once the model is validated, it can be used to forecast future data points.
Time series data with seasonality
Sales Year 1 Year 2 Year 3 Year 4 Year 5 25,000
Demand Dt
JAN 2,000 3,000 2,000 5,000 5,000 20,000
Solve this problem with help of dummy coding and estimate month wise sales
for Year 6
Python
Causal Analysis/ Associative model
Multiple regression
Store Price ($) Advertising ($ '000s) Burger Sales (units '000s)
Efes forecasts the monthly demand for the coming year during the fall of the current
year.
Historically, high-level sales managers, based on input from their sales personnel, have
done this forecasting mostly subjectively.
They now want to formalize this process so that significant factors on beer demand can
be identified and used to predict the monthly demand
Questions
Plot the monthly beer demand and discuss your observations.
Run the multiple linear regression model to explain the monthly beer demand in terms
of the predictor variables, discuss the validity of the model, and interpret the results.
Are there any problems with the validity of the original model? If so, make the
necessary modifications and repeat the process with new model(s). Employ variable
selection methods to eliminate irrelevant variables.
Are there unusual observations? Interpret and discuss.
Discuss the predictive capability of each predictor variable. Make predictions for the
monthly demands of the following year. Make necessary assumptions if you need data
on predictor variables. You may create scenarios by assuming some values for
“uncontrollable” variables and trying some values for “controllable” variables. Discuss
the results.
Are there alternative models that include different sets of predictor variables with
approximately the same explanation power? How would you interpret such results?
Quantitative Methods of forecasting
Demand Forecasting
(Independent demand)
Average Regression
Regression analysis
Simple moving average
Holt’s exponential
Weightage average
smoothing
Exponential smoothing









