Skip to content
Back to exploration
Mathematical modeling / English

Forecasting: Exponential Smoothing, MSE

Joshua Emmanuel · YouTube · 4:59

Open original
READ & KEEP

The explanation, unpacked.

Saves 0

Reviewed learning material · Video analysis · English
Read the full overview

This introductory tutorial explains the method of exponential smoothing for forecasting. It defines the notation for actual sales (AtA_t) and forecast values (FtF_t), and presents two equivalent forms of the exponential smoothing formula: an error correction form and a weighted average form. The video demonstrates how to apply the formula to a seven-week sales dataset using a smoothing constant of alpha = 0.2. It covers the standard assumption for the initial forecast (F1=A1F_1 = A_1) and walks through the step-by-step calculation of subsequent forecasts, highlighting a shortcut for calculating F2F_2. This video demonstrates how to perform time series forecasting using the exponential smoothing method with a smoothing constant of 0.2. It shows the step-by-step calculation of forecasts for several periods based on historical sales data. Following the forecast calculations, the video explains and computes the Mean Squared Error (MSE) to evaluate the accuracy of the forecasting model, detailing the process of finding forecast errors, squaring them, and calculating their average.

Use the learning inspector for key ideas and moments, or open the reading tabs for the complete notes.

Chapters

0:00Introduction and Objectives0:17Data Presentation and Notation0:37Exponential Smoothing Formulas1:29Applying the Formula: Initial Assumptions and Calculations3:00Exponential Smoothing Forecast Calculations3:40Calculating Mean Squared Error (MSE)4:55Conclusion

Learning script

Generated from the video's visuals and explanation; not verbatim speech.

The video introduces the topic of forecasting using exponential smoothing and outlines the objectives: calculating forecasts and the Mean Squared Error (MSE).

A table displaying weekly sales data is presented. The narrator defines the notation: AtA_t (or YtY_t) represents the actual sales value at time t, and FtF_t represents the forecast value at time t.

The primary formula for exponential smoothing is introduced: Ft+1=Ft+α(At−Ft)F_{t+1} = F_t + \alpha(A_t - F_t). Here, α\alpha is the smoothing constant, a value between 0 and 1. This formula updates the forecast by adding a fraction of the previous period's error to the previous forecast.

An alternative, computationally easier form of the formula is shown: Ft+1=αAt+(1−α)FtF_{t+1} = \alpha A_t + (1 - \alpha)F_t. This expresses the new forecast as a weighted average of the most recent actual value and the most recent forecast. The video confirms both formulas are equivalent.

The tutorial applies the method to the provided data using a smoothing constant of α=0.2\alpha = 0.2. Consequently, 1−α=0.81 - \alpha = 0.8, and the working formula becomes Ft+1=0.2(At)+0.8(Ft)F_{t+1} = 0.2(A_t) + 0.8(F_t).

The video addresses the initialization problem. If no prior forecast is given, the standard assumption is to set the first forecast equal to the first actual value (F1=A1F_1 = A_1). In this example, F1F_1 is set to 39.

The calculation for F2F_2 is demonstrated: F2=0.2(39)+0.8(39)=39F_2 = 0.2(39) + 0.8(39) = 39. The narrator points out a shortcut: whenever F1=A1F_1 = A_1, F2F_2 will always equal A1A_1, so it can simply be copied without calculation.

The first substantive application of the formula occurs at F3F_3. Using A2=44A_2 = 44 and F2=39F_2 = 39, the calculation is F3=0.2(44)+0.8(39)=8.8+31.2=40F_3 = 0.2(44) + 0.8(39) = 8.8 + 31.2 = 40. The video ends just as it begins to explain the calculation for F4F_4.

