SlideShare a Scribd company logo
Forecasting Examples:
Maintenance Demand
Dr Mehran Ullah
Quantitative Forecasting
1. Simple Moving Averages
• used for stationary time series
• It is composed of a constant term plus random fluctuation
• example could be the load exerted on an electronic component
• All previous observations are assumed to be equally important, i.e.,
equally weighted
Quantitative Forecasting
• Since Ft (forecast for time periods t) is the average of the last N actual
observations, it is called a simple N-period moving average
Quantitative Forecasting
2. Weighted Moving Average
• In simple moving average, an equal weight is given to all n data
points.
• Since individual weight is equal to 1/n, then sum of the weights is
n(1/n) = 1
• However, a more realistic view is that more recent data points have
more forecasting value than older data points
• the simple moving average method is modified by including weights
that decrease with the age of the data
Quantitative Forecasting
• The values of wt must be non-decreasing with respect to t.
• These values can be empirically determined based on error analysis,
or subjectively estimated based on experience, hence combining
qualitative and quantitative forecasting approaches
Quantitative Forecasting
Quantitative Forecasting
3. Regression Analysis
• Regression analysis is used to develop a relationship between the
independent variable being forecasted and one or more independent
predictor variables
• For example if the maintenance cost for the current period m(t) is a
linear function of the number of operational hours in the same period
h(t), then the model is given by
• That is a straight-line regression relationship with a single
independent predictor variable, namely h(t)
Quantitative Forecasting
• Parameters a and b are respectively called the intercept and the slope
of this line
• Regression analysis is the process of estimating these parameters
using the least-squares method
• This method finds the best values of a and b that minimize the sum of
the squared vertical distances (errors) from the line
Quantitative Forecasting
• The general straight-line equation showing a linear trend of
maintenance work demand Di over time is
• For n historical data points: (t1, D1), (t2, D2), ..., (tn, Dn). The least-
squares method estimates a and b by minimizing the following sum of
squared errors:
• By taking partial derivatives with respect to a and b and setting them
equal to zero we obtain the following values of a and b
• Least-squares regression methodology can easily accommodate
multiple variables and also polynomial or nonlinear functional
relationships
Quantitative Forecasting
Quantitative Forecasting
• Example: Demand for a given spare part is given below for the last 4
years. Use linear regression to determine the best-fit straight line and
to forecast spare part demand in year 5.
• To find a and b, we need to find the following
• Utilizing the formulas of of a and b and the equation of linear
regression model;
Quantitative Forecasting
Quantitative Forecasting
4. Exponential Smoothing
a) Simple Exponential Smoothing (ES)
• Simple exponential smoothing (ES) is similar to weighted moving
average (WMA) in assigning higher weights to more recent data, but it
differs in two important aspects;
1. WMA is a weighted average of only the last N data points, while ES
is a weighted average of all past data
2. The weights in WMA are mostly arbitrary, while the weights in ES
are well structured
1. The weights in ES decrease exponentially with the age of the data
Quantitative Forecasting
• Exponential smoothing is very easy to use, and very easy to update by
including new data as it becomes available
• The current forecast is a weighted average of the last forecast and the
last actual observation
• Given the value of smoothing constant α, the forecast is obtained by:
Quantitative Forecasting
• The greater the value of α, the more weight of the last observation.
However, large values of α lead to highly variable, less stable,
forecasts.
• For forecast stability, a value of α between 0.1 and 0.3 is usually
recommended for smooth planning.
• The best value of α can be determined from experience or by trial and
error (choosing the value with minimum error)
Quantitative Forecasting
Quantitative Forecasting
4. Exponential Smoothing
b). Double Exponential Smoothing (Holt’s Method)
• The simple exponential smoothing can be used to estimate the
parameters for a constant (stationary) model.
• Double or triple exponential smoothing approaches can be used to
deal with linear, polynomial, and seasonal forecasting models
• Holt’s double exponential smoothing method is important tool to
handle linear models
Quantitative Forecasting
• Holt’s double exponential smoothing method requires two smoothing
constants: α and β (β ≤ α)
• Two smoothing equations are applied: one for at, the intercept at
time t, and another for bt, the slope at time t
Quantitative Forecasting
Quantitative Forecasting
Quantitative Forecasting
5. Seasonal Forecasting
• Demand for many products follows a seasonal or cyclic pattern, which
repeats itself every N periods
• For example, demand for electricity has a daily cycle, demand for
restaurants has a weekly cycle, while demand for clothes has a yearly
cycle
• Maintenance workload may show seasonal variation due to periodic
changes in demand, weather, or operational conditions
Quantitative Forecasting
• If product demand for products is seasonal, then greater production
rates during the high-season intensify equipment utilization and
increase the probability of failure.
• If product demand is not seasonal, high temperatures during summer
months may cause overheating and more frequent equipment
failures
• Plotting the data is important to judge whether or not it has
seasonality trend, or both patterns
Quantitative Forecasting
a). Forecasting for Stationary Seasonal Data
• The model representing this data is similar to the model presented for
Stationary Data, but it allows for seasonal variations
• Given data for at least two cycles (2N), following steps are used to obtain
the seasonal factor 𝑐𝑡:
1. Calculate the overall average μ;
2. Divide each data point by μ to obtain seasonal factor estimate;
3. Calculate seasonal factors 𝑐𝑡 by averaging all factors for similar periods;
• Note: See example 8.6 from the pdf.
Quantitative Forecasting
b). Forecasting for Seasonal Data with a Trend
• It is possible for a time series to have both seasonal and trend
components.
• For example, the demand for airline travel increases during summer,
but it also keeps growing every year
• For such data the model is:
• The usual approach to forecast with seasonal-trend data is to
estimate each component by trying to remove the effect of the other
one
Quantitative Forecasting
The same general approach is followed that consists of:
i. remove trend to estimate seasonality
ii. remove seasonality to estimate trend
iii. forecast using both seasonality and trend
The cycle average method is used for Seasonal Data with a Trend
1. Divide each cycle by its corresponding cycle average to remove trend.
2. Average the de-trended values for similar periods to determine seasonal
factors 𝑐1, …, 𝑐𝑁.
3. Use any appropriate trend-based method to forecast cycle averages.
4. Forecast by multiplying the trend-based cycle average by appropriate seasonal
factor.
Note: See example 8.6 from the pdf.
Quantitative Forecasting
Error Analysis
• The forecasting error ε𝑡 in time period t is defined as the difference
between the actual and the forecasted value for the same period:
• Error analysis is used to evaluate performance of the forecasting model
and to check how closely it fits the given actual data
• Error analysis is also used to compare objectively and systematically the
alternative models (different available methods) in order to choose the
best one
Quantitative Forecasting
a). Sum of the errors (SOE)
• SOE can be deceiving as large positive errors may cancel out with large
negative errors
• This measure is good for checking bias, if the forecast is unbiased, SOE
should be close to zero
Quantitative Forecasting
b). Mean absolute deviation (MAD)
• Neutralizes the opposite signs of errors by taking their absolute values
c). Mean squared error (MSE)
• Neutralizes the opposite signs of errors by squaring them
Quantitative Forecasting
d). Mean absolute percent error (MAPE)
• Independent measure for evaluating the “goodness” of an individual
forecast
• All the other measures only compare different forecasting models relative
to each other
Quantitative Forecasting

