Assignment week 38 Exponential smoothing of monthly observations of the General Index of the Stockholm Stock Exchange. A. Graphical illustration of data.

Slides:



Advertisements
Similar presentations
Time series modelling and statistical trends
Advertisements

Chapter 9. Time Series From Business Intelligence Book by Vercellis Lei Chen, for COMP
Exercise 7.5 (p. 343) Consider the hotel occupancy data in Table 6.4 of Chapter 6 (p. 297)
Part II – TIME SERIES ANALYSIS C3 Exponential Smoothing Methods © Angel A. Juan & Carles Serrat - UPC 2007/2008.
Part II – TIME SERIES ANALYSIS C5 ARIMA (Box-Jenkins) Models
Tutorial for solution of Assignment week 40 “Forecasting monthly values of Consumer Price Index Data set: Swedish Consumer Price Index” sparetime.
Exponential Smoothing Methods
Time Series Analysis Autocorrelation Naive & Simple Averaging
T T18-03 Exponential Smoothing Forecast Purpose Allows the analyst to create and analyze the "Exponential Smoothing Average" forecast. The MAD.
Moving Averages Ft(1) is average of last m observations
Data Sources The most sophisticated forecasting model will fail if it is applied to unreliable data Data should be reliable and accurate Data should be.
1 Spreadsheet Modeling & Decision Analysis: A Practical Introduction to Management Science, 3e by Cliff Ragsdale.
MOVING AVERAGES AND EXPONENTIAL SMOOTHING
Session 10a. Decision Models -- Prof. Juran2 Overview Forecasting Methods Exponential Smoothing –Simple –Trend (Holt’s Method) –Seasonality (Winters’
1 Time Series Analysis Thanks to Kay Smith for making these slides available to me!
Forecasting Purpose is to forecast, not to explain the historical pattern Models for forecasting may not make sense as a description for ”physical” beaviour.
Quantitative Business Forecasting Introduction to Business Statistics, 5e Kvanli/Guynes/Pavur (c)2000 South-Western College Publishing.
CHAPTER 4 MOVING AVERAGES AND SMOOTHING METHODS (Page 107)
Exercise 8.8 “Consider the weekly thermostat sales in Figure 8.7(b)” Data are in table 8.1 (p. 359) and can be found on the CDROM, e.g. as a Minitab Worksheet:
Part II – TIME SERIES ANALYSIS C2 Simple Time Series Methods & Moving Averages © Angel A. Juan & Carles Serrat - UPC 2007/2008.
Forecasting Purpose is to forecast, not to explain the historical pattern Models for forecasting may not make sense as a description for ”physical” beaviour.
Time series analysis - lecture 1 Time series analysis Analysis of data for which the temporal order of the observations is important Two major objectives:
© 2011 Pearson Education, Inc. Statistics for Business and Economics Chapter 13 Time Series: Descriptive Analyses, Models, & Forecasting.
MOVING AVERAGES AND EXPONENTIAL SMOOTHING. Forecasting methods: –Averaging methods. Equally weighted observations –Exponential Smoothing methods. Unequal.
Time Series Forecasting– Part I
1 BABS 502 Moving Averages, Decomposition and Exponential Smoothing Revised March 11, 2011.
© 2003 Prentice-Hall, Inc.Chap 12-1 Business Statistics: A First Course (3 rd Edition) Chapter 12 Time-Series Forecasting.
Diane Stockton Trend analysis. Introduction Why do we want to look at trends over time? –To see how things have changed What is the information used for?
Winter’s Exponential smoothing
Non-continuous Relationships If the relationship between the dependent variable and an independent variable is non-continuous a slope dummy variable can.
Time-Series Analysis and Forecasting – Part V To read at home.
TIME SERIES by H.V.S. DE SILVA DEPARTMENT OF MATHEMATICS
Business Forecasting Used to try to predict the future Uses two main methods: Qualitative – seeking opinions on which to base decision making – Consumer.
Intervention models Something’s happened around t = 200.
Tutorial for solution of Assignment week 39 “A. Time series without seasonal variation Use the data in the file 'dollar.txt'. “
Holt’s exponential smoothing
Lecture 7: Forecasting: Putting it ALL together. The full model The model with seasonality, quadratic trend, and ARMA components can be written: Ummmm,
DSc 3120 Generalized Modeling Techniques with Applications Part II. Forecasting.
Chapter 17 Time Series Analysis and Forecasting ©.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Time Series Forecasting Chapter 16.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Time Series Forecasting Chapter 13.
Time series data: each case represents a point in time. Each cell gives a value for each variable for each time period. Stationarity: Data are stationary.
Forecasting Models Decomposition and Exponential Smoothing.
Time Series Analysis and Forecasting
Week 11 Introduction A time series is an ordered sequence of observations. The ordering of the observations is usually through time, but may also be taken.
Time-Series Forecasting Overview Moving Averages Exponential Smoothing Seasonality.
Slide 1 DSCI 5340: Predictive Modeling and Business Forecasting Spring 2013 – Dr. Nick Evangelopoulos Lecture 5: Exponential Smoothing (Ch. 8) Material.
Lesson 4 -Part A Forecasting Quantitative Approaches to Forecasting Components of a Time Series Measures of Forecast Accuracy Smoothing Methods Trend Projection.
Time series Model assessment. Tourist arrivals to NZ Period is quarterly.
1 1 Slide © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
© 1999 Prentice-Hall, Inc. Chap Chapter Topics Component Factors of the Time-Series Model Smoothing of Data Series  Moving Averages  Exponential.
©2003 Thomson/South-Western 1 Chapter 17 – Quantitative Business Forecasting Slides prepared by Jeff Heyl, Lincoln University ©2003 South-Western/Thomson.
1 BABS 502 Moving Averages, Decomposition and Exponential Smoothing Revised March 14, 2010.
Managerial Decision Modeling 6 th edition Cliff T. Ragsdale.
Demand Management and Forecasting Chapter 11 Portions Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin.
Chapter 15 Forecasting. Forecasting Methods n Forecasting methods can be classified as qualitative or quantitative. n Such methods are appropriate when.
Forecasting. Model with indicator variables The choice of a forecasting technique depends on the components identified in the time series. The techniques.
Chapter 11 – With Woodruff Modications Demand Management and Forecasting Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
Time Series Forecasting Trends and Seasons and Time Series Models PBS Chapters 13.1 and 13.2 © 2009 W.H. Freeman and Company.
Yandell – Econ 216 Chap 16-1 Chapter 16 Time-Series Forecasting.
Example 16.7a Deseasonalizing: The Ratio-to-Moving-Averages Method.
Forecasting Purpose is to forecast, not to explain the historical pattern Models for forecasting may not make sense as a description for ”physical” behaviour.
Chapter 9 Forecasting Techniques
Chapter 6: Autoregressive Integrated Moving Average (ARIMA) Models
Chapter 4: Seasonal Series: Forecasting and Decomposition
Final Project FIN 335 Unknown Students.
Demand Management and Forecasting
Chap 4: Exponential Smoothing
Exponential Smoothing
Presentation transcript:

Assignment week 38 Exponential smoothing of monthly observations of the General Index of the Stockholm Stock Exchange. A. Graphical illustration of data First, construct a graph of the original series of monthly values. Stock_Exchange.txt

Then construct a graph of the percentage change from month to month. Which smoothing techniques (single, double, Holt-Winters) can be used on the original series, which can be used on the series of percentage change. Original series: Double (Holt’s) (or Holt-Winters’ (Winters’) method) Series of percentage change:Single (or Winters’ without trend)

B. Exponential smoothing with predefined smoothing parameters Perform single exponential smoothing on the time series of percentage change (of the General Indices). Set the smoothing parameter, , first to 0.9 and then to 0.1. Variable Change is not in the list, due to the initial missing value  Copy the non- missing values to a new column.

Then study the graphs produced and try to understand how the choice of the smoothing parameter affects the forecasted values.  = 0.1 gives very damped predicted values (red curve) wile  = 0.9 gives predicted values highly responding to the recent changes in original series.

C. Exponential smoothing with automatic parameter setting Let the program choose an optimal value of the smoothing parameter and calculate forecasts for a two-year period (24 months) after the last observed time-point. Construct a graph for the errors in the one-step-ahead forecasts (residuals) in the whole time series and try to judge upon whether the forecasting methods uses earlier observations in the series in an efficient way.

Are the residuals serially correlated – Make a visual judgement. Are the earlier observations used in an efficient way?

Use also the autocorrelation function on the residual. (MINITAB-Time Series- Autocorrelation).

What do you see in the plot you get? First spike is significantly different from zero, so is also some spikes for larger lags.  Residuals seem to be serially correlated.

Exponential smoothing of time series with seasonal variation A. Forecasting the employment in USA Perform an exponential smoothing of the time series of monthly employments figures in USA and calculate forecasts for a two-year period (24 month) after the last observed time-point. Labourforce.txt Time series possesses trend and seasonal variation  Use Winters’ method Seasonal variation do not seem to change with level  Use additive case

Then use a suitable model for time series decomposition to make forecasts for the same period (additive or multiplicative).

Print out graphs for observed and forecasted values and compare how the seasonal effects are described in each method of forecasting. Which method do you prefer in this case? Observed (and forecasts):

Forecasts only: From Winters’ methodFrom Decomposition Make a time series plot with both series of forecasts in the same plot

B. Forecasting of monthly mean temperature temperature.txt (title “Stockholm” removed)

Use exponential smoothing to make forecasts of monthly mean temperatures in Stockholm. Try single, double (Holt’s method) and Winters’ method. Study the residuals (the errors in one-step-ahead forecasts) and the forecasts for 24 months after the last observed time-point. Are the one-month-ahead and one-year- ahead forecasts realistic? Single exponential smoothing:

Double exponential smoothing (Holt’s method): Neither single, nor double exponential smoothing seems to work. Surprising?

Winters’ method: Note that we do not have any particularly pronounced trend in data and shifts in level are (if existing) very modest.  Try low values of smoothing parameters for level and trend

Residuals become positively correlated Forecasts much better here

Compare with an analysis with default values on smoothing parameters: Residuals are much better. Forecasts seem to contain an “artificially” induced trend. We have to keep on trying. Is there a better way for making forecasts than applying exponential smoothing on the original series?