The video begins by demonstrating the application of the exponential smoothing formula, Ft+1=αAt+(1−α)FtF_{t+1} = \alpha A_t + (1 - \alpha)F_t, with a given smoothing constant α=0.2\alpha = 0.2. The narrator calculates the forecast for week 4 (F4F_4) by taking 0.2 times the actual sales of week 3 (A3=40A_3=40) plus 0.8 times the forecast for week 3 (F3=40.00F_3=40.00), resulting in 40.00. This process is repeated sequentially for weeks 5, 6, 7, and 8, with each new forecast depending on the previous period's actual sales and forecast. The calculated forecasts are displayed in a table on the left.

The focus then shifts to evaluating the model's accuracy by calculating the Mean Squared Error (MSE). The narrator explains that this involves first finding the forecast errors, which are the differences between the actual sales and the forecasts. A key point is made that the error for the first period is not calculated, as the initial forecast is typically set to the first actual value. The errors for weeks 2 through 7 are computed and shown in the table. Next, each of these errors is squared. Finally, the squared errors are summed and divided by the number of periods with errors (six) to arrive at the MSE, which is calculated to be 11.58. The video concludes by summarizing the steps for calculating forecasts and MSE using exponential smoothing.

Knowledge cards

01

Exponential Smoothing: Weighted Average Formula

The forecast for the next period is a weighted average of the current actual value and the current forecast. This form is often easier for manual calculations than the error-correction form.

Ft+1=αAt+(1−α)FtF_{t+1} = \alpha A_t + (1 - \alpha)F_t
02

Initial Forecast Assumption

When no previous forecast is available to start the exponential smoothing process, it is standard practice to assume the first forecast equals the first actual observed value.

F1=A1F_1 = A_1
03

Shortcut for the Second Forecast

If the initial assumption F1=A1F_1 = A_1 is used, the calculation for the second forecast (F2F_2) will always result in F2=A1F_2 = A_1. Therefore, you can skip the calculation and simply copy the value of A1A_1 to F2F_2.

F2=A1 (if F1=A1)F_2 = A_1 \text{ (if } F_1 = A_1\text{)}
04

Exponential Smoothing Formula

A time series forecasting method where the forecast for the next period is a weighted average of the current period's actual value and the current period's forecast. The formula is Ft+1=αAt+(1−α)FtF_{t+1} = \alpha A_t + (1 - \alpha)F_t, where α\alpha is the smoothing constant between 0 and 1.

Ft+1=αAt+(1−α)FtF_{t+1} = \alpha A_t + (1 - \alpha)F_t
05

Mean Squared Error (MSE)

A measure of the quality of an estimator. In forecasting, it represents the average of the squares of the errors—that is, the average squared difference between the estimated values (forecasts) and the actual value. A lower MSE indicates a better fit of the model to the data.

MSE=1n∑i=1n(Ai−Fi)2MSE = \frac{1}{n} \sum_{i=1}^{n} (A_i - F_i)^2
06

Forecast Error Calculation

The forecast error for a given period is the difference between the actual observed value and the forecasted value for that same period. It is calculated as Error=Actual−ForecastError = Actual - Forecast. In exponential smoothing, errors are typically not calculated for the first period.

Et=At−FtE_t = A_t - F_t

Detailed learning notes

Explore conditions, steps and evidence. Supplementary explanations are labeled separately from content shown in the video.

Symbols · 11

Week

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    Table header shows 'Week' with rows 1 through 7.

Symbol

Week

Meaning

Time period index for the sales data.

Domain

Discrete integers from 1 to 7.

Sales

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    Table column 'Sales' contains values 39, 44, 40, 45, 38, 43, 39.

Symbol

Sales

Meaning

Actual sales values collected over a seven-week period.

Domain

Real numbers representing sales quantities.

Forecast

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    Table column 'Forecast' is initially empty and later filled with calculated values.

Symbol

Forecast

Meaning

Predicted sales values for each week.

Domain

Real numbers representing forecasted quantities.

AtA_t

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The actual sales will be represented by AtA_t.

  2. Diagram
    Observation

    Label 'AtA_t' appears above the 'Sales' column.

