Professional Documents
Culture Documents
Forecasting
Forecasting
1. MOVING AVERAGE
-is a calculation to analyze data points by creating a series of averages of different
subsets of the full data set
-is a technique to get an overall idea of the trends in a data set
formula:
formula:
Example:
3. EXPONENTIAL SMOOTHING
-is a time series forecasting method for univariate data that can be extended to
support data with a systematic trend or seasonal component
formula:
Example:
Period Actual demand Forecast Error
∝= 10%
1 42 0 0
2 40 42 -2
3 43 41.8 1.2
4 40 41.92 -1.92
5 41 41.73 -0.73
𝑦 = 𝑎 + 𝑏𝑥
∑ 𝑥𝑦 − 𝑛𝑥𝑦
̅̅̅
𝑏=
∑ 𝑥 − 𝑛𝑥̅ 2
2
where: x = time
n = number of items
∑𝑥
x = mean of x 𝑥̅ = 𝑛
∑𝑦
y = mean of y 𝑦̅ =
𝑛
𝑎 = ̅𝑦 − 𝑏𝑥̅
Example:
Suppose that the sales of ABC Hypermart in the past 6 months were recorded as follows:
15 1790
n=6 ̅𝑥 = 6
= 2.5 𝑦̅ = 6
= 298.33
4735−[6(2.5)(298.33)]
𝑏= 55−[6(2.5)2 ]
= 14.86
we can now forecast the value of y for any value of x (the time)
a.) suppose we wanted to forecast the sale of ABC Hypermart for the month of
November