More Related Content

PPTX
Forcasting methods
PPTX
MET463 OM M3._operations management module 3
PPTX
Operations management- least square methods and time series, and differrent f...
PPTX
3.3 Forecasting Part 2(1) (1).pptx
PPT
Forecasting ppt in quality management ME
PPT
Forecasting_KHULNAUNIVERSITYOF ENGINEERING AND TECHNOLOGY.ppt
PPTX
MovingAverage (2).pptx
PPTX
What is the Holt-Winters Forecasting Algorithm and How Can it be Used for Ent...
Forcasting methods
MET463 OM M3._operations management module 3
Operations management- least square methods and time series, and differrent f...
3.3 Forecasting Part 2(1) (1).pptx
Forecasting ppt in quality management ME
Forecasting_KHULNAUNIVERSITYOF ENGINEERING AND TECHNOLOGY.ppt
MovingAverage (2).pptx
What is the Holt-Winters Forecasting Algorithm and How Can it be Used for Ent...

Similar to Forecasting Examples (20)

PPTX
Application of microbiological data
PDF
CHAPTER 3-Forecasting PRESENTATIONS OF CLASS
PDF
Module 5.pptx (Data science in engineering)
PPTX
Storm Prediction data analysis using R/SAS
PPSX
O M Unit 3 Forecasting
PPTX
Week 4 forecasting - time series - smoothing and decomposition - m.awaluddin.t
PPT
Modified chap003
PPTX
forecasting.pptx
PPTX
SAMPLING DISTRIBUTION AND POINT ESTIMATION OF PARAMETERS - Copy.pptx
PPTX
DATA HANDLING UNIT 2 (PART 2).pptx
PPTX
Characterics of measuring system.pptx
PPT
chapter12.ppt
ZIP
Demand forecasting
PDF
Week_2_Lecture.pdf
PPTX
Time series analysis
PPT
Control charts
PPTX
ANAP 2020 Presentation
PPTX
FORECASTING MODELS
PDF
Stationarity and Seasonality in Univariate Time Series.pdf
PPTX
Ch-4: Measurement systems and basic concepts of measurement methods
Application of microbiological data
CHAPTER 3-Forecasting PRESENTATIONS OF CLASS
Module 5.pptx (Data science in engineering)
Storm Prediction data analysis using R/SAS
O M Unit 3 Forecasting
Week 4 forecasting - time series - smoothing and decomposition - m.awaluddin.t
Modified chap003
forecasting.pptx
SAMPLING DISTRIBUTION AND POINT ESTIMATION OF PARAMETERS - Copy.pptx
DATA HANDLING UNIT 2 (PART 2).pptx
Characterics of measuring system.pptx
chapter12.ppt
Demand forecasting
Week_2_Lecture.pdf
Time series analysis
Control charts
ANAP 2020 Presentation
FORECASTING MODELS
Stationarity and Seasonality in Univariate Time Series.pdf
Ch-4: Measurement systems and basic concepts of measurement methods