Symbol

AtA_t

Meaning

Actual value at time t.

Domain

Real numbers.

YtY_t

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    Note that some authors use YtY_t to represent actual values.

  2. Diagram
    Observation

    Text box states 'Actual Value AtA_t or YtY_t'.

Symbol

YtY_t

Meaning

Alternative notation for the actual value at time t.

Domain

Real numbers.

FtF_t

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    Forecast values on the other hand are generally represented by FtF_t.

  2. Diagram
    Observation

    Label 'FtF_t' appears above the 'Forecast' column.

Symbol

FtF_t

Meaning

Forecast value for time t.

Domain

Real numbers.

α\alpha

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    where alpha is a value between zero and one referred to as the smoothing constant.

  2. Diagram
    Observation

    Text box states 'Smoothing Constant 0 <= alpha <= 1'.

Symbol

α\alpha

Meaning

Smoothing constant used in the exponential smoothing formula.

Domain

Real numbers such that 0≤α≤10 \le \alpha \le 1.

α\alpha

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    α=0.2α = 0.2

Symbol

α\alpha

Meaning

Smoothing constant, a weight applied to the most recent actual observation.

Domain

0<α<10 < \alpha < 1

AtA_t

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    AtA_t in the formula Ft+1=αAt+(1−α)FtF_{t+1} = \alpha A_t + (1 - \alpha)F_t

Symbol

AtA_t

Meaning

Actual value (sales) at time period t.

Domain

Real numbers

FtF_t

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    FtF_t in the formula Ft+1=αAt+(1−α)FtF_{t+1} = \alpha A_t + (1 - \alpha)F_t

Symbol

FtF_t

Meaning

Forecasted value for time period t.

Domain

Real numbers

MSE

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    mean squared error MSE

  2. Formula
    Observation

    MSE = 11.58

Symbol

MSE

Meaning

Mean Squared Error, a measure of the average of the squares of the errors.

Domain

Non-negative real numbers

Knowledge points · 5

Exponential Smoothing Formula (Error Correction Form)

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The exponential smoothing method uses the formula Ft+1=Ft+α(At−Ft)F_{t+1} = F_t + \alpha(A_t - F_t).

  2. Formula
    Observation

    Orange box displays Ft+1=Ft+α(At−Ft)F_{t+1} = F_t + \alpha(A_t - F_t).

Formula
Explanation

The first form of the exponential smoothing formula calculates the next period's forecast by adding a fraction of the previous period's forecast error to the previous period's forecast.

Formula
Ft+1=Ft+α(At−Ft)F_{t+1} = F_t + \alpha(A_t - F_t)
Conditions
  1. α\alpha is the smoothing constant, 0≤α≤10 \le \alpha \le 1.

  2. AtA_t is the actual value at time t.

  3. FtF_t is the forecast value at time t.

Prerequisites
  1. AtA_t
  2. FtF_t
  3. α\alpha

Exponential Smoothing Formula (Weighted Average Form)

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    To make calculations easier, this formula can be rewritten as Ft+1=αAt+(1−α)FtF_{t+1} = \alpha A_t + (1 - \alpha)F_t.

  2. Formula
    Observation

    Blue box displays Ft+1=αAt+(1−α)FtF_{t+1} = \alpha A_t + (1 - \alpha)F_t.

Formula
Explanation

The second form of the formula expresses the new forecast as a weighted average of the last actual value and the last forecast value. The video notes this form is easier for calculations.

Formula
Ft+1=αAt+(1−α)FtF_{t+1} = \alpha A_t + (1 - \alpha)F_t
Conditions
  1. α\alpha is the smoothing constant, 0≤α≤10 \le \alpha \le 1.

  2. AtA_t is the actual value at time t.

  3. FtF_t is the forecast value at time t.

