Lecture 12 Time Series Model Estimation

Slides:



Advertisements
Similar presentations
Cointegration and Error Correction Models
Advertisements

Time Series Analysis Definition of a Time Series process
Econometric Modeling Through EViews and EXCEL
STATIONARY AND NONSTATIONARY TIME SERIES
Nonstationary Time Series Data and Cointegration Prepared by Vera Tabakova, East Carolina University.
Non-stationary data series
Economics 20 - Prof. Anderson1 Testing for Unit Roots Consider an AR(1): y t =  +  y t-1 + e t Let H 0 :  = 1, (assume there is a unit root) Define.
1 MF-852 Financial Econometrics Lecture 11 Distributed Lags and Unit Roots Roy J. Epstein Fall 2003.
Unit Roots & Forecasting
Slide 1 DSCI 5340: Predictive Modeling and Business Forecasting Spring 2013 – Dr. Nick Evangelopoulos Lecture 7: Box-Jenkins Models – Part II (Ch. 9) Material.
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 Series Building 1. Model Identification
Multiple Regression Forecasts Materials for this lecture Demo Lecture 2 Multiple Regression.XLS Read Chapter 15 Pages 8-9 Read all of Chapter 16’s Section.
Chapter 13 Multiple Regression
Modeling Cycles By ARMA
Materials for Lecture 12 Chapter 7 – Study this closely Chapter 16 Sections and 4.3 Lecture 12 Multivariate Empirical Dist.xls Lecture 12 Multivariate.
Time Series Model Estimation Materials for this lecture Read Chapter 15 pages 30 to 37 Lecture 7 Time Series.XLS Lecture 7 Vector Autoregression.XLS.
Chapter 12 Multiple Regression
1 Ka-fu Wong University of Hong Kong Forecasting with Regression Models.
Cycles and Exponential Smoothing Models Materials for this lecture Lecture 4 Cycles.XLS Lecture 4 Exponential Smoothing.XLS Read Chapter 15 pages
1Prof. Dr. Rainer Stachuletz Testing for Unit Roots Consider an AR(1): y t =  +  y t-1 + e t Let H 0 :  = 1, (assume there is a unit root) Define 
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 14-1 Chapter 14 Introduction to Multiple Regression Basic Business Statistics 11 th Edition.
Prediction and model selection
Materials for Lecture 13 Purpose summarize the selection of distributions and their appropriate validation tests Explain the use of Scenarios and Sensitivity.
BCOR 1020 Business Statistics Lecture 24 – April 17, 2008.
BOX JENKINS METHODOLOGY
Introduction to Linear Regression and Correlation Analysis
Time Series Model Estimation Materials for lecture 6 Read Chapter 15 pages 30 to 37 Lecture 6 Time Series.XLSX Lecture 6 Vector Autoregression.XLSX.
Linear Trend Lines Y t = b 0 + b 1 X t Where Y t is the dependent variable being forecasted X t is the independent variable being used to explain Y. In.
Seasonal Models Materials for this lecture Lecture 9 Seasonal Analysis.XLSX Read Chapter 15 pages 8-18 Read Chapter 16 Section 14 NOTE: The completed Excel.
1 1 Slide © 2004 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Forecasting Techniques: Single Equation Regressions Su, Chapter 10, section III.
Introduction to Linear Regression
Intervention models Something’s happened around t = 200.
Cointegration in Single Equations: Lecture 6 Statistical Tests for Cointegration Thomas 15.2 Testing for cointegration between two variables Cointegration.
The Statistical Imagination Chapter 15. Correlation and Regression Part 2: Hypothesis Testing and Aspects of a Relationship.
Lecture 12 Time Series Model Estimation
Multiple Regression. Simple Regression in detail Y i = β o + β 1 x i + ε i Where Y => Dependent variable X => Independent variable β o => Model parameter.
How do we identify non-stationary processes? (A) Informal methods Thomas 14.1 Plot time series Correlogram (B) Formal Methods Statistical test for stationarity.
Time Series Basics Fin250f: Lecture 8.1 Spring 2010 Reading: Brooks, chapter
Time Series Analysis Lecture 11
Introduction to Multiple Regression Lecture 11. The Multiple Regression Model Idea: Examine the linear relationship between 1 dependent (Y) & 2 or more.
Module 4 Forecasting Multiple Variables from their own Histories EC 827.
Multiple Regression Analysis: Estimation. Multiple Regression Model y = ß 0 + ß 1 x 1 + ß 2 x 2 + …+ ß k x k + u -ß 0 is still the intercept -ß 1 to ß.
Cycles and Exponential Smoothing Models Materials for this lecture Lecture 10 Cycles.XLS Lecture 10 Exponential Smoothing.XLSX Read Chapter 15 pages
Lecture 9 Seasonal Models Materials for this lecture Lecture 9 Seasonal Analysis.XLSX Read Chapter 15 pages 8-18 Read Chapter 16 Section 14.
Lecture 12 Time Series Model Estimation Materials for lecture 12 Read Chapter 15 pages 30 to 37 Lecture 12 Time Series.XLSX Lecture 12 Vector Autoregression.XLSX.
Time Series Econometrics
Chapter 14 Introduction to Multiple Regression
Financial Econometrics Lecture Notes 4
Nonstationary Time Series Data and Cointegration
Lecture 9 Seasonal Models
Lecture 9 Seasonal Models
Financial Econometrics Lecture Notes 2
VAR models and cointegration
Chapter 6: Autoregressive Integrated Moving Average (ARIMA) Models
Cycles and Exponential Smoothing Models
POSC 202A: Lecture Lecture: Substantive Significance, Relationship between Variables 1.
CHAPTER 16 ECONOMIC FORECASTING Damodar Gujarati
STATIONARY AND NONSTATIONARY TIME SERIES

