A2oz

How to Do Exponential Smoothing Manually?

Published in Forecasting 2 mins read

Exponential smoothing is a forecasting technique that uses a weighted average of past data to predict future values. It assigns more weight to recent data points than older ones, making it suitable for time series data with trends or seasonality.

Manual Calculation Steps:

  1. Choose an alpha value (smoothing factor): The alpha value determines the weight given to the most recent observation. A higher alpha value gives more weight to recent data, while a lower value gives more weight to historical data.

  2. Calculate the initial forecast: This can be the first actual value in the data series or a simple average of the first few values.

  3. Calculate the forecast for the next period: Use the following formula:

    Forecast (t+1) = α Actual (t) + (1-α) Forecast (t)

    Where:

    • Forecast (t+1) is the forecast for the next period (t+1)
    • α is the smoothing factor
    • Actual (t) is the actual value for the current period (t)
    • Forecast (t) is the forecast for the current period (t)
  4. Repeat step 3 for each subsequent period: Continue using the formula to calculate forecasts for all future periods.

Example:

Let's say you have the following data for monthly sales:

Month Actual Sales
Jan 100
Feb 110
Mar 120

Assume you choose an alpha value of 0.2.

  1. Initial forecast (Jan): 100 (using the first actual value)
  2. Forecast for Feb: (0.2 110) + (0.8 100) = 102
  3. Forecast for Mar: (0.2 120) + (0.8 102) = 103.6

Therefore, the manual exponential smoothing forecast for March is 103.6.

Practical Insights:

  • Choosing the alpha value: The best alpha value depends on the specific data and the desired level of responsiveness to recent changes. Experiment with different alpha values to find the one that produces the most accurate forecasts.
  • Seasonality: For data with seasonality, you can use seasonal exponential smoothing, which adjusts the forecast based on seasonal patterns.
  • Trend: For data with a trend, you can use trend-adjusted exponential smoothing, which accounts for the trend in the data.

Conclusion:

Manual exponential smoothing is a simple and effective forecasting method for time series data. By choosing an appropriate smoothing factor and applying the formula, you can generate reasonably accurate forecasts for future periods.

Related Articles