Prerequisites
  1. Exponential Smoothing Formula (Error Correction Form)
  2. AtA_t
  3. FtF_t
  4. α\alpha

Initial Forecast Assumption

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    If no forecast value for the first period is given, then we assume F1=A1F_1 = A_1.

  2. Formula
    Observation

    Yellow highlight in the Forecast column for Week 1 shows F1=A1F_1 = A_1.

Method
Explanation

When starting exponential smoothing without a prior forecast, the standard assumption is to set the first forecast equal to the first actual value.

Formula
F1=A1F_1 = A_1
Conditions
  1. No initial forecast value is provided for the first period.

Prerequisites
  1. AtA_t
  2. FtF_t

Exponential Smoothing Formula

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Ft+1=αAt+(1−α)FtF_{t+1} = \alpha A_t + (1 - \alpha)F_t

Formula
Explanation

The forecast for the next period is a weighted average of the actual value of the current period and the forecast of the current period.

Formula
Ft+1=αAt+(1−α)FtF_{t+1} = \alpha A_t + (1 - \alpha)F_t
Conditions
  1. Requires an initial forecast value, often set to the first actual observation.

  2. The smoothing constant α\alpha must be between 0 and 1.

Mean Squared Error (MSE)

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    To obtain the mean squared error MSE, we first obtain the forecast errors, square them, and then find the mean or average of the squared errors.

Definition
Explanation

MSE is a metric used to evaluate the accuracy of a forecasting model. It is calculated by taking the average of the squared differences between the actual values and the forecasted values.

Formula
MSE=1n∑i=1n(Ai−Fi)2MSE = \frac{1}{n} \sum_{i=1}^{n} (A_i - F_i)^2
Conditions
  1. Errors are typically not calculated for the first period if the forecast is initialized with the first actual value.

Prerequisites
  1. Exponential Smoothing Formula
Derivations and proofs · 3

Equivalence of Exponential Smoothing Formulas

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    To make calculations easier, this formula can be rewritten as... Note that both formulas will give the same result.

  2. Diagram
    Observation

    A double-headed arrow connects the orange and blue formula boxes.

Intuitive argument
Steps
  1. Expression
    Ft+1=Ft+α(At−Ft)F_{t+1} = F_t + \alpha(A_t - F_t)
    Explanation

    Start with the error correction form of the formula.

    Justification

    Given in the video.

    Shown in the video
  2. Expression
    Ft+1=Ft+αAt−αFtF_{t+1} = F_t + \alpha A_t - \alpha F_t
    Explanation

    Distribute the smoothing constant alpha into the parentheses.

    Justification

    Algebraic distribution.

    Derived from the video
  3. Expression
    Ft+1=αAt+Ft−αFtF_{t+1} = \alpha A_t + F_t - \alpha F_t
    Explanation

    Rearrange the terms to group the FtF_t terms together.

    Justification

    Commutative property of addition.

    Derived from the video
  4. Expression
    Ft+1=αAt+(1−α)FtF_{t+1} = \alpha A_t + (1 - \alpha)F_t
    Explanation

    Factor out FtF_t from the grouped terms.

    Justification

    Factoring.

    Derived from the video
Conclusion

The two forms of the exponential smoothing formula are algebraically equivalent, but the weighted average form is computationally simpler.

Calculating Forecasts using Exponential Smoothing

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    0.2 times 40 plus 0.8 times 40, which gives 40. For F5, we have 0.2 times 45 plus 0.8 times 40, which gives 41...

  2. Formula
    Observation

    F4=0.2(40)+0.8(40.00)F_4 = 0.2(40) + 0.8(40.00) F5=0.2(45)+0.8(40.00)F_5 = 0.2(45) + 0.8(40.00) F6=0.2(38)+0.8(41.00)F_6 = 0.2(38) + 0.8(41.00) F7=0.2(43)+0.8(40.40)F_7 = 0.2(43) + 0.8(40.40) F8=0.2(39)+0.8(40.92)F_8 = 0.2(39) + 0.8(40.92)

