🔍
Forecasting: Exponential Smoothing, MSE - YouTube
Channel: Joshua Emmanuel
[0]
Welcome to this forecasting tutorial on Exponential Smoothing.
[4]
We will be calculating forecasts using exponential
smoothing,
[7]
we will also be calculating the mean squared
error for the forecasts.
[12]
We will be calculating exponentially smoothed
forecast for these sales values collected
[18]
over a 7-week period.
The actual sales values will be represented
[23]
by At.
Note that some authors use Yt to represent
[27]
actual values.
Forecast values on the other hand are generally
[31]
represented by Ft.
The Exponential Smoothing Method uses the
[36]
formula
Ft+1 = Ft + α(At – Ft) where alpha is a
[43]
value between 0 and 1, referred to as the
smoothing constant.
[48]
This means that the forecast for the current
period is obtained by adding the forecast
[53]
in the last period to a fraction of the error
from the last period.
[58]
To make calculations easier, this formula
can be rewritten as
[63]
Ft+1 = αAt + (1 - α)Ft
That is, the new forecast equals the alpha
[72]
times the last actual value plus (1 –alpha)
times the last forecast value.
[79]
We will be using this second formula for our
calculations.
[82]
Note that both formulas will give the same
result. It is just a little easier to use
[87]
the second one.
So our first objective is to calculate exponential
[92]
smoothing forecasts data using
α = 0.2.
[97]
Since alpha = 0.2, then 1 minus alpha will
be 1 - 0.2 which equals 0.8.
[104]
The formula then becomes
Ft+1 = 0.2 time the actual values + 0.8 times
[111]
the forecast values.
Since the forecast requires both actual and
[116]
forecast values from the last period, we are
sometimes given a forecast value for the first
[121]
period. If no forecast value for the first
period is given, then we assume F1 = A1. That
[128]
is, the first forecast value is assumed to
be the first actual value. So F1 = 39.
[136]
We then calculate F2 as 0.2(39) + 0.8(39)
which again will always give the same value,
[147]
39.
As a result, we just usually assume that F2
[151]
= A1 and not bother calculating it at all.
That is, if F1 is not given, we simply start
[159]
by copying whatever value we have in A1 into
F2.
[165]
This means that our first real use of the
formula begins with F3.
[170]
So F3 is going to be .2 times 44 + .8 times
39, which gives 40.
[177]
Consequently, F4 will be 0.2(40) + 0.8(40.00)
which gives 40.
[185]
For F5, we have 0.2(45) + 0.8(40) which gives
41.
[191]
For F6, 0.2(38) + 0.8(41.00) which gives 40.4.
F7 equals 0.2(43) + 0.8(40.40) and that gives
[204]
40.92.
We can also forecast week 8 as 0.2(39) + 0.8(40.92)
[213]
which gives 40.54.
Next we compute the mean squared error.
[220]
To obtain the mean squared error, MSE, we
first obtain the forecast errors, square them,
[226]
and then find the mean or average of the squared
errors.
[230]
When computing errors for exponential smoothing
forecasts, we do not calculate an error for
[235]
period 1 unless otherwise stated.
So the error for week 2 is 44 - 39 which is
[243]
5.
For week 3, it is 40 minus 40 which gives
[247]
0.
For week 4, it is 45 minus 40 which is 5.
[251]
For week 5, it is 38 minus 41 which gives
-3.
[255]
For week 6 it is 2.6, and for week 7 it is
-1.92.
[261]
Next we square the errors.
Starting with week 2,
[265]
5 squared is 25
Zero squared is zero
[268]
-3 squared is 9
2.6 squared is 6.76
[276]
and -1.92 squared is 3.69.
Since we only have 6 periods with errors,
[282]
we add up these squared errors and divide
by 6 to obtain a Mean squared error of 11.58.
[288]
And that’s how to calculate forecasts and
MSE with exponential smoothing.
[294]
Please leave a question or comment below and
thanks for watching.
Most Recent Videos:
You can go back to the homepage right here: Homepage