Recently uploaded (20)

PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
Sustainable Sites - Green Building Construction
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
DOCX
573137875-Attendance-Management-System-original
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPT
Project quality management in manufacturing
PPTX
Construction Project Organization Group 2.pptx
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
CH1 Production IntroductoryConcepts.pptx
PPT
Mechanical Engineering MATERIALS Selection
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
Operating System & Kernel Study Guide-1 - converted.pdf
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Sustainable Sites - Green Building Construction
Internet of Things (IOT) - A guide to understanding
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Embodied AI: Ushering in the Next Era of Intelligent Systems
573137875-Attendance-Management-System-original
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Foundation to blockchain - A guide to Blockchain Tech
Project quality management in manufacturing
Construction Project Organization Group 2.pptx
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
bas. eng. economics group 4 presentation 1.pptx
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
CH1 Production IntroductoryConcepts.pptx
Mechanical Engineering MATERIALS Selection
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...

Forecasting Examples

  • 2. Quantitative Forecasting 1. Simple Moving Averages • used for stationary time series • It is composed of a constant term plus random fluctuation • example could be the load exerted on an electronic component • All previous observations are assumed to be equally important, i.e., equally weighted
  • 3. Quantitative Forecasting • Since Ft (forecast for time periods t) is the average of the last N actual observations, it is called a simple N-period moving average
  • 4. Quantitative Forecasting 2. Weighted Moving Average • In simple moving average, an equal weight is given to all n data points. • Since individual weight is equal to 1/n, then sum of the weights is n(1/n) = 1 • However, a more realistic view is that more recent data points have more forecasting value than older data points • the simple moving average method is modified by including weights that decrease with the age of the data
  • 5. Quantitative Forecasting • The values of wt must be non-decreasing with respect to t. • These values can be empirically determined based on error analysis, or subjectively estimated based on experience, hence combining qualitative and quantitative forecasting approaches
  • 7. Quantitative Forecasting 3. Regression Analysis • Regression analysis is used to develop a relationship between the independent variable being forecasted and one or more independent predictor variables • For example if the maintenance cost for the current period m(t) is a linear function of the number of operational hours in the same period h(t), then the model is given by • That is a straight-line regression relationship with a single independent predictor variable, namely h(t)
  • 8. Quantitative Forecasting • Parameters a and b are respectively called the intercept and the slope of this line • Regression analysis is the process of estimating these parameters using the least-squares method • This method finds the best values of a and b that minimize the sum of the squared vertical distances (errors) from the line
  • 9. Quantitative Forecasting • The general straight-line equation showing a linear trend of maintenance work demand Di over time is • For n historical data points: (t1, D1), (t2, D2), ..., (tn, Dn). The least- squares method estimates a and b by minimizing the following sum of squared errors:
  • 10. • By taking partial derivatives with respect to a and b and setting them equal to zero we obtain the following values of a and b • Least-squares regression methodology can easily accommodate multiple variables and also polynomial or nonlinear functional relationships Quantitative Forecasting
  • 11. Quantitative Forecasting • Example: Demand for a given spare part is given below for the last 4 years. Use linear regression to determine the best-fit straight line and to forecast spare part demand in year 5. • To find a and b, we need to find the following
  • 12. • Utilizing the formulas of of a and b and the equation of linear regression model; Quantitative Forecasting
  • 13. Quantitative Forecasting 4. Exponential Smoothing a) Simple Exponential Smoothing (ES) • Simple exponential smoothing (ES) is similar to weighted moving average (WMA) in assigning higher weights to more recent data, but it differs in two important aspects; 1. WMA is a weighted average of only the last N data points, while ES is a weighted average of all past data 2. The weights in WMA are mostly arbitrary, while the weights in ES are well structured 1. The weights in ES decrease exponentially with the age of the data
  • 14. Quantitative Forecasting • Exponential smoothing is very easy to use, and very easy to update by including new data as it becomes available • The current forecast is a weighted average of the last forecast and the last actual observation • Given the value of smoothing constant α, the forecast is obtained by:
  • 15. Quantitative Forecasting • The greater the value of α, the more weight of the last observation. However, large values of α lead to highly variable, less stable, forecasts. • For forecast stability, a value of α between 0.1 and 0.3 is usually recommended for smooth planning. • The best value of α can be determined from experience or by trial and error (choosing the value with minimum error)
  • 17. Quantitative Forecasting 4. Exponential Smoothing b). Double Exponential Smoothing (Holt’s Method) • The simple exponential smoothing can be used to estimate the parameters for a constant (stationary) model. • Double or triple exponential smoothing approaches can be used to deal with linear, polynomial, and seasonal forecasting models • Holt’s double exponential smoothing method is important tool to handle linear models
  • 18. Quantitative Forecasting • Holt’s double exponential smoothing method requires two smoothing constants: α and β (β ≤ α) • Two smoothing equations are applied: one for at, the intercept at time t, and another for bt, the slope at time t
  • 21. Quantitative Forecasting 5. Seasonal Forecasting • Demand for many products follows a seasonal or cyclic pattern, which repeats itself every N periods • For example, demand for electricity has a daily cycle, demand for restaurants has a weekly cycle, while demand for clothes has a yearly cycle • Maintenance workload may show seasonal variation due to periodic changes in demand, weather, or operational conditions
  • 22. Quantitative Forecasting • If product demand for products is seasonal, then greater production rates during the high-season intensify equipment utilization and increase the probability of failure. • If product demand is not seasonal, high temperatures during summer months may cause overheating and more frequent equipment failures • Plotting the data is important to judge whether or not it has seasonality trend, or both patterns
  • 23. Quantitative Forecasting a). Forecasting for Stationary Seasonal Data • The model representing this data is similar to the model presented for Stationary Data, but it allows for seasonal variations • Given data for at least two cycles (2N), following steps are used to obtain the seasonal factor 𝑐𝑡: 1. Calculate the overall average μ; 2. Divide each data point by μ to obtain seasonal factor estimate; 3. Calculate seasonal factors 𝑐𝑡 by averaging all factors for similar periods; • Note: See example 8.6 from the pdf.
  • 24. Quantitative Forecasting b). Forecasting for Seasonal Data with a Trend • It is possible for a time series to have both seasonal and trend components. • For example, the demand for airline travel increases during summer, but it also keeps growing every year • For such data the model is: • The usual approach to forecast with seasonal-trend data is to estimate each component by trying to remove the effect of the other one
  • 25. Quantitative Forecasting The same general approach is followed that consists of: i. remove trend to estimate seasonality ii. remove seasonality to estimate trend iii. forecast using both seasonality and trend The cycle average method is used for Seasonal Data with a Trend 1. Divide each cycle by its corresponding cycle average to remove trend. 2. Average the de-trended values for similar periods to determine seasonal factors 𝑐1, …, 𝑐𝑁. 3. Use any appropriate trend-based method to forecast cycle averages. 4. Forecast by multiplying the trend-based cycle average by appropriate seasonal factor. Note: See example 8.6 from the pdf.
  • 26. Quantitative Forecasting Error Analysis • The forecasting error ε𝑡 in time period t is defined as the difference between the actual and the forecasted value for the same period: • Error analysis is used to evaluate performance of the forecasting model and to check how closely it fits the given actual data • Error analysis is also used to compare objectively and systematically the alternative models (different available methods) in order to choose the best one
  • 27. Quantitative Forecasting a). Sum of the errors (SOE) • SOE can be deceiving as large positive errors may cancel out with large negative errors • This measure is good for checking bias, if the forecast is unbiased, SOE should be close to zero
  • 28. Quantitative Forecasting b). Mean absolute deviation (MAD) • Neutralizes the opposite signs of errors by taking their absolute values c). Mean squared error (MSE) • Neutralizes the opposite signs of errors by squaring them
  • 29. Quantitative Forecasting d). Mean absolute percent error (MAPE) • Independent measure for evaluating the “goodness” of an individual forecast • All the other measures only compare different forecasting models relative to each other