Numerical verification
Steps
  1. Expression
    F4=0.2(40)+0.8(40.00)=40.00F_4 = 0.2(40) + 0.8(40.00) = 40.00
    Explanation

    Calculate the forecast for week 4 using the actual sales from week 3 and the forecast for week 3.

    Justification

    Applying the exponential smoothing formula with α=0.2\alpha = 0.2.

    Shown in the video
  2. Expression
    F5=0.2(45)+0.8(40.00)=41.00F_5 = 0.2(45) + 0.8(40.00) = 41.00
    Explanation

    Calculate the forecast for week 5 using the actual sales from week 4 and the forecast for week 4.

    Justification

    Applying the exponential smoothing formula.

    Shown in the video
  3. Expression
    F6=0.2(38)+0.8(41.00)=40.40F_6 = 0.2(38) + 0.8(41.00) = 40.40
    Explanation

    Calculate the forecast for week 6 using the actual sales from week 5 and the forecast for week 5.

    Justification

    Applying the exponential smoothing formula.

    Shown in the video
  4. Expression
    F7=0.2(43)+0.8(40.40)=40.92F_7 = 0.2(43) + 0.8(40.40) = 40.92
    Explanation

    Calculate the forecast for week 7 using the actual sales from week 6 and the forecast for week 6.

    Justification

    Applying the exponential smoothing formula.

    Shown in the video
  5. Expression
    F8=0.2(39)+0.8(40.92)=40.54F_8 = 0.2(39) + 0.8(40.92) = 40.54
    Explanation

    Calculate the forecast for week 8 using the actual sales from week 7 and the forecast for week 7.

    Justification

    Applying the exponential smoothing formula.

    Shown in the video
Conclusion

The forecasts for weeks 4 through 8 are calculated sequentially.

Calculating Mean Squared Error (MSE)

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    So the forecast error for week two is 44 minus 39, which is 5... Next we square the errors... Since we only have six periods with errors, we add up these errors and divide by six to obtain a mean squared error of 11.58.

  2. Formula
    Observation

    Error = Sales - Forecast Error^2 MSE = 11.58