Vector Autoregression
COINTEGRATION AND ERROR CORRECTION MODELS
Unit Roots 31/12/2018.
Stock Prediction with ARIMA
Unit Root & Augmented Dickey-Fuller (ADF) Test
Vector AutoRegression models (VARs)
Multiple Regression Analysis: Estimation
Correlation and Regression
Presentation transcript:

Lecture 12 Time Series Model Estimation Materials for lecture 12 Read Chapter 15 pages 30 to 37 Lecture 12 Time Series.XLSX Lecture 12 Vector Autoregression.XLSX

Time Series Model Estimation Outline for this lecture Review stationarity and no. of lags Discuss model estimation Demonstrate how to estimate Time Series (AR) models with Simetar Interpretation of model results How to forecast the results for an AR model

Time Series Model Estimation -- Stationarity Plot the data to see what kind of series you are analyzing Make the series stationary by determining the optimal number of differences based on Dickie Fuller test, say Di,t Student t statistic smaller than -2.90 May need to test for the need for a trend, i.e., Augmented Dickie-Fuller test =DF(Data Series, Trend, 0, No Differences) Trend = True for augmented DF Trend = False for regular DF

Time Series Model Estimation – Number of Lags Determine the number of lags to use in the AR model based on =AUTOCORR() or =ARLAG() Manually this is a series of regressions testing all different lags of the differenced data. To test for 4 lags use this regression Di,t =a + b1 Di,t-1 + b2 Di,t-2 +b3 Di,t-3+ b4 Di,t-4 Student t statistic for the last lagged value Simetar provided two functions to bypass the need to develop numerous Di series and run individual regressions

Time Series Model Estimation Once you have determined the number of differences to make the series stationary and the number of lags to use Then you estimate an OLS regression to estimate the predictive equation For a series with “1” difference and four lags estimate coefficients for this regression D1,t =a + b1 D1,t-1 + b2 D1,t-2 + b3 D1,t-3+ b4 D1,t-4 This regression will forecast the D1 which you use to forecast the ŶT+i

Time Series Model Estimation in Simetar An alternative to estimating the differences and lag variables by hand and using an OLS regression package, we will use Simetar Simetar time series function is driven by a menu

Time Series Model Estimation Read output as a regression output Beta coefficients are OLS slope coefficients SE of Coef. used to calculate t ratios to determine which lags are significant For goodness of fit refer to AIC, SIC and MAPE Can test restricting out lags (variables)

