Forecasting
Forecasting
Learning Objectives
• Planning and control for operations requires an • So, planning and control for operations requires
estimate of the demand for the product or the an estimation of the demand. So, whether it is a
manufacturing function or a service function you
service that the organization expects to provide need to have some kind of estimation that, what is
in the future going to be the demand, and that estimation is
called forecasting
1
9/3/2023
2
9/3/2023
Eg- Demand of a product is directly related to the Historical data not available
advertisement expenses
Y = a + bX, where Y is demand and X is those Not knowing the factors which are affecting
independent factors the demand
Eg- Y = a + b1 X1 + b2 X2 + b3 X3
• Qualitative forecasting types For our good Time Series analysis, we need to
identify that pattern in the historical data
1. Horizontal component
Delphi
Market survey 2. Trend
Brainstorming
3. Seasonal
4. Cyclic
3
9/3/2023
4
9/3/2023
2. Data availability
3. Accuracy required
5
9/3/2023
6
9/3/2023
= 103.4 orders
7
9/3/2023
Exponential Smoothing
• Averaging method
• Weights most recent data more strongly
• Reacts more to recent changes
• Widely used, accurate method
• Smoothing constant, α
• applied to most recent data
Ft +1 = Dt + (1 - )Ft
St = St-1 + α (D
(Dt- St-1) where:
OR Ft +1 = forecast for next period
St = α Dt + (1-
(1-α) St-1 Dt = actual demand for present period
Here, we are updating the base value, updating the base value Ft = previously determined forecast for
means, we are trying to find out the current base value and this present period
current base value is nothing but the forecast for the next
= weighting factor, smoothing constant
period.
St = Ft+1
Therefore
Ft+1 = α Dt + (1-
(1-α) Ft
8
9/3/2023
9
9/3/2023
10
9/3/2023
11
9/3/2023
Exponential Smoothing with Trend and Exponential Smoothing with Trend and
Seasonality Seasonality
• Simple Exponential Smoothing model was
having only one component that was the base
component and the fluctuations are around this
base value and we wanted to smoothen those
fluctuation
• Simple Exponential Smoothing doesn’t have any
trend and seasonality
• Winters and Pegels, over the period of 10 years,
from 1960s to 1970, developed exponential
smoothing models by incorporating the fact of
trend as well as seasonality in the historical data
Exponential Smoothing with Trend and Exponential Smoothing with Trend and
Seasonality Seasonality
• Hence, we have 9 different types of models and
we can develop our extrapolative or exponential
smoothing models for all these 9 types of
models
• When we have trend also in our data, we will
use one more smoothing constant that is beta,
beta will be used for smoothing the fluctuations
of your trend data
• When we have seasonality also in our demand
data, you will use one more smoothing constant
that is gamma
12
9/3/2023
α= Smoothing constant for average • We have possibility of using either alpha alone,
β = Smoothing constant for trend you can use alpha and beta, you can use alpha
and gamma and you can use alpha, beta,
γ = Smoothing constant for seasonality gamma altogether
• Use of any smoothing constant depends upon
the type of demand data
• There is no restriction on the combination of
alpha, beta and gamma’s value, the only
limitation is the boundary condition of the values
will vary between 0 to 1
13
9/3/2023
14
9/3/2023
• Example 2. (Assignment-2)
An electronics manufacturer has seen demand
for its latest Smartphone increase over the past
6 months. Observed demand in thousands has
been D1=8415, D2=8732, D3=9014, D4=9808,
D5=10413 and D6=11961. Forecast demand for
period 7 using trend corrected exponential
smoothing with α=0.1 and β =0.2.
15
9/3/2023
• The seasonal factor is defined as the ratio of • In past years, a firm sold an average of 1,000
amount sold during each season to the average units each year
of all seasons • 200 in spring
• 350 in summer
• It is the amount of correction needed in a time
• 300 in fall
series to adjust for the season of the year • 150 in winter
• Find the seasonal factors
• Using those factors, if we expected demand for
next year to be 1,100 units, compute demand
per period
Example : Finding Seasonal Factors Example 18.3: Forecast for Next Year
16
9/3/2023
17
9/3/2023
x = x = 78 = 6.5
12
y = y = 557 = 46.42
12
b = xy - nxy = b = xy - nxy = 3867 - (12)(6.5)(46.42) =1.72
x2 - nx2 x2 - nx2 650 - 12(6.5)2
a = y - bx a = y - bx
= 46.42 - (1.72)(6.5) = 35.2
18
9/3/2023
Trend and seasonality corrected exponential Trend and seasonality corrected exponential
smoothing (Winter’s model) smoothing (Winter’s model)
Determine the forecast till December i.e till 78th period
Using 66 months of inpatient days the following
equation was computed
y= 8090+21.5x
Where y= patient days
x=time in months
Based on this model the patients day forecast for
67th month should be ?
Trend and seasonality corrected exponential Trend and seasonality corrected exponential
smoothing (Winter’s model) smoothing (Winter’s model)
The following table provides seasonal indices
based on the same 6 6months data.
19
9/3/2023
Trend and seasonality corrected exponential Trend and seasonality corrected exponential
smoothing (Winter’s model) smoothing (Winter’s model)
Determine the combined trend and seasonal forecast
Neither trend data nor the seasonal data alone
provide a reasonable forecast for the hospital.
Only when the hospital multiplied the trend
adjusted data with respective seasonal index, it
obtain good forecasts
Thus for 67th month the patient days=
(Trend adjusted forecast)(Monthly seasonal index)
=(9530X1.04)
=9911
Advantage of combined Trend and Seasonal Trend and seasonality corrected exponential
Adjustments smoothing (Winter’s model)
Question:
With trend only, the September forecast is
If the slope of the trend line for patient days
9702 but with both trend and seasonal
is 22 and the index for December is 0.99,
adjustments the forecast is 9411
what is the new forecast for December
inpatient days?
By combining trend and seasonal data the
hospital is better able to forecast inpatient
days and the related staffing and budgeting Answer: 9708 days
vital to effective operations
20
9/3/2023
21
9/3/2023
et
(E) =
n
22
9/3/2023
1 37 37.00 – – –
2 40 37.00 3.00 3.00 3.00
• It helps to detect any drift in the forecasting system 3 41 37.90 3.10 6.10 3.05
4 37 38.83 -1.83 4.27 2.64
5 45 38.28 6.72 10.99 3.66
6 50 40.29 9.69 20.68 4.87
7 43 43.20 -0.20 20.48 4.09
(Dt - Ft) E 8 47 43.14 3.86 24.34 4.06
Tracking signal = MAD = MAD 9 56 44.30 11.70 36.04 5.01
10 52 47.81 4.19 40.23 4.92
11 55 49.06 5.94 46.17 5.02
12 54 50.84 3.15 49.32 4.85
1 37 37.00 – – – –
2 40 37.00 3.00 3.00 3.00 1.00
3 41 37.90 3.10 6.10 3.05 2.00
4 37 38.83 -1.83 4.27 2.64 1.62
5 45 38.28 6.72 10.99 3.66 3.00
6 50 40.29 9.69 20.68 4.87 4.25
7 43 43.20 -0.20 20.48 4.09 5.01
8 47 43.14 3.86 24.34 4.06 6.00
9 56 44.30 11.70 36.04 5.01 7.19
10 52 47.81 4.19 40.23 4.92 8.18
11 55 49.06 5.94 46.17 5.02 9.20
12 54 50.84 3.15 49.32 4.85 10.17
6.10
TS3 = = 2.00
3.05
23