Numerical verification
Steps
  1. Expression
    E2=44−39.00=5.00E_2 = 44 - 39.00 = 5.00
    Explanation

    Calculate the forecast error for week 2.

    Justification

    Subtracting the forecast from the actual sales.

    Shown in the video
  2. Expression
    E3=40−40.00=0.00E_3 = 40 - 40.00 = 0.00
    Explanation

    Calculate the forecast error for week 3.

    Justification

    Subtracting the forecast from the actual sales.

    Shown in the video
  3. Expression
    E4=45−40.00=5.00E_4 = 45 - 40.00 = 5.00
    Explanation

    Calculate the forecast error for week 4.

    Justification

    Subtracting the forecast from the actual sales.

    Shown in the video
  4. Expression
    E5=38−41.00=−3.00E_5 = 38 - 41.00 = -3.00
    Explanation

    Calculate the forecast error for week 5.

    Justification

    Subtracting the forecast from the actual sales.

    Shown in the video
  5. Expression
    E6=43−40.40=2.60E_6 = 43 - 40.40 = 2.60
    Explanation

    Calculate the forecast error for week 6.

    Justification

    Subtracting the forecast from the actual sales.

    Shown in the video
  6. Expression
    E7=39−40.92=−1.92E_7 = 39 - 40.92 = -1.92
    Explanation

    Calculate the forecast error for week 7.

    Justification

    Subtracting the forecast from the actual sales.

    Shown in the video
  7. Expression
    E22=5.002=25.00E_2^2 = 5.00^2 = 25.00
    Explanation

    Square the error for week 2.

    Justification

    Squaring the calculated errors.

    Shown in the video
  8. Expression
    E32=0.002=0.00E_3^2 = 0.00^2 = 0.00
    Explanation

    Square the error for week 3.

    Justification

    Squaring the calculated errors.

    Shown in the video
  9. Expression
    E42=5.002=25.00E_4^2 = 5.00^2 = 25.00
    Explanation

    Square the error for week 4.

    Justification

    Squaring the calculated errors.

    Shown in the video
  10. Expression
    E52=(−3.00)2=9.00E_5^2 = (-3.00)^2 = 9.00
    Explanation

    Square the error for week 5.

    Justification

    Squaring the calculated errors.

    Shown in the video
  11. Expression
    E62=2.602=6.76E_6^2 = 2.60^2 = 6.76
    Explanation

    Square the error for week 6.

    Justification

    Squaring the calculated errors.

    Shown in the video
  12. Expression
    E72=(−1.92)2=3.6864≈3.69E_7^2=(-1.92)^2=3.6864\approx3.69
    Explanation

    The exact squared error is 3.6864; the video displays it rounded as 3.69.

    Justification

    Squaring the calculated errors.

    Shown in the video
  13. Expression
    MSEdisplay=(25.00+0.00+25.00+9.00+6.76+3.69)/6=11.575≈11.58MSE_{\mathrm{display}}=(25.00+0.00+25.00+9.00+6.76+3.69)/6=11.575\approx11.58
    Explanation

    Averaging the six displayed, individually rounded squared errors gives 11.575, reported on screen as 11.58.

    Justification

    Calculating the mean of the squared errors.

    Shown in the video
  14. Expression
    MSEexact=(25+0+25+9+6.76+3.6864)/6=11.5744≈11.57MSE_{\mathrm{exact}}=(25+0+25+9+6.76+3.6864)/6=11.5744\approx11.57
    Explanation

    Keeping the last squared error unrounded until the final average gives 11.57 to two decimal places.

    Justification

    Independent arithmetic check of the same data.

    Derived from the video
Conclusion

The video reports MSE 11.58 from displayed rounded squared errors; using full precision until the end gives 11.57 to two decimals.

Worked examples · 2

Calculating Initial Forecasts F2F_2 and F3F_3

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    We then calculate F2F_2 as 0.2 times 39 plus 0.8 times 39... As a result, we just usually assume that F2F_2 equals A1A_1... This means that our first real use of the formula begins with F3F_3. So F3F_3 is going to be 0.2 times 44 plus 0.8 times 39, which gives 40.

  2. Formula
    Observation

    Screen shows F2=0.2(39)+0.8(39.00)=39.00F_2 = 0.2(39) + 0.8(39.00) = 39.00, and F3=0.2(44)+0.8(39.00)=40.00F_3 = 0.2(44) + 0.8(39.00) = 40.00.

Problem

Calculate the forecasts for weeks 2 and 3 using exponential smoothing with α=0.2\alpha = 0.2, given the sales data A1=39A_1 = 39 and A2=44A_2 = 44.

Given
  1. α=0.2\alpha = 0.2

  2. A1=39A_1 = 39

  3. A2=44A_2 = 44

  4. F1=A1=39F_1 = A_1 = 39

Goal

Find F2F_2 and F3F_3.

Steps
  1. Expression
    F2=0.2(39)+0.8(39)=39F_2 = 0.2(39) + 0.8(39) = 39
    Explanation

    Calculate F2F_2 using the formula and the assumed F1F_1.

    Justification

    Substitution into the weighted average formula.

    Shown in the video
  2. Expression
    F2=A1=39F_2 = A_1 = 39
    Explanation

    Recognize that calculating F2F_2 when F1=A1F_1 = A_1 always yields A1A_1, so it can be directly copied.

    Justification

    Algebraic simplification noted in the video.

    Shown in the video
  3. Expression
    F3=0.2(44)+0.8(39)=8.8+31.2=40F_3 = 0.2(44) + 0.8(39) = 8.8 + 31.2 = 40
    Explanation

    Calculate F3F_3 using the formula with A2A_2 and F2F_2.

    Justification

    Substitution into the weighted average formula.

    Shown in the video
