Statistics for Business and Economics Module 2: Regression and time series analysis Spring 2010 Lecture 8: Time Series Analysis and Forecasting 2 Priyantha.

Slides:



Advertisements
Similar presentations
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin Lesson 12.
Advertisements

Forecasting OPS 370.
Time Series and Forecasting
Operations Management For Competitive Advantage © The McGraw-Hill Companies, Inc., 2001 C HASE A QUILANO J ACOBS ninth edition 1Forecasting Operations.
Part II – TIME SERIES ANALYSIS C5 ARIMA (Box-Jenkins) Models
Time Series Analysis Materials for this lecture Lecture 5 Lags.XLS Lecture 5 Stationarity.XLS Read Chapter 15 pages Read Chapter 16 Section 15.
Time Trends Simplest time trend is a linear trend Examine National Population data set. How well does a linear model work? Did you examine the residuals.
Qualitative Forecasting Methods
Statistics for Managers Using Microsoft® Excel 5th Edition
Chapter 12 - Forecasting Forecasting is important in the business decision-making process in which a current choice or decision has future implications:
MOVING AVERAGES AND EXPONENTIAL SMOOTHING
Chapter 3 Forecasting McGraw-Hill/Irwin
Chapter 13 Forecasting.
Slide Copyright © 2010 Pearson Education, Inc. Active Learning Lecture Slides For use with Classroom Response Systems Business Statistics First Edition.
Chapter 11 Solved Problems 1. Exhibit 11.2 Example Linear and Nonlinear Trend Patterns 2.
McGraw-Hill/Irwin Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. Time Series and Forecasting Chapter 16.
Business Forecasting Chapter 5 Forecasting with Smoothing Techniques.
Time Series and Forecasting
© 2003 Prentice-Hall, Inc.Chap 12-1 Business Statistics: A First Course (3 rd Edition) Chapter 12 Time-Series Forecasting.
Applied Business Forecasting and Planning
BOX JENKINS METHODOLOGY
Chapter 15 Forecasting Copyright © 2011 Pearson Addison-Wesley. All rights reserved. Slides by Niels-Hugo Blunch Washington and Lee University.
© 2002 Prentice-Hall, Inc.Chap 13-1 Statistics for Managers using Microsoft Excel 3 rd Edition Chapter 13 Time Series Analysis.
Time Series “The Art of Forecasting”. What Is Forecasting? Process of predicting a future event Underlying basis of all business decisions –Production.
The Forecast Process Dr. Mohammed Alahmed
Regression Method.
Time-Series Analysis and Forecasting – Part V To read at home.
TIME SERIES by H.V.S. DE SILVA DEPARTMENT OF MATHEMATICS
Copyright © 2012 Pearson Education, Inc. All rights reserved. Chapter 10 Introduction to Time Series Modeling and Forecasting.
Chapter © 2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or.
Pure Serial Correlation
Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.
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.
Slide 1 DSCI 5340: Predictive Modeling and Business Forecasting Spring 2013 – Dr. Nick Evangelopoulos Lecture 3: Time Series Regression (Ch. 6) Material.
Copyright © 2014, 2011 Pearson Education, Inc. 1 Chapter 27 Time Series.
Definition of Time Series: An ordered sequence of values of a variable at equally spaced time intervals. The variable shall be time dependent.
Operations Management For Competitive Advantage 1Forecasting Operations Management For Competitive Advantage Chapter 11.
© 2000 Prentice-Hall, Inc. Chap The Least Squares Linear Trend Model Year Coded X Sales
Forecasting Operations Management For Competitive Advantage.
Autocorrelation, Box Jenkins or ARIMA Forecasting.
© 1999 Prentice-Hall, Inc. Chap Chapter Topics Component Factors of the Time-Series Model Smoothing of Data Series  Moving Averages  Exponential.
Copyright © 2011 Pearson Education, Inc. Time Series Chapter 27.
Review Use data table from Quiz #4 to forecast sales using exponential smoothing, α = 0.2 What is α called? We are weighting the error associated with.
Time Series Analysis and Forecasting. Introduction to Time Series Analysis A time-series is a set of observations on a quantitative variable collected.
Time Series Analysis Lecture 11
AUTOCORRELATION: WHAT HAPPENS IF THE ERROR TERMS ARE CORRELATED?
CHAPTER 12 FORECASTING. THE CONCEPTS A prediction of future events used for planning purpose Supply chain success, resources planning, scheduling, capacity.
Time Series and Forecasting Chapter 16 McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Times Series Forecasting and Index Numbers Chapter 16 Copyright © 2014 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
Statistics for Business and Economics Module 2: Regression and time series analysis Spring 2010 Lecture 2: Examining the relationship between two quantitative.
Statistics for Business and Economics Module 1:Probability Theory and Statistical Inference Spring 2010 Lecture 4: Estimating parameters with confidence.
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin Time Series and Forecasting Chapter 16.
BUSINESS MATHEMATICS & STATISTICS. Module 6 Correlation ( Lecture 28-29) Line Fitting ( Lectures 30-31) Time Series and Exponential Smoothing ( Lectures.
Demand Management and Forecasting Chapter 11 Portions Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin.
Statistics for Business and Economics Module 2: Regression and time series analysis Spring 2010 Lecture 7: Time Series Analysis and Forecasting 1 Priyantha.
Statistics for Business and Economics Module 2: Regression and time series analysis Spring 2010 Lecture 6: Multiple Regression Model Building Priyantha.
Economics 173 Business Statistics Lecture 28 © Fall 2001, Professor J. Petry
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.
1 Autocorrelation in Time Series data KNN Ch. 12 (pp )
Analysis of Financial Data Spring 2012 Lecture 5: Time Series Models - 3 Priyantha Wijayatunga Department of Statistics, Umeå University
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.
Analysis of Financial Data Spring 2012 Lecture 4: Time Series Models - 1 Priyantha Wijayatunga Department of Statistics, Umeå University
Lecture 9 Forecasting. Introduction to Forecasting * * * * * * * * o o o o o o o o Model 1Model 2 Which model performs better? There are many forecasting.
Time Series Analysis By Tyler Moore.
Time Series And Business Forecasting
“The Art of Forecasting”
Pure Serial Correlation
Presentation transcript:

Statistics for Business and Economics Module 2: Regression and time series analysis Spring 2010 Lecture 8: Time Series Analysis and Forecasting 2 Priyantha Wijayatunga, Department of Statistics, Umeå University These materials are altered ones from copyrighted lecture slides (© 2009 W.H. Freeman and Company) from the homepage of the book: The Practice of Business Statistics Using Data for Decisions :Second Edition by Moore, McCabe, Duckworth and Alwan.

Time series models Reference to the book: chapter 13.2  Looking for autocorrelation in residuals  Autoregressive models  Moving average models  Exponential smoothing models

Autocorrelation  The residuals from a regression model that uses time as an explanatory variable should be examined for signs of autocorrelation.  If there is an autocorrelation among residual then they are not independent, therefore our regression models for time series data are not good!

Autocorrelation Time plot of residuals from the exponential trend model for DVD player sales  Starting from the left, negative residuals tend to be followed by another negative residual.  In the middle, positive residuals tend to be followed by another positive residual.  On the right, negative residuals tend to be followed by another negative residual.  This pattern indicates positive autocorrelation.

Lagged residual plot Lagged residual plot of residuals from the exponential trend model for DVD player sales. Plot indicates positive autocorrelation.

Positive First Order Autocorrelation Residuals Time Positive first order autocorrelation occurs when consecutive residuals tend to be similar. 0 + y t

Durbin–Watson Test Durbin–Watson test is used to test first order autocorrelation Test statistic If d is small (d < 2 but close to 0) then it may implies positive autocorrelation (positive residuals are followed by positive residuals and/or negative residuals are followed by negative residuals) If d is big (d > 2 but close to 4) then it implies negative autocorreation (residuals basically alternate in their sign) There is a table for Durbin–Watson test but book does not include it!

 Autocorrelation among the errors of the regression model provides opportunity to produce accurate forecasts.  In a stationary time series (no trend and no seasonality) correlation between consecutive residuals leads to the following first order autoregressive model called AR(1): y t =  0 +  1 y t-1 +  t Autoregressive time series models take advantage of the linear relationship between successive values of a time series to predict future values. Example: Price of a certain stock today may be heavily dependent that of yesterday’s but if we know the yesterday’s price, it may be the case that prices of the stock two and more days back are irrelevant! Autoregressive models

Moving average models  The autoregressive model looks back only one time period and uses that value in the forecast for the current time period.  Moving average models use the average of the last several values of the time series to forecast the next value.

Small example: Moving average–span 4 TimeSales($m)MA(4) 1999Q Q Q Q Q12220,5 2000Q22821, Q31721, Q Q12422,5 2001Q Q31823, Q42524, Q124,33333 Note that when we use span same equal to the lenght of the seasonal cycle we get the linear treand model! Our prediction for the 2002Q1 is not so good

Exponential smoothing model  Criticisms can be made against moving average models.  First, our forecast for the next time period ignores all but the last k observations. Second, the data values are all weighted equally.  Exponential smoothing models address these criticisms.

Exponential smoothing model How the expeontial smoothing method take into account all the past observations for predicting the future

Small ‘w’ provides a lot of smoothing Big ‘w’ provides a little smoothing The exponential smoothing model can be used to produce forecasts when the time series…  exhibits gradual(not a sharp) trend  no cyclical effects  no seasonal effects

Example timepricesmooothp 2000Q150 = Q25150=0.6*50+(1-0,6)* Q34950,6=0.6*51+(1-0,6)* Q45349,64=0.6*49+(1-0,6)*50,6 2001Q15251, Q25451, Q35553, Q45354, Q15453, Q25653, Q35555, Q45255, Q153,21928=0.6*52+(1-0,6)*55,0482