03 Quantitative Method in Forecasting
03 Quantitative Method in Forecasting
OBJECTIVES:
At the end of the topic session, the students should be able to:
▪ Learn the importance of forecasting in decision making
▪ Understand different quantitative techniques in forecasting
▪ Know trend analysis, exponential smoothing, decomposition methods and
casual method of forecasting
▪ Find out the suitability of forecasting models and calculate the errors in
forecasting
TOPIC PRESENTATION:
Forecasting is the art and science for predicting future events. Forecasting was
largely an art, but now it has now become science as well.
‘You can never plan the future by the past’ -Edmund Burke
‘I know of no way of judging the future but by the past’ -Patrick Henry
‘The quality of the forecast strongly related to the information that can be extracted from
past data’
0.1 FORECASTING
Forecasts are often classified according to time period and use. In general, short-
term (up to one year) forecasts guide current operations. Medium term (one-to-
three years) and long-term (over five years) forecasts support decisions on plant
location and capacity. The accuracy of the forecast and its costs are interrelated.
0.2 APPLICATION TO DIFFERENT FUNCTIONAL AREAS
Forecasting is one input to all types of business planning and control, both inside
and outside the operations function. The main focus is on forecasting on operations
function.
The most important factors for selecting a suitable qualitative, time-series and
casual methods of forecasting are indicated as follows:
▪ DATA AVAILABILITY
The choice of forecasting method is often constrained by available data.
▪ DATA PATTERN
The pattern in the data will affect the type of forecasting method selected. If the
time-series is flat, a first method can be used. However, if the data show trends
or seasonal patterns, more advanced method will be needed.
The long-range strategic planning and facilities decisions use less analytical
qualitative methods of forecasting, and operational planning in production and
inventory control uses more analytical, time series analysis. Causal forecasting
techniques are used for a variety of planning situations but are specifically in
intermediate-term planning.
There are three types of forecasting techniques: qualitative forecasting, naïve (time-
series) forecasting and causal forecasting.
The most frequently used forecasting techniques in operation management are the
qualitative and naïve models. The casual models are very costly models to
implement and are not suitable for short-term forecasting.
MODEL TYPE DESCRIPTION
1. QUALITATIVE MODELS
2. NAÏVE (TIME-SERIES)
QUANTITATIVE METHODS
▪ SIMPLE AVERAGE Average past data to predict the future based on that
average
▪ EXPONENTIAL SMOOTHING Weights old forecasts and most recent demand
3. CAUSAL QUANTITATIVE
MODELS
Time series models attempt to relate some quantity strictly to time. A time series
is a time ordered sequence of observations which have been taken at regular
intervals over a period-of time (hourly, daily, weekly, monthly, annually etc.)
Trend reflects the effect of global movements in the time series. Consider the
linear trend.
̂ = a + bx
𝒚
Objective is to find out the value of slope (b) and intercept (a) from the given
set of independent values of x.
*The general trend of many time-series using a straight line but when faced
with the problem of finding the best-fitting line, we can use the least-squares
methods to calculate the best-fitting line, or equation.
LEAST-SQUARES METHOD
Statisticians have developed equations that we can use to find the values of a and b
for any regression line.
( ∑ 𝒙𝒚) − 𝒏(𝒙
̅)(𝒚
̅)
b= a=𝒚
̅ – (b) 𝒙
̅
(∑ 𝒙𝟐 )−𝒏(𝒙
̅𝟐 )
SOLUTION:
STEP 1: Calculate the value of xy and x2 from the given sales value and its
summation.
∑𝒙 𝟏𝟎𝟓 ∑𝒚 𝟓𝟖𝟔
̅=
𝒙 = = 7.5 ̅=
𝒚 = = 41.86
𝒏 𝟏𝟒 𝒏 𝟏𝟒
x = 15
̂ = a + bx = 24.31 + (2.34) (15) = 59.41
𝒚
This method of time-series analysis is based on the belief that the demand can
be separately and distinctly broken down into its components, viz, trend, cycle;
seasonality and randomness. Decomposition method is the forecasting
required for intermediate range forecasting which helpful in production
planning. It may also use smoothing in their analysis.
*Number of digit/s after the decimal point must be based on the computation however,
maximum of 3 digits only and round-off.
STEP 1: Identify seasonal factors: For the actual series D, compute a moving
average (MA), whose length is equal to the seasonality (e.g. 12 in monthly data,
4 in quarterly data, 7 in daily data).
4-period MA
At period 4 = (920 + 916 + 895 + 905) / 4 = 909
At period 5 = (916 + 895 + 905 + 947) / 4 = 915.75
(continue the computation up to …)
At period 16 = (1201 + 1142 + 1106 + 1163) / 4 = 1153
Note that the first moving average (= 909) is for the whole first year i.e. it is
associated with all the four quarters of the whole year. Therefore, it is
reasonable to center it. This is the (𝑻𝒕 𝑪𝒕 ) component. It can be between 2nd and
3rd quarter.
𝒀 Year Quarter 𝑺𝒕 𝑹𝒕
𝑺𝒕 𝑹𝒕 = 𝑻 𝑪𝒕
𝒕 𝒕
3 0.981
1
4 0.986
For Year 1:
1 1.029
2 1.005
Q3 => 895 / 912.375 = 0.981 2
3 0.964
Q4 => 905 / 917.50 = 0.981 4 0.995
…. and so on. 1 1.048
(see table for computed and tabulated values)
2 0.997
3
3 0.939
4 0.930
Note: Lose 4 points, 2 at the beginning
1 1.113
(Year 1: Q1 and Q2) and 2 at the end (Year 4: 4
2 1.013
Q3 and Q4)
𝑻𝒕 𝑪𝒕 𝑹𝒕 = 𝑺𝒕
𝒀 Patients
𝒕 Year Quarter (𝒀𝒕 ) 𝑻𝒕 𝑪𝒕 𝑹𝒕
∑𝒕 𝟏𝟑𝟔 ∑𝒚 𝟏𝟓𝟕𝟗𝟖
𝒕̅ = 𝒏 = 𝟏𝟔 = 8.5 ̅=
𝒚 = = 987.375
𝒏 𝟏𝟔
(∑ 𝑡𝑦) − 𝑛(𝑡̅)(𝑦̅) 140162 − (16)(8.5)(987.375)
b1 = = = 17.291
(∑ 𝑡 2 )−𝑛(𝑡̅ 2 ) 1496 −(16)(8.52 )
Before calculating 𝑪𝒕 𝑹𝒕 , you must calculate the values of 𝑻𝒕 i.e. the trend line
in the deseasonalized series for all the 16 periods.
𝑻𝒕 = b0 + b1 t 𝒀𝒕
𝑻𝒕
𝑺𝒕 𝑪𝒕 𝑹𝒕
T1 = 840.402 + 17.29 (1) = 857.691 865.157 857.691 1.009
T2 = 840.402 + 17.29 (2) = 874.982 911.443 874.982 1.042
…. and 931.322 892.274 1.044
T16 = 840.402 + 17.29 (16) = 909.565 932.990 909.565 1.026
890.875 857.691 1.039
925.373 874.982 1.058
𝒀 938.606 892.274 1.052
𝑪𝒕 𝑹𝒕 = 𝑺 𝑻𝒕 969.072 909.565 1.065
𝒕 𝒕
936.971 857.691 1.092
865.157
C1R1 = 857.691 = 1.009 947.264 874.982 1.083
960.458 892.274 1.076
989.691 909.565 1.088
911.443
C2R2 = 874.982 = 1.042 … and so on 1129.821 857.691 1.317
1136.318 874.982 1.299
1150.884 892.274 1.290
see table for computed and tabulated values 1198.969 909.565 1.318
𝑻 𝟏𝟏𝟑𝟒.𝟑𝟓𝟎
C17 = 𝑺𝒕 = = 0.941 T17C17 = 1134.350 (0.941) = 1067.121
𝒕 𝟏.𝟎𝟔𝟑
EXAMPLE PROBLEM:
t 𝐘𝐭
Sales data for 10 periods are given.
1 700
Forecast the data for the next period i.e. for
2 724
the 11 period. 3 720
Assume a = 0.4 and Ft = 700 (initial value). 4 728
5 740
6 742
7 758
8 750
9 770
10 775
SOLUTION:
*Number of digit/s after the decimal point must be based on the computation
however, maximum of 2 digits only and round-off.
𝐅𝐭 = 𝐚 + 𝐛𝐗 𝐭
𝒏 ( ∑ 𝑿𝒕 𝑫𝒕 ) −( ∑ 𝑿𝒕 )( ∑ 𝑫𝒕 ) ∑ 𝑫𝒕 −𝒃 ∑ 𝑿𝒕
b= 𝟐 a=
𝒏 (∑ 𝑿𝒕 )−(∑ 𝑿𝒕 )𝟐 𝒏
𝑫 = 𝐚 + 𝐛𝐗
SOLUTION:
1 1 32 32 1
2 2 28 56 4
3 3 30 90 9
4 4 34 136 16
5 5 30 150 25
6 6 43 258 36
7 7 36 252 49
8 8 42 336 64
9 9 42 378 81
10 10 55 550 100
t = 55 ∑ 𝑿𝒕 = 96 ∑ 𝑫𝒕 = 30 ∑ 𝑿𝒕 𝟐 = 1060 ∑ 𝑿𝒕 𝑫𝒕 = 328
Thus, the estimated regression line, the relationship between future sales Ft and
advertising Xt is:
▪ To set safety stocks or safety capacity and thereby ensure a desired level of
protection against stockout.
▪ To monitor erratic demand observations.
▪ To determine when the forecasting method is no longer tracking actual
demand and needs to be reset.