Before You Estimate TS Model (Review) Dickey-Fuller test indicates whether the data series used for the model, Di,t , is stationary and if the model is D2,t = a + b1 D1,t the DF it indicates that t stat for b1 is < -2.90 Augmented DF test indicates whether the data series Di,t are stationary, if we added a trend to the model and one or more lags Di,t =a + b1 Di,t-1 + b2 Di,t-2 +b3 Di,t-3+ b4 Tt SIC indicates the value of the Schwarz Information Criteria for the number lags and differences used in estimation Change the number of lags and observe the SIC change AIC indicates the value of the Aikia Information Criteria for the number lags used in estimation Change the number of lags and observe the AIC change Best number of lags is where AIC is minimized Changing number of lags also changes the MAPE and SD residuals

Forecasting a Time Series Model If we assume a series that is stationary and has T observations of data we estimate the model as an AR(0 difference, 1 lag) Forecast the first period ahead as ŶT+1 = a + b1 YT Forecast the second period ahead as ŶT+2 = a + b1 ŶT+1 Continue in this fashion for more periods This ONLY works if Y is stationary, based on the DF test for zero differences

Forecasting a Times Series Model What if D1,t was stationary? How do you forecast? Let T represent the last know observation First period ahead forecast is Recall that D1,T = YT – YT-1 So the time series OLS regression is: D̂1,T+1 = a + b1 D1,T Next add the forecasted D̂1,T+1 to YT to forecast ŶT+1 as follows: ŶT+1 = YT + D̂1,T+1

Forecasting A Time Series Model Second period ahead forecast is D̂1,T+2 = a + b D̂1,T+1 ŶT+2 = ŶT+1 + D̂1,T+2 Repeat the process for period 3 and so on This is referred to as the chain rule of forecasting

For Forecast Model D1,t = 4.019 + 0.42859 D1,T-1 Year History and Forecast ŶT+i Change Ŷ or D̂1,T Forecast D1T+i T-1 1387 T 1289 -98.0 -37.925 = 4.019 + 0.428*(-98) 1251.1 = 1289 + (-37.925) T+1 1251.1 -37.9 -12.224 = 4.019 + 0.428*(-37.9) 1238.91 = 1251.11 + (-12.22) T+2 1238.91 -12.19 -1.198 = 4.019 + 0.428*(-12.19) 1237.71=1238.91 + (-1.198) T+3 1237.71

Time Series Model Forecast – Note that this Model Restricted Out the Second Lag

Time Series Model Estimation Impulse Response Function Shows the impact of a 1 time 1 unit change in YT on the forecast values of Y over time Good model is one where impacts decline to zero in short number of periods

Time Series Model Estimation Impulse Response Function will die slowly if the model has to many lags; they feed on themselves Same data series fit with 1 lag and a 6 lag model

Time Series Model Estimation Dynamic stochastic Simulation of a time series model

Time Series Model Estimation Look at the simulation in Lecture 12 Time Series.XLSX

Time Series Model Estimation Result of a dynamic stochastic simulation

Vector Autoregressive (VAR) Models VAR models are time series models where two or more variables are thought to be correlated and together they explain more than one variable by itself For example forecasting Sales and Advertising Money supply and interest rate Supply and Price We are assuming that Yt = f(Yt-i and Zt-i)

VAR Time Series Model Estimation Take the example of advertising and sales AT+i = a +b1DA1,T-1 + b2 DA1,T-2 + c1DS1,T-1 + c2 DS1,T-2 ST+i = a +b1DS1,T-1 + b2 DS1,T-2 + c1DA1,T-1 + c2 DA1,T-2 Where A is advertising and S is sales DA is the difference for A DS is the difference for S In this model we fit A and S at the same time and A is affected by its lag differences and the lagged differences for S The same is true for S affected by its own lags and those of A

Time Series Model Estimation Advertising and sales VAR model Highlight two columns Data in columns B and C Specify number of lags Max lags for two variables Specify number differences Max for the two variables

Time Series Model Estimation Advertising and sales VAR model