ECON/FIN 250: Forecasting in Finance and Economics: Section 8: Forecast Examples: Part 1
|
|
- Reginald Butler
- 5 years ago
- Views:
Transcription
1 ECON/FIN 250: Forecasting in Finance and Economics: Section 8: Forecast Examples: Part 1 Patrick Herb Brandeis University Spring 2016 Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
2 Course Overview 1 Key Objectives 2 The Forecast Process 3 US GDP: Unit Root 4 Multi-Period Forecasts Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
3 Key Objectives 1 Key Objectives 2 The Forecast Process 3 US GDP: Unit Root 4 Multi-Period Forecasts Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
4 Key Objectives The Forecast Process US GDP: Unit Root Multi-Step Forecasts US GDP: Time Trend US Unemployment Gasoline Supply ARMAX Rolling & Recursive Forecasts Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
5 The Forecast Process 1 Key Objectives 2 The Forecast Process 3 US GDP: Unit Root 4 Multi-Period Forecasts Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
6 The Forecast Process Model Identification Residual Diagnostics Single & Multi-Step Forecasts Forecast Confidence Intervals Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
7 Examples US GDP US Unemployment US Gasoline Supply Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
8 US GDP: Unit Root 1 Key Objectives 2 The Forecast Process 3 US GDP: Unit Root 4 Multi-Period Forecasts Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
9 What Have We Done So Far? Looked at GDP visually with tsline; Log-linear Looked at ACF and PACF of lgdp Estimated AR(1) and AR(1/2); roots looked unstable Unit Root Test: Dickey Fuller (which flavor?); Concluded lgdp has unit root Now what? Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
10 Integrating Log Real GDP To integrate log real GDP, take the first difference y t = log(gdp t ) log(gdp t 1 ) (1) Model y t as an ARMA(p,q) or ARIMA(p,1,q) In words: US GDP growth rates follow ARMA We will still check time trend models too Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
11 Identifying the Process for Log Real GDP (y t ) In Stata: gen dgdp=d.lgdp and plot Check ACF and PACF; Some Correlation Model as AR(1), AR(2), MA(1), MA(2), ARMA(1,1); check roots Slight preference to AR models; simpler to estimate We will formalize some model selection criterion Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
12 Fitting AR Models AR models are easy to estimate Can use OLS In Stata use Lag operator This brings up a few theoretical issues Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
13 In Stata * estimate AR (2) with OLS reg dgdp L. dgdp L2. dgdp * now with arima command arima dgdp, ar (1/2) * MA (2) with arima arima dgdp, ma (2) * can also estimate fancy pattern arima dgdp, ar (1 3 5) * can estimate the full model from lgdp arima lgdp, arima (p,1,q) Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
14 OLS & Lagged Dependent Variables Lagged dependent variables: y t = β 0 + αy t 1 + β 1 x t + η t η t is iid (independently and identically distributed) η t is weakly exogenous, E[η s x t, y t 1 ] = 0, s t OLS Properties Parameter estimates biased, consistent Asymptotic distributions and standard errors/tests correct Many time series models will be like this Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
15 Fitting ARMA Models These use numerical optimization procedures Computer searches for BEST parameters Maximum Likelihood Estimation (MLE) Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
16 What are Likelihood Functions? Estimate the probability of data, given parameters Maximize Prob(Data Parameters) Computer over parameters and finds most likely choice Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
17 Estimating the Likelihood Estimated disturbances (ARMA(1,1)): ê t = y t φy t 1 θê t 1, σ 2 = Var[ê t ] (2) T T T 1 f t = f (ê t φ, θ, σ) = t=1 t=1 t=1 2πσ 2 exp[ ê2 t 2σ ] (3) 2 L = log( f t ) = 1 T T log(2πσ 2 êt 2 ) (4) 2 t=1 t=1 2σ 2 L = T 2 log(2πσ2 ) L = T 2 log(2πσ2 ) T t=1 ê 2 t 2σ 2 (5) Tt=1 ê 2 t 2σ 2 (6) Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
18 Identification Methods Try Different Models Look at Parameter t-statistics (Standard Errors) Look at Residuals (Correlations and Q-Test) Look at Information Criterion Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
19 Portmanteau Q Test Model Residuals (where x t is vector of ARMA terms) ɛ t = y t x t β (7) Estimate autocorrelations, ˆρ j for L lags, for data with sample size T. (Note, these are NOT partial autocorrelations) Estimate the sum of the squared autocorrelations with fancy weights Q = T (T 2) 1 L 1 L T i ˆρ2 i (8) For white noise: Q χ 2 L Reject white noise (in favor of serial correlation) if Q > χ 2 L i=1 Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
20 Portmanteau Q Test * estimate arima (2,1,0) for log gdp arima lgdp, arima (2,1,0) * create residuals predict resid, res * test for white noise at 20 lags wntestq resid, lags ( 20) * test for white noise at ( this case ) 40 lags wntestq resid Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
21 Information Criterion Akaike Information Criterion (AIC) AIC = 2L + 2k (9) Bayesian Information Criterion (BIC) BIC = 2L + k log(t ) (10) Choose model with smallest AIC or BIC Computer will attempt to make L big The number of parameters, k, is a penalty More parameters result in larger AIC & BIC Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
22 Stata Diagnostics Compare 2 models * model 1 arima lgdp, arima (1,1,0) predict res 1, res estat aroots wntestq res 1, lags (10) estat ic * model 2 arima lgdp, arima (2,1,0) predict res 2, res estat aroots wntestq res 2, lags (10) estat ic Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
23 One-Step Ahead Forecasts * one - step ahead fcast for gdp growth rate arima dgdp, ar (1) predict yhat * compare growth rate to fcast scatter dgdp yhat tsline dgdp yhat * one - ste ahead fcast for GDP level arima lgdp, arima (1,1,0) predict fcast, y * compare to naive forecast gen naive = lgdp [_ n -1] tsline lgdp fcast naive if dateq > tq ( 2003 q 4) Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
24 One-Step Ahead Forecast Comparison q1 2007q1 2010q1 2013q1 2016q1 dateq lgdp naive y prediction, one step Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
25 95% Confidence Bands: Example AR(1) E[(y t+1 ŷ t+1 ) 2 ], [ŷ t ˆσ ɛ, ŷ t ˆσ ɛ ] (11) y t+1 = ρy t + ɛ t (12) ŷ t+1 = ˆρy t (13) y t+1 = ˆρy t + ˆɛ t+1 (14) E[(y t+1 ŷ t+1 ) 2 ] = E[(y t+1 ˆρy t ) 2 ] (15) = E[ɛ 2 t+1] (16) = σ ɛ (17) Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
26 95% Confidence Bands: Example AR(1) Two Parts Don t know ɛ t+1 or σ ɛ Don t know true ρ Forecast uncertainty σŷ We will often ignore forecast uncertainty (smaller, more difficult) Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
27 Confidence Bands: log(gdp) ARIMA(1,1,0) y t = log(gdp t ) (18) y t+1 = y t + x t+1 (19) x t+1 = a + ρx t + ɛ t+1 (20) E[(x t+1 E[x t+1 Ω t ]) 2 ] = E[(x t+1 (a + ρx t )) 2 ] (21) = E[ɛ 2 t ] (22) = σ 2 ɛ (23) [ŷ t ˆσ ɛ, ŷ t ˆσ ɛ ] (24) Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
28 Confidence Bands: log(gdp) arima lgdp, arima (1,1,0) predict yhat, y predict sigma 2, mse gen sigma = sqrt ( sigma 2) gen yl = yhat * sigma gen yh = yhat * sigma tsline lgdp yhat yl yh if dateq > tq ( 2003 q 4) Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
29 Confidence Bands: log(gdp) q1 2007q1 2010q1 2013q1 2016q1 dateq lgdp yl y prediction, one step yh Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
30 In/Out of Sample Forecasts Recall the first days of our class? In sample forecasts can look too good Need to check out of sample Let s try this with GDP Easy to do with Stata Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
31 In/Out of Sample Forecast Comparison * we want to compare mse of in/ out sample use gdp * model 1: in sample arima lgdp, arima (1,1,0) predict fcast 1, y gen in_e2 = (lgdp - fcast 1)ˆ2 if dateq >= tq (2000 q1) * model 2: out of sample arima lgdp if dateq <tq (2000 q1), arima (1,1,0) predict fcast 2, y gen out _e2 = (lgdp - fcast 2)ˆ2 if dateq >= tq (2000 q1) * compare mse sum in_e2 out _e2 Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
32 Out of Sample Tests Need to be able to compare out of sample forecasting performance Choosing in and out of sample periods is difficult Large in sample estimation Good parameter estimates (in sample) Noisy MSE estimate (out of sample) Small in sample estimation Noisy parameter estimates (in sample) Good MSE estimate (out of sample) Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
33 Multi-Period Forecasts 1 Key Objectives 2 The Forecast Process 3 US GDP: Unit Root 4 Multi-Period Forecasts Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
34 Two Flavors of Multi-Period Forecasts Direct: Build forecast for y t+h from t Recursive: Keep substituting one-step ahead forecasts into your equations Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
35 Recursive Multi-Period Forecasts Go more than one period into the future Replace endogenous variables with forecasts Example: AR(1) Remember all of our expected value theory from the last few classes? y t+1 = ρy t + ɛ t (25) ŷ t+1 = ˆρy t (26) ŷ t+2 = ˆρŷ t+1 = ˆρ 2 y t (27) ŷ t+3 = ˆρŷ t+2 = ˆρ 3 y t (28) Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
36 Stata for Multi-Period Forecasts Dynamic option only works after an appropriate arima estimation dynamic(tq(2010q1)) starts the true forecast q Questions? type help arima postestimation use gdp arima lgdp if dateq <= tq (2009 q4), arima (1,1,0) predict yhat, y dynamic (tq (2010 q 1)) tsline lgdp yhat if dateq > tq ( 2000 q 4) Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
37 Multi-Period Forecast q1 2005q1 2010q1 2015q1 dateq lgdp y prediction, dyn(tq(2009q4)) Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
38 Multi-Step Confidence Bands y t+1 = ρy t + ɛ t+1 y t+2 = ρy t+1 + ɛ t+2 = ρ 2 y t + ρɛ t+1 + ɛ t+2 E(y t+2 ŷ t+2 ) 2 = ρ 2 σ 2 ɛ + σ 2 ɛ For big h, E(y t+h ŷ t+h ) 2 = σ 2 ɛ h 1 i=0 (ρ 2 ) i E(y t+h ŷ t+h ) 2 = σ 2 ɛ (ρ 2 ) i = 1 i=0 1 ρ 2 σ2 ɛ = Var[y t ] Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
39 Finally: A Real Forecast What does our model say about future GDP? How would you produce actual forecasts? Need tsappend use gdp * use full sample arima lgdp, arima (1,1,0) * add 8 quarters to the data set tsappend, add (8) * try without dynamic predict yhat 1, y * now try dynamic with date predict yhat, y dynamic (tq (2016 q 1)) tsline lgdp yhat if dateq > tq ( 2001 q 4) Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
40 Real Forecast of log(gdp) q1 2006q1 2010q1 2014q1 2018q1 dateq lgdp y prediction, dyn(tq(2016q1)) Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN 250: Spring / 40
ECON/FIN 250: Forecasting in Finance and Economics: Section 7: Unit Roots & Dickey-Fuller Tests
ECON/FIN 250: Forecasting in Finance and Economics: Section 7: Unit Roots & Dickey-Fuller Tests Patrick Herb Brandeis University Spring 2016 Patrick Herb (Brandeis University) Unit Root Tests ECON/FIN
More informationECON/FIN 250: Forecasting in Finance and Economics: Section 6: Standard Univariate Models
ECON/FIN 250: Forecasting in Finance and Economics: Section 6: Standard Univariate Models Patrick Herb Brandeis University Spring 2016 Patrick Herb (Brandeis University) Standard Univariate Models ECON/FIN
More informationSTAT Financial Time Series
STAT 6104 - Financial Time Series Chapter 4 - Estimation in the time Domain Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 1 / 46 Agenda 1 Introduction 2 Moment Estimates 3 Autoregressive Models (AR
More informationAutoregressive Moving Average (ARMA) Models and their Practical Applications
Autoregressive Moving Average (ARMA) Models and their Practical Applications Massimo Guidolin February 2018 1 Essential Concepts in Time Series Analysis 1.1 Time Series and Their Properties Time series:
More informationECON/FIN 250: Forecasting in Finance and Economics: Section 3.2 Filtering Time Series
ECON/FIN 250: Forecasting in Finance and Economics: Section 3.2 Filtering Time Series Patrick Herb Brandeis University Spring 2016 Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250:
More informationAdvanced Econometrics
Advanced Econometrics Marco Sunder Nov 04 2010 Marco Sunder Advanced Econometrics 1/ 25 Contents 1 2 3 Marco Sunder Advanced Econometrics 2/ 25 Music Marco Sunder Advanced Econometrics 3/ 25 Music Marco
More informationForecasting using R. Rob J Hyndman. 2.4 Non-seasonal ARIMA models. Forecasting using R 1
Forecasting using R Rob J Hyndman 2.4 Non-seasonal ARIMA models Forecasting using R 1 Outline 1 Autoregressive models 2 Moving average models 3 Non-seasonal ARIMA models 4 Partial autocorrelations 5 Estimation
More informationUnivariate linear models
Univariate linear models The specification process of an univariate ARIMA model is based on the theoretical properties of the different processes and it is also important the observation and interpretation
More informationMidterm Suggested Solutions
CUHK Dept. of Economics Spring 2011 ECON 4120 Sung Y. Park Midterm Suggested Solutions Q1 (a) In time series, autocorrelation measures the correlation between y t and its lag y t τ. It is defined as. ρ(τ)
More informationARIMA Modelling and Forecasting
ARIMA Modelling and Forecasting Economic time series often appear nonstationary, because of trends, seasonal patterns, cycles, etc. However, the differences may appear stationary. Δx t x t x t 1 (first
More informationProblem Set 2 Solution Sketches Time Series Analysis Spring 2010
Problem Set 2 Solution Sketches Time Series Analysis Spring 2010 Forecasting 1. Let X and Y be two random variables such that E(X 2 ) < and E(Y 2 )
More informationPostestimation commands predict estat Remarks and examples Stored results Methods and formulas
Title stata.com mswitch postestimation Postestimation tools for mswitch Postestimation commands predict estat Remarks and examples Stored results Methods and formulas References Also see Postestimation
More informationCh 8. MODEL DIAGNOSTICS. Time Series Analysis
Model diagnostics is concerned with testing the goodness of fit of a model and, if the fit is poor, suggesting appropriate modifications. We shall present two complementary approaches: analysis of residuals
More informationUnivariate Time Series Analysis; ARIMA Models
Econometrics 2 Fall 24 Univariate Time Series Analysis; ARIMA Models Heino Bohn Nielsen of4 Outline of the Lecture () Introduction to univariate time series analysis. (2) Stationarity. (3) Characterizing
More informationUnivariate ARIMA Models
Univariate ARIMA Models ARIMA Model Building Steps: Identification: Using graphs, statistics, ACFs and PACFs, transformations, etc. to achieve stationary and tentatively identify patterns and model components.
More informationEmpirical Market Microstructure Analysis (EMMA)
Empirical Market Microstructure Analysis (EMMA) Lecture 3: Statistical Building Blocks and Econometric Basics Prof. Dr. Michael Stein michael.stein@vwl.uni-freiburg.de Albert-Ludwigs-University of Freiburg
More information4. MA(2) +drift: y t = µ + ɛ t + θ 1 ɛ t 1 + θ 2 ɛ t 2. Mean: where θ(l) = 1 + θ 1 L + θ 2 L 2. Therefore,
61 4. MA(2) +drift: y t = µ + ɛ t + θ 1 ɛ t 1 + θ 2 ɛ t 2 Mean: y t = µ + θ(l)ɛ t, where θ(l) = 1 + θ 1 L + θ 2 L 2. Therefore, E(y t ) = µ + θ(l)e(ɛ t ) = µ 62 Example: MA(q) Model: y t = ɛ t + θ 1 ɛ
More informationChapter 8: Model Diagnostics
Chapter 8: Model Diagnostics Model diagnostics involve checking how well the model fits. If the model fits poorly, we consider changing the specification of the model. A major tool of model diagnostics
More informationEcon 623 Econometrics II Topic 2: Stationary Time Series
1 Introduction Econ 623 Econometrics II Topic 2: Stationary Time Series In the regression model we can model the error term as an autoregression AR(1) process. That is, we can use the past value of the
More informationCh 6. Model Specification. Time Series Analysis
We start to build ARIMA(p,d,q) models. The subjects include: 1 how to determine p, d, q for a given series (Chapter 6); 2 how to estimate the parameters (φ s and θ s) of a specific ARIMA(p,d,q) model (Chapter
More informationDynamic Time Series Regression: A Panacea for Spurious Correlations
International Journal of Scientific and Research Publications, Volume 6, Issue 10, October 2016 337 Dynamic Time Series Regression: A Panacea for Spurious Correlations Emmanuel Alphonsus Akpan *, Imoh
More informationEstimating AR/MA models
September 17, 2009 Goals The likelihood estimation of AR/MA models AR(1) MA(1) Inference Model specification for a given dataset Why MLE? Traditional linear statistics is one methodology of estimating
More informationFE570 Financial Markets and Trading. Stevens Institute of Technology
FE570 Financial Markets and Trading Lecture 5. Linear Time Series Analysis and Its Applications (Ref. Joel Hasbrouck - Empirical Market Microstructure ) Steve Yang Stevens Institute of Technology 9/25/2012
More informationLecture 5: Estimation of time series
Lecture 5, page 1 Lecture 5: Estimation of time series Outline of lesson 5 (chapter 4) (Extended version of the book): a.) Model formulation Explorative analyses Model formulation b.) Model estimation
More informationEconometrics I: Univariate Time Series Econometrics (1)
Econometrics I: Dipartimento di Economia Politica e Metodi Quantitativi University of Pavia Overview of the Lecture 1 st EViews Session VI: Some Theoretical Premises 2 Overview of the Lecture 1 st EViews
More informationModelling using ARMA processes
Modelling using ARMA processes Step 1. ARMA model identification; Step 2. ARMA parameter estimation Step 3. ARMA model selection ; Step 4. ARMA model checking; Step 5. forecasting from ARMA models. 33
More informationINTRODUCTION TO TIME SERIES ANALYSIS. The Simple Moving Average Model
INTRODUCTION TO TIME SERIES ANALYSIS The Simple Moving Average Model The Simple Moving Average Model The simple moving average (MA) model: More formally: where t is mean zero white noise (WN). Three parameters:
More informationLab: Box-Jenkins Methodology - US Wholesale Price Indicator
Lab: Box-Jenkins Methodology - US Wholesale Price Indicator In this lab we explore the Box-Jenkins methodology by applying it to a time-series data set comprising quarterly observations of the US Wholesale
More informationComment about AR spectral estimation Usually an estimate is produced by computing the AR theoretical spectrum at (ˆφ, ˆσ 2 ). With our Monte Carlo
Comment aout AR spectral estimation Usually an estimate is produced y computing the AR theoretical spectrum at (ˆφ, ˆσ 2 ). With our Monte Carlo simulation approach, for every draw (φ,σ 2 ), we can compute
More informationPart 1. Multiple Choice (50 questions, 1 point each) Part 2. Problems/Short Answer (10 questions, 5 points each)
GROUND RULES: This exam contains two parts: Part 1. Multiple Choice (50 questions, 1 point each) Part 2. Problems/Short Answer (10 questions, 5 points each) The maximum number of points on this exam is
More informationReview Session: Econometrics - CLEFIN (20192)
Review Session: Econometrics - CLEFIN (20192) Part II: Univariate time series analysis Daniele Bianchi March 20, 2013 Fundamentals Stationarity A time series is a sequence of random variables x t, t =
More informationECON/FIN 250: Forecasting in Finance and Economics: Section 4.1 Forecasting Fundamentals
ECON/FIN 250: Forecasting in Finance and Economics: Section 4.1 Forecasting Fundamentals Patrick Herb Brandeis University Spring 2016 Patrick Herb (Brandeis University) Forecasting Fundamentals ECON/FIN
More informationTMA4285 December 2015 Time series models, solution.
Norwegian University of Science and Technology Department of Mathematical Sciences Page of 5 TMA4285 December 205 Time series models, solution. Problem a) (i) The slow decay of the ACF of z t suggest that
More informationCircle a single answer for each multiple choice question. Your choice should be made clearly.
TEST #1 STA 4853 March 4, 215 Name: Please read the following directions. DO NOT TURN THE PAGE UNTIL INSTRUCTED TO DO SO Directions This exam is closed book and closed notes. There are 31 questions. Circle
More informationVector autoregressions, VAR
1 / 45 Vector autoregressions, VAR Chapter 2 Financial Econometrics Michael Hauser WS17/18 2 / 45 Content Cross-correlations VAR model in standard/reduced form Properties of VAR(1), VAR(p) Structural VAR,
More informationat least 50 and preferably 100 observations should be available to build a proper model
III Box-Jenkins Methods 1. Pros and Cons of ARIMA Forecasting a) need for data at least 50 and preferably 100 observations should be available to build a proper model used most frequently for hourly or
More informationProblem Set 2: Box-Jenkins methodology
Problem Set : Box-Jenkins methodology 1) For an AR1) process we have: γ0) = σ ε 1 φ σ ε γ0) = 1 φ Hence, For a MA1) process, p lim R = φ γ0) = 1 + θ )σ ε σ ε 1 = γ0) 1 + θ Therefore, p lim R = 1 1 1 +
More informationProf. Dr. Roland Füss Lecture Series in Applied Econometrics Summer Term Introduction to Time Series Analysis
Introduction to Time Series Analysis 1 Contents: I. Basics of Time Series Analysis... 4 I.1 Stationarity... 5 I.2 Autocorrelation Function... 9 I.3 Partial Autocorrelation Function (PACF)... 14 I.4 Transformation
More informationLecture on ARMA model
Lecture on ARMA model Robert M. de Jong Ohio State University Columbus, OH 43210 USA Chien-Ho Wang National Taipei University Taipei City, 104 Taiwan ROC October 19, 2006 (Very Preliminary edition, Comment
More informationChapter 9: Forecasting
Chapter 9: Forecasting One of the critical goals of time series analysis is to forecast (predict) the values of the time series at times in the future. When forecasting, we ideally should evaluate the
More informationCircle the single best answer for each multiple choice question. Your choice should be made clearly.
TEST #1 STA 4853 March 6, 2017 Name: Please read the following directions. DO NOT TURN THE PAGE UNTIL INSTRUCTED TO DO SO Directions This exam is closed book and closed notes. There are 32 multiple choice
More informationEconometrics II Heij et al. Chapter 7.1
Chapter 7.1 p. 1/2 Econometrics II Heij et al. Chapter 7.1 Linear Time Series Models for Stationary data Marius Ooms Tinbergen Institute Amsterdam Chapter 7.1 p. 2/2 Program Introduction Modelling philosophy
More informationMeasures of Fit from AR(p)
Measures of Fit from AR(p) Residual Sum of Squared Errors Residual Mean Squared Error Root MSE (Standard Error of Regression) R-squared R-bar-squared = = T t e t SSR 1 2 ˆ = = T t e t p T s 1 2 2 ˆ 1 1
More information2. An Introduction to Moving Average Models and ARMA Models
. An Introduction to Moving Average Models and ARMA Models.1 White Noise. The MA(1) model.3 The MA(q) model..4 Estimation and forecasting of MA models..5 ARMA(p,q) models. The Moving Average (MA) models
More informationTrending Models in the Data
April 13, 2009 Spurious regression I Before we proceed to test for unit root and trend-stationary models, we will examine the phenomena of spurious regression. The material in this lecture can be found
More informationLecture 10: Panel Data
Lecture 10: Instructor: Department of Economics Stanford University 2011 Random Effect Estimator: β R y it = x itβ + u it u it = α i + ɛ it i = 1,..., N, t = 1,..., T E (α i x i ) = E (ɛ it x i ) = 0.
More informationMAT3379 (Winter 2016)
MAT3379 (Winter 2016) Assignment 4 - SOLUTIONS The following questions will be marked: 1a), 2, 4, 6, 7a Total number of points for Assignment 4: 20 Q1. (Theoretical Question, 2 points). Yule-Walker estimation
More informationLecture 1: Stationary Time Series Analysis
Syllabus Stationarity ARMA AR MA Model Selection Estimation Lecture 1: Stationary Time Series Analysis 222061-1617: Time Series Econometrics Spring 2018 Jacek Suda Syllabus Stationarity ARMA AR MA Model
More informationA lecture on time series
A lecture on time series Bernt Arne Ødegaard 15 November 2018 Contents 1 Survey of time series issues 1 1.1 Definition.............................. 2 1.2 Examples.............................. 2 1.3 Typical
More informationAkaike criterion: Kullback-Leibler discrepancy
Model choice. Akaike s criterion Akaike criterion: Kullback-Leibler discrepancy Given a family of probability densities {f ( ; ψ), ψ Ψ}, Kullback-Leibler s index of f ( ; ψ) relative to f ( ; θ) is (ψ
More informationAR, MA and ARMA models
AR, MA and AR by Hedibert Lopes P Based on Tsay s Analysis of Financial Time Series (3rd edition) P 1 Stationarity 2 3 4 5 6 7 P 8 9 10 11 Outline P Linear Time Series Analysis and Its Applications For
More informationAPPLIED ECONOMETRIC TIME SERIES 4TH EDITION
APPLIED ECONOMETRIC TIME SERIES 4TH EDITION Chapter 2: STATIONARY TIME-SERIES MODELS WALTER ENDERS, UNIVERSITY OF ALABAMA Copyright 2015 John Wiley & Sons, Inc. Section 1 STOCHASTIC DIFFERENCE EQUATION
More informationAR(p) + I(d) + MA(q) = ARIMA(p, d, q)
AR(p) + I(d) + MA(q) = ARIMA(p, d, q) Outline 1 4.1: Nonstationarity in the Mean 2 ARIMA Arthur Berg AR(p) + I(d)+ MA(q) = ARIMA(p, d, q) 2/ 19 Deterministic Trend Models Polynomial Trend Consider the
More informationLecture 1: Stationary Time Series Analysis
Syllabus Stationarity ARMA AR MA Model Selection Estimation Forecasting Lecture 1: Stationary Time Series Analysis 222061-1617: Time Series Econometrics Spring 2018 Jacek Suda Syllabus Stationarity ARMA
More informationAuto correlation 2. Note: In general we can have AR(p) errors which implies p lagged terms in the error structure, i.e.,
1 Motivation Auto correlation 2 Autocorrelation occurs when what happens today has an impact on what happens tomorrow, and perhaps further into the future This is a phenomena mainly found in time-series
More informationOrdinary Least Squares Regression
Ordinary Least Squares Regression Goals for this unit More on notation and terminology OLS scalar versus matrix derivation Some Preliminaries In this class we will be learning to analyze Cross Section
More informationLecture 6a: Unit Root and ARIMA Models
Lecture 6a: Unit Root and ARIMA Models 1 2 Big Picture A time series is non-stationary if it contains a unit root unit root nonstationary The reverse is not true. For example, y t = cos(t) + u t has no
More informationLecture Notes of Bus (Spring 2017) Analysis of Financial Time Series Ruey S. Tsay
Lecture Notes of Bus 41202 (Spring 2017) Analysis of Financial Time Series Ruey S. Tsay Simple AR models: (Regression with lagged variables.) Motivating example: The growth rate of U.S. quarterly real
More informationStationary Stochastic Time Series Models
Stationary Stochastic Time Series Models When modeling time series it is useful to regard an observed time series, (x 1,x,..., x n ), as the realisation of a stochastic process. In general a stochastic
More informationAuthor: Yesuf M. Awel 1c. Affiliation: 1 PhD, Economist-Consultant; P.O Box , Addis Ababa, Ethiopia. c.
ISSN: 2415-0304 (Print) ISSN: 2522-2465 (Online) Indexing/Abstracting Forecasting GDP Growth: Application of Autoregressive Integrated Moving Average Model Author: Yesuf M. Awel 1c Affiliation: 1 PhD,
More informationIntroduction to ARMA and GARCH processes
Introduction to ARMA and GARCH processes Fulvio Corsi SNS Pisa 3 March 2010 Fulvio Corsi Introduction to ARMA () and GARCH processes SNS Pisa 3 March 2010 1 / 24 Stationarity Strict stationarity: (X 1,
More informationExercises - Time series analysis
Descriptive analysis of a time series (1) Estimate the trend of the series of gasoline consumption in Spain using a straight line in the period from 1945 to 1995 and generate forecasts for 24 months. Compare
More informationUnit Root and Cointegration
Unit Root and Cointegration Carlos Hurtado Department of Economics University of Illinois at Urbana-Champaign hrtdmrt@illinois.edu Oct 7th, 016 C. Hurtado (UIUC - Economics) Applied Econometrics On the
More informationMultivariate Time Series Analysis and Its Applications [Tsay (2005), chapter 8]
1 Multivariate Time Series Analysis and Its Applications [Tsay (2005), chapter 8] Insights: Price movements in one market can spread easily and instantly to another market [economic globalization and internet
More informationEconometrics. Week 11. Fall Institute of Economic Studies Faculty of Social Sciences Charles University in Prague
Econometrics Week 11 Institute of Economic Studies Faculty of Social Sciences Charles University in Prague Fall 2012 1 / 30 Recommended Reading For the today Advanced Time Series Topics Selected topics
More informationUniversity of Oxford. Statistical Methods Autocorrelation. Identification and Estimation
University of Oxford Statistical Methods Autocorrelation Identification and Estimation Dr. Órlaith Burke Michaelmas Term, 2011 Department of Statistics, 1 South Parks Road, Oxford OX1 3TG Contents 1 Model
More informationApplied time-series analysis
Robert M. Kunst robert.kunst@univie.ac.at University of Vienna and Institute for Advanced Studies Vienna October 18, 2011 Outline Introduction and overview Econometric Time-Series Analysis In principle,
More informationEstimation and application of best ARIMA model for forecasting the uranium price.
Estimation and application of best ARIMA model for forecasting the uranium price. Medeu Amangeldi May 13, 2018 Capstone Project Superviser: Dongming Wei Second reader: Zhenisbek Assylbekov Abstract This
More informationSection 2 NABE ASTEF 65
Section 2 NABE ASTEF 65 Econometric (Structural) Models 66 67 The Multiple Regression Model 68 69 Assumptions 70 Components of Model Endogenous variables -- Dependent variables, values of which are determined
More informationIntroduction to Time Series Analysis. Lecture 11.
Introduction to Time Series Analysis. Lecture 11. Peter Bartlett 1. Review: Time series modelling and forecasting 2. Parameter estimation 3. Maximum likelihood estimator 4. Yule-Walker estimation 5. Yule-Walker
More informationUnit root problem, solution of difference equations Simple deterministic model, question of unit root
Unit root problem, solution of difference equations Simple deterministic model, question of unit root (1 φ 1 L)X t = µ, Solution X t φ 1 X t 1 = µ X t = A + Bz t with unknown z and unknown A (clearly X
More informationLecture note 2 considered the statistical analysis of regression models for time
DYNAMIC MODELS FOR STATIONARY TIME SERIES Econometrics 2 LectureNote4 Heino Bohn Nielsen March 2, 2007 Lecture note 2 considered the statistical analysis of regression models for time series data, and
More informationCOMPUTER SESSION 3: ESTIMATION AND FORECASTING.
UPPSALA UNIVERSITY Department of Mathematics JR Analysis of Time Series 1MS014 Spring 2010 COMPUTER SESSION 3: ESTIMATION AND FORECASTING. 1 Introduction The purpose of this exercise is two-fold: (i) By
More informationEconomics 618B: Time Series Analysis Department of Economics State University of New York at Binghamton
Problem Set #1 1. Generate n =500random numbers from both the uniform 1 (U [0, 1], uniformbetween zero and one) and exponential λ exp ( λx) (set λ =2and let x U [0, 1]) b a distributions. Plot the histograms
More informationModule 3. Descriptive Time Series Statistics and Introduction to Time Series Models
Module 3 Descriptive Time Series Statistics and Introduction to Time Series Models Class notes for Statistics 451: Applied Time Series Iowa State University Copyright 2015 W Q Meeker November 11, 2015
More informationRoss Bettinger, Analytical Consultant, Seattle, WA
ABSTRACT DYNAMIC REGRESSION IN ARIMA MODELING Ross Bettinger, Analytical Consultant, Seattle, WA Box-Jenkins time series models that contain exogenous predictor variables are called dynamic regression
More informationMEI Exam Review. June 7, 2002
MEI Exam Review June 7, 2002 1 Final Exam Revision Notes 1.1 Random Rules and Formulas Linear transformations of random variables. f y (Y ) = f x (X) dx. dg Inverse Proof. (AB)(AB) 1 = I. (B 1 A 1 )(AB)(AB)
More informationdistributed approximately according to white noise. Likewise, for general ARMA(p,q), the residuals can be expressed as
library(forecast) log_ap
More informationWe will only present the general ideas on how to obtain. follow closely the AR(1) and AR(2) cases presented before.
ACF and PACF of an AR(p) We will only present the general ideas on how to obtain the ACF and PACF of an AR(p) model since the details follow closely the AR(1) and AR(2) cases presented before. Recall that
More informationA time series is called strictly stationary if the joint distribution of every collection (Y t
5 Time series A time series is a set of observations recorded over time. You can think for example at the GDP of a country over the years (or quarters) or the hourly measurements of temperature over a
More informationSTAT 436 / Lecture 16: Key
STAT 436 / 536 - Lecture 16: Key Modeling Non-Stationary Time Series Many time series models are non-stationary. Recall a time series is stationary if the mean and variance are constant in time and the
More information5 Autoregressive-Moving-Average Modeling
5 Autoregressive-Moving-Average Modeling 5. Purpose. Autoregressive-moving-average (ARMA models are mathematical models of the persistence, or autocorrelation, in a time series. ARMA models are widely
More information10) Time series econometrics
30C00200 Econometrics 10) Time series econometrics Timo Kuosmanen Professor, Ph.D. 1 Topics today Static vs. dynamic time series model Suprious regression Stationary and nonstationary time series Unit
More informationLinear models. Chapter Overview. Linear process: A process {X n } is a linear process if it has the representation.
Chapter 2 Linear models 2.1 Overview Linear process: A process {X n } is a linear process if it has the representation X n = b j ɛ n j j=0 for all n, where ɛ n N(0, σ 2 ) (Gaussian distributed with zero
More informationARIMA Models. Jamie Monogan. January 25, University of Georgia. Jamie Monogan (UGA) ARIMA Models January 25, / 38
ARIMA Models Jamie Monogan University of Georgia January 25, 2012 Jamie Monogan (UGA) ARIMA Models January 25, 2012 1 / 38 Objectives By the end of this meeting, participants should be able to: Describe
More informationLinear models and their mathematical foundations: Simple linear regression
Linear models and their mathematical foundations: Simple linear regression Steffen Unkel Department of Medical Statistics University Medical Center Göttingen, Germany Winter term 2018/19 1/21 Introduction
More informationARIMA Models. Jamie Monogan. January 16, University of Georgia. Jamie Monogan (UGA) ARIMA Models January 16, / 27
ARIMA Models Jamie Monogan University of Georgia January 16, 2018 Jamie Monogan (UGA) ARIMA Models January 16, 2018 1 / 27 Objectives By the end of this meeting, participants should be able to: Argue why
More informationTopic 4 Unit Roots. Gerald P. Dwyer. February Clemson University
Topic 4 Unit Roots Gerald P. Dwyer Clemson University February 2016 Outline 1 Unit Roots Introduction Trend and Difference Stationary Autocorrelations of Series That Have Deterministic or Stochastic Trends
More informationEmpirical Approach to Modelling and Forecasting Inflation in Ghana
Current Research Journal of Economic Theory 4(3): 83-87, 2012 ISSN: 2042-485X Maxwell Scientific Organization, 2012 Submitted: April 13, 2012 Accepted: May 06, 2012 Published: June 30, 2012 Empirical Approach
More informationBox-Jenkins ARIMA Advanced Time Series
Box-Jenkins ARIMA Advanced Time Series www.realoptionsvaluation.com ROV Technical Papers Series: Volume 25 Theory In This Issue 1. Learn about Risk Simulator s ARIMA and Auto ARIMA modules. 2. Find out
More informationEASTERN MEDITERRANEAN UNIVERSITY ECON 604, FALL 2007 DEPARTMENT OF ECONOMICS MEHMET BALCILAR ARIMA MODELS: IDENTIFICATION
ARIMA MODELS: IDENTIFICATION A. Autocorrelations and Partial Autocorrelations 1. Summary of What We Know So Far: a) Series y t is to be modeled by Box-Jenkins methods. The first step was to convert y t
More informationEconometrics. 9) Heteroscedasticity and autocorrelation
30C00200 Econometrics 9) Heteroscedasticity and autocorrelation Timo Kuosmanen Professor, Ph.D. http://nomepre.net/index.php/timokuosmanen Today s topics Heteroscedasticity Possible causes Testing for
More information7 Introduction to Time Series Time Series vs. Cross-Sectional Data Detrending Time Series... 15
Econ 495 - Econometric Review 1 Contents 7 Introduction to Time Series 3 7.1 Time Series vs. Cross-Sectional Data............ 3 7.2 Detrending Time Series................... 15 7.3 Types of Stochastic
More informationECON 4160, Spring term Lecture 12
ECON 4160, Spring term 2013. Lecture 12 Non-stationarity and co-integration 2/2 Ragnar Nymoen Department of Economics 13 Nov 2013 1 / 53 Introduction I So far we have considered: Stationary VAR, with deterministic
More informationNon-Stationary Time Series and Unit Root Testing
Econometrics II Non-Stationary Time Series and Unit Root Testing Morten Nyboe Tabor Course Outline: Non-Stationary Time Series and Unit Root Testing 1 Stationarity and Deviation from Stationarity Trend-Stationarity
More information6.3 Forecasting ARMA processes
6.3. FORECASTING ARMA PROCESSES 123 6.3 Forecasting ARMA processes The purpose of forecasting is to predict future values of a TS based on the data collected to the present. In this section we will discuss
More informationBIO5312 Biostatistics Lecture 13: Maximum Likelihood Estimation
BIO5312 Biostatistics Lecture 13: Maximum Likelihood Estimation Yujin Chung November 29th, 2016 Fall 2016 Yujin Chung Lec13: MLE Fall 2016 1/24 Previous Parametric tests Mean comparisons (normality assumption)
More informationFORECASTING SUGARCANE PRODUCTION IN INDIA WITH ARIMA MODEL
FORECASTING SUGARCANE PRODUCTION IN INDIA WITH ARIMA MODEL B. N. MANDAL Abstract: Yearly sugarcane production data for the period of - to - of India were analyzed by time-series methods. Autocorrelation
More informationTime Series Forecasting: A Tool for Out - Sample Model Selection and Evaluation
AMERICAN JOURNAL OF SCIENTIFIC AND INDUSTRIAL RESEARCH 214, Science Huβ, http://www.scihub.org/ajsir ISSN: 2153-649X, doi:1.5251/ajsir.214.5.6.185.194 Time Series Forecasting: A Tool for Out - Sample Model
More informationINDIAN INSTITUTE OF SCIENCE STOCHASTIC HYDROLOGY. Lecture -18 Course Instructor : Prof. P. P. MUJUMDAR Department of Civil Engg., IISc.
INDIAN INSTITUTE OF SCIENCE STOCHASTIC HYDROLOGY Lecture -18 Course Instructor : Prof. P. P. MUJUMDAR Department of Civil Engg., IISc. Summary of the previous lecture Model selection Mean square error
More information