1 / 22

Cycles and Exponential Smoothing Models

Cycles and Exponential Smoothing Models. Materials for this lecture Lecture 4 Cycles.XLS Lecture 4 Exponential Smoothing.XLSX Read Chapter 15 pages 18-30 Read Chapter 16 Section 14. How Good is Your Forecast?. Can your forecast beat a Moving Average?

gavivi
Télécharger la présentation

Cycles and Exponential Smoothing Models

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Cycles and Exponential Smoothing Models • Materials for this lecture • Lecture 4 Cycles.XLS • Lecture 4 Exponential Smoothing.XLSX • Read Chapter 15 pages 18-30 • Read Chapter 16 Section 14

  2. How Good is Your Forecast? • Can your forecast beat a Moving Average? • Business forecasters use Moving Average as a point of comparison • MAPE for MA model • MAPE for your model • Example of two Data Series • X with a Moving Average MAPE of 23% • Your structural model’s MAPE of 15% • Y with a Moving Average MAPE of 12% • Your structural model’s MAPE of 10% • Which is the better model?

  3. Cycles, Seasonal Decomposition and Exponential Smoothing Models • Business cycle • Beef cycle • Hog cycle • Weather cycle? • Cycles caused by over correction of an economic system • The Cob Web Theorem in action

  4. Cycles and Exponential Smoothing Models • Cyclical analysis involves analyzing data for underlying cycles • Estimate the length of an average cycle • Forecast Y variable in part based on cycle length, may still include trend and structural variables • Exponential Smoothing is the most often used forecasting method in industry • Easy to use and update, very flexible • Only forecasts a few periods ahead is its major disadvantage

  5. Cyclical Analysis Models • Harmonic regression model estimated with OLS regression used to estimate cycle length • Sin and Cos use CL variable • Recall Seasonal analysis used SL • Need enough observations to see several cycles in the data series • Two considerations in estimating cycle length and specifying the OLS model • Annual data can easily exhibit a cycle • Monthly data can show a seasonal pattern around a multiple year cycle

  6. Cyclical Analysis Models • If you are using Annual data • Define CL = Number of years * SL • CL is used in Sin and Cos functions • If you are using annual data CL equals the number of years for the cycle (SL = 1) • If you are using Monthly data • Define CL = SL * No. Years for cycle length where SL = 12 number of months in a year • If you are using Quarterly data • Define CL = SL * No. Years for cycle length where SL = 4 number of quarters in a year

  7. Cyclical Analysis Models • OLS regression model for annual data Ŷ = a + b1T + b2 Sin(2*ρi()*T/CL) + b3 Cos(2*ρi()*T/CL) where: CL is possible number of years for a cycle • To estimate the best cycle length • Enter CL in a cell • Refer to the cell with CL to calculate the Sin() and Cos() values in the X matrix • Estimate regression model in Simetar for a CL • Change the value for CL, observe the F ratio or MAPE • Change the value for CL, observe the F ratio or MAPE • Repeat process for numerous CL values and find the CL with the largest F ratio or the lowest MAPE

  8. Cyclical Analysis Models • OLS regression model for monthly data Ŷ = a +b1T+ b2Sin(2*ρi*T/SL) + b3Cos(2*ρi*T/SL) + b4Sin(2*ρi*T/CL) + b5Cos(2*ρi*T/CL) where SL = No. months (quarters, or weeks) in a year and CL = SL * No. years for a cycle • Estimate the best cycle length • Enter the No. Years in a cell • Calculate CL in a cell with CL = SL * Years • Refer to the cell with CL to calculate the second Sin() and Cos() values in X matrix • Estimate regression model in Simetar for No. of Years • Change the no. of years in cycle (i.e., CL), observe the F or MAPE • Repeat process for different CL values for no. of years and pick the CL for the highest F or the lowest MAPE

  9. Cyclical Analysis Models • Part of the Y and X matrix for annual data • Sin and Cos functions refer to CL in C49

  10. Cyclical Analysis Models • Y and X matrix for a monthly data series • Sin and Cos functions refer to CL and SL in C11 and F11 Lecture 4

  11. Cyclical Analysis Models • Sample table of R2 and MAPE for CL’s • CL = 9 for the chart and regression shown here, based on maximum MAPE

  12. Exponential Smoothing Models • ES is the most popular forecasting method • Very good for forecasting a few periods • Like moving average, but greater weights placed on more recent observations • ES is a multiple stage forecast • First forecast the level for the last period T LT = a YT + (1-a) LT-1 The level in T is the forecast for T+1 “a” is the smoothing constant ŶT+1 = LT = a YT + (1-a) LT-1

  13. Exponential Smoothing Models • Different forms of ES models (options in Simetar) 1. Simple exponential smoothing, additive seasonal and no trend (1 seasonal ,0 trend) 2. Additive seasonal and additive trend (1,1) 3. Additive trend and multiplicative seasonal variability (2,1) 4. Multiplicative trend and multiplicative seasonal variability (2,2) 5. Dampened trend ES with additive seasonal variability (1,1) 6. Dampened trend ES with multiplicative seasonal variability (2,2) • Numbers match chart numbers in next two slides • Numbers in ()’s match Simetar ES option settings

  14. Exponential Smoothing Models 2. Additive seasonal variability with an additive trend (1,1) 1. No trend and additive seasonal variability (1,0) 3. Multiplicative seasonal variability with an additive trend (2,1) 4. Multiplicative seasonal variability with a multiplicative trend (2,2)

  15. Exponential Smoothing Models • Select the type of model to fit based on the presence of • Trend – additive or multiplicative, dampened or not • Seasonal variability – additive or multiplicative • Do this prior to the estimation if not using Simetar. With Simetar you can experiment with different specifications afterthe model is estimated • Can select 3 seasonal effects: none, additive, multiplicative • Can select 3 trend effects: none, additive, multiplicative 5. Dampened trend with additive seasonal variability (1,1) 6. Multiplicative seasonal variability and dampened trend (2,2)

  16. Exponential Smoothing Forecasts • Using the Forecasting Icon for ES • Data on the Excel toolbar to get Data Ribbon • Select Solver • Close Solver • Select the “Exponential Smoothing” tab in Simetar • Specify the data series to forecast • Provide initial guesses for • Dampening Factor (0.25), • Optional Trend Factor (0.5), and • Optional Season Factor (0.5) if monthly or quarterly data • Indicate the Optional Seasons per Period as 12 if monthly data • Forecast Periods of 1 to6

  17. Exponential Smoothing Models • Simetar estimates many differentforms of ES models • Provides deterministic forecasts • Provides probabilistic forecasts • Parameters for ES model estimated by Solver to minimize MAPE for residuals • PRIOR to running ES MUST open Solver and close it so Simetar can Optimize Parameters • Provide starting guesses for parameters 0.25 to 0.50 • Enter no. of periods/year if monthly or quarterly

  18. Exponential Smoothing Models • Initial Parameters for ES • Dampening Factor is required for all models – good guess is 0.25 • Optional Trend factor entered as 0.5 if the data have any trend • Optional Seasonal factor, 0.5, if the data are monthly or you have >30 years annual data (with annual data you have a cycle) • Optional Seasons per Period • Indicate the number of months for seasonal effect as 12 • Indicate cycle length if using annual data, say 9 years

  19. Exponential Smoothing Models • ES Options • Season Method • 0 No seasonal effects • 1 Additive seasonal effect • 2 Multiplicative seasonal effect • Trend Method • 0 No trend dampening • 1 Dampened Additive • 2 Dampened Multiplicative • Stochastic Forecast • TRUE • FALSE

  20. Exponential Smoothing Models • Experiment with alternative settings for the Trend and Seasonal Smoothing variables to see which combination is best • Look for the lowest MAPE

  21. Exponential Smoothing Models 2. Additive seasonal variability with an additive trend (1,1) 1. No trend and additive seasonal variability (1,0) 3. Multiplicative seasonal variability with an additive trend (2,1) 4. Multiplicative seasonal variability with a multiplicative trend (2,2)

  22. Exponential Smoothing Models • Select the type of model to fit based on the presence of • Trend – additive or multiplicative, dampened or not • Seasonal variability – additive or multiplicative • Do this prior to the estimation. With Simetar you can experiment with different specifications after model is estimated • Can select 3 seasonal effects: none, additive, multiplicative • Can select 3 trend effects: none, additive, multiplicative 5. Dampened trend with additive seasonal variability (1,1) 6. Multiplicative seasonal variability and dampened trend (2,2)

More Related