Answer

F2=39F_2 = 39, F3=40F_3 = 40

Verification

The calculations match the values displayed in the table on screen.

Exponential Smoothing and MSE Calculation Example

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    Table showing Week, Sales, Forecast, Error, and Error^2 columns being filled out.

Problem

Given weekly sales data and an initial forecast, calculate subsequent forecasts using exponential smoothing with α=0.2\alpha = 0.2, and then compute the Mean Squared Error (MSE) for the model.

Given
  1. Weekly Sales data: Week 1: 39, Week 2: 44, Week 3: 40, Week 4: 45, Week 5: 38, Week 6: 43, Week 7: 39.

  2. Initial Forecast: F2=39.00F_2 = 39.00 (which is A1A_1).

  3. Smoothing constant: α=0.2\alpha = 0.2.

Goal

Find the forecasts for weeks 3 through 8 and the MSE for the model based on weeks 2 through 7.

Steps
  1. Expression
    Ft+1=0.2(At)+0.8(Ft)F_{t+1} = 0.2(A_t) + 0.8(F_t)
    Explanation

    Apply the exponential smoothing formula iteratively to find forecasts for weeks 3 to 8.

    Justification

    Using the provided formula and α\alpha value.

    Shown in the video
  2. Expression
    Et=At−FtE_t = A_t - F_t
    Explanation

    Calculate the forecast error for each week from 2 to 7 by subtracting the forecast from the actual sales.

    Justification

    Definition of forecast error.

    Shown in the video
  3. Expression
    Et2E_t^2
    Explanation

    Square each of the calculated forecast errors.

    Justification

    Required step for MSE calculation.

    Shown in the video
  4. Expression
    MSE=∑Et2nMSE = \frac{\sum E_t^2}{n}
    Explanation

    Sum the squared errors and divide by the number of error terms (n=6n=6) to find the MSE.

    Justification

    Definition of Mean Squared Error.

    Shown in the video
Answer

Forecasts: F3=40.00,F4=40.00,F5=41.00,F6=40.40,F7=40.92,F8=40.54F_3=40.00, F_4=40.00, F_5=41.00, F_6=40.40, F_7=40.92, F_8=40.54. MSE is 11.58 from the rounded table, or 11.57 if exact squared errors are averaged first.

Verification

The calculations are shown step-by-step in the video's table, and the final MSE is explicitly stated.

Visual events · 2

Progressive Filling of the Forecast Table

Clear evidence
Shown in the video
Evidence
  1. Animation
    Observation

    A table with columns Week, Sales, and Forecast is shown. The Forecast column is progressively filled with calculated values as the video explains the process.

Objects
  1. Table with Week, Sales, and Forecast columns

  2. Calculated forecast values

Changes
  1. The Forecast column starts empty.

  2. Values for F1F_1, F2F_2, and F3F_3 are sequentially added to the Forecast column.

Invariants
  1. The Week and Sales columns remain static throughout the segment.

Interpretation

The visual progression demonstrates the step-by-step application of the exponential smoothing formula to generate forecasts for each subsequent period.

Progressive Table Population

Clear evidence
Shown in the video
Evidence
  1. Animation
    Observation

    A table is progressively filled with calculated values for Forecast, Error, and Error^2 columns.

Objects
  1. Table with columns: Week, Sales, Forecast, Error, Error^2

  2. Formulas on the right side of the screen

Changes
  1. Values appear in the 'Forecast' column row by row.

  2. Values appear in the 'Error' column row by row.

  3. Values appear in the 'Error^2' column row by row.

  4. The final MSE value appears at the bottom.

Invariants
  1. The 'Week' and 'Sales' columns remain static.

  2. The general layout of the table and formulas remains unchanged.

Interpretation

The animation visually demonstrates the sequential nature of the calculations, where each new value depends on previously calculated ones.

Misconceptions · 2

Unnecessary Calculation of F2F_2

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    As a result, we just usually assume that F2F_2 equals A1A_1 and not bother calculating it at all.

Misconception

Students might waste time calculating F2F_2 using the full formula when F1F_1 is assumed to be A1A_1.

Clarification

The video explicitly points out that if F1=A1F_1 = A_1, then F2F_2 will always equal A1A_1, so it is more efficient to simply copy the value of A1A_1 to F2F_2.

Calculating Error for the First Period

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    When computing errors for exponential smoothing forecasts, we do not calculate an error for period one unless otherwise stated.

  2. Diagram
    Observation

    A red 'X' is drawn over the Error cell for Week 1.

Misconception

An error should be calculated for every period, including the first one.

Clarification

In exponential smoothing, the first period's forecast is often initialized with the first period's actual value, making the error zero and uninformative. Therefore, errors are typically calculated starting from the second period.

Concept relations · 2

Exponential Smoothing Formula (Error Correction Form) → Exponential Smoothing Formula (Weighted Average Form)

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    Note that both formulas will give the same result, it is just a little easier to use the second one.

  2. Diagram
    Observation

    Double-headed arrow between the two formula boxes.

Equivalent
Explanation

The error correction form and the weighted average form of the exponential smoothing equation are mathematically equivalent, but the latter is preferred for manual calculation.

Exponential Smoothing Formula → Mean Squared Error (MSE)

Clear evidence
Derived from the video
Evidence
  1. Audio
    Observation

    Next we compute the mean squared error.

Application
Explanation

The MSE is calculated using the forecast errors, which are derived from the forecasts generated by the exponential smoothing method.

Find an answer · 5

Why are there two different formulas for exponential smoothing and which one should I use?

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    To make calculations easier, this formula can be rewritten as...

Knowledge points
  1. Exponential Smoothing Formula (Error Correction Form)
  2. Exponential Smoothing Formula (Weighted Average Form)
  3. s0-cr-formula-equivalence

How do I start an exponential smoothing calculation if no initial forecast is provided?

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    If no forecast value for the first period is given, then we assume F1F_1 equals A1A_1.

Knowledge points
  1. Initial Forecast Assumption

How do I calculate the next forecast in exponential smoothing?

Clear evidence
Derived from the video
Evidence
  1. Formula
    Observation

    Ft+1=αAt+(1−α)FtF_{t+1} = \alpha A_t + (1 - \alpha)F_t

Knowledge points
  1. Exponential Smoothing Formula

What is Mean Squared Error (MSE) and how is it calculated?

Clear evidence
Derived from the video
Evidence
  1. Audio
    Observation

    To obtain the mean squared error MSE, we first obtain the forecast errors, square them, and then find the mean or average of the squared errors.

Knowledge points
  1. Mean Squared Error (MSE)

Why is there no forecast error calculated for the first week?

Clear evidence
Derived from the video
Evidence
  1. Audio
    Observation

    we do not calculate an error for period one unless otherwise stated.

Knowledge points
  1. Calculating Error for the First Period
Coverage and review notes

Covered · Introduction and objectives of the tutorial.

Covered · Presentation of the data table and definition of notation for actual and forecast values.

Covered · Introduction and explanation of the two equivalent forms of the exponential smoothing formula.

Covered · Application of the formula to the given dataset, including the assumption for the initial forecast and the calculation of F2F_2 and F3F_3.

Covered · Calculation of forecasts using the exponential smoothing formula.

Covered · Calculation of forecast errors, squared errors, and the final Mean Squared Error (MSE).

Explore the knowledge in this video

Reviewed subject paths

Questions this video answers

Understand why

↗
Understand why

↗
Find a method

↗
Meet the concept

↗
Find a method

↗