Unit Root Time Series. Univariate random walk

Similar documents
Regression with random walks and Cointegration. Spurious Regression

Lecture 5. Time series: ECM. Bernardina Algieri Department Economics, Statistics and Finance

Cointegration and Implications for Forecasting

Financial Econometrics Jeffrey R. Russell Midterm Winter 2009 SOLUTIONS

Diebold, Chapter 7. Francis X. Diebold, Elements of Forecasting, 4th Edition (Mason, Ohio: Cengage Learning, 2006). Chapter 7. Characterizing Cycles

Vectorautoregressive Model and Cointegration Analysis. Time Series Analysis Dr. Sevtap Kestel 1

R t. C t P t. + u t. C t = αp t + βr t + v t. + β + w t

3.1 More on model selection

Licenciatura de ADE y Licenciatura conjunta Derecho y ADE. Hoja de ejercicios 2 PARTE A

Econ107 Applied Econometrics Topic 7: Multicollinearity (Studenmund, Chapter 8)

ACE 562 Fall Lecture 5: The Simple Linear Regression Model: Sampling Properties of the Least Squares Estimators. by Professor Scott H.

OBJECTIVES OF TIME SERIES ANALYSIS

Chapter 16. Regression with Time Series Data

13.3 Term structure models

MATH 31B: MIDTERM 2 REVIEW. x 2 e x2 2x dx = 1. ue u du 2. x 2 e x2 e x2] + C 2. dx = x ln(x) 2 2. ln x dx = x ln x x + C. 2, or dx = 2u du.

Math 2142 Exam 1 Review Problems. x 2 + f (0) 3! for the 3rd Taylor polynomial at x = 0. To calculate the various quantities:

Chapter 7: Solving Trig Equations

Comparing Means: t-tests for One Sample & Two Related Samples

Solutions to Odd Number Exercises in Chapter 6

MATH 4330/5330, Fourier Analysis Section 6, Proof of Fourier s Theorem for Pointwise Convergence

Introduction D P. r = constant discount rate, g = Gordon Model (1962): constant dividend growth rate.

Methodology. -ratios are biased and that the appropriate critical values have to be increased by an amount. that depends on the sample size.

Chapter 2. First Order Scalar Equations

Math 333 Problem Set #2 Solution 14 February 2003

Two Coupled Oscillators / Normal Modes

Lecture 33: November 29

Lecture 2-1 Kinematics in One Dimension Displacement, Velocity and Acceleration Everything in the world is moving. Nothing stays still.

Notes for Lecture 17-18

20. Applications of the Genetic-Drift Model

E β t log (C t ) + M t M t 1. = Y t + B t 1 P t. B t 0 (3) v t = P tc t M t Question 1. Find the FOC s for an optimum in the agent s problem.

Econ Autocorrelation. Sanjaya DeSilva

GMM - Generalized Method of Moments

Chickens vs. Eggs: Replicating Thurman and Fisher (1988) by Arianto A. Patunru Department of Economics, University of Indonesia 2004

The average rate of change between two points on a function is d t

Math 10B: Mock Mid II. April 13, 2016

The consumption-based determinants of the term structure of discount rates: Corrigendum. Christian Gollier 1 Toulouse School of Economics March 2012

Outline. lse-logo. Outline. Outline. 1 Wald Test. 2 The Likelihood Ratio Test. 3 Lagrange Multiplier Tests

Chapter 5. Heterocedastic Models. Introduction to time series (2008) 1

ACE 564 Spring Lecture 7. Extensions of The Multiple Regression Model: Dummy Independent Variables. by Professor Scott H.

23.2. Representing Periodic Functions by Fourier Series. Introduction. Prerequisites. Learning Outcomes

A Dynamic Model of Economic Fluctuations

Properties of Autocorrelated Processes Economics 30331

ESTIMATION OF DYNAMIC PANEL DATA MODELS WHEN REGRESSION COEFFICIENTS AND INDIVIDUAL EFFECTS ARE TIME-VARYING

KINEMATICS IN ONE DIMENSION

Explaining Total Factor Productivity. Ulrich Kohli University of Geneva December 2015

Ready for euro? Empirical study of the actual monetary policy independence in Poland VECM modelling

Exercise: Building an Error Correction Model of Private Consumption. Part II Testing for Cointegration 1

10. State Space Methods

Physics 127b: Statistical Mechanics. Fokker-Planck Equation. Time Evolution

t is a basis for the solution space to this system, then the matrix having these solutions as columns, t x 1 t, x 2 t,... x n t x 2 t...

Biol. 356 Lab 8. Mortality, Recruitment, and Migration Rates

Vector autoregression VAR. Case 1

Guest Lectures for Dr. MacFarlane s EE3350 Part Deux

Modeling and Forecasting Volatility Autoregressive Conditional Heteroskedasticity Models. Economic Forecasting Anthony Tay Slide 1

4.1 - Logarithms and Their Properties

Kriging Models Predicting Atrazine Concentrations in Surface Water Draining Agricultural Watersheds

( ) a system of differential equations with continuous parametrization ( T = R + These look like, respectively:

Problem Set 5. Graduate Macro II, Spring 2017 The University of Notre Dame Professor Sims

5.1 - Logarithms and Their Properties

Time series Decomposition method

Wednesday, November 7 Handout: Heteroskedasticity

Empirical Process Theory

Nonstationary Time Series Data and Cointegration

Section 5: Chain Rule

Lecture #31, 32: The Ornstein-Uhlenbeck Process as a Model of Volatility

A Specification Test for Linear Dynamic Stochastic General Equilibrium Models

Testing the Random Walk Model. i.i.d. ( ) r

The Simple Linear Regression Model: Reporting the Results and Choosing the Functional Form

Inventory Analysis and Management. Multi-Period Stochastic Models: Optimality of (s, S) Policy for K-Convex Objective Functions

Estimation Uncertainty

ACE 562 Fall Lecture 8: The Simple Linear Regression Model: R 2, Reporting the Results and Prediction. by Professor Scott H.

Assignment 6. Tyler Shendruk December 6, 2010

The Fundamental Theorems of Calculus

= ( ) ) or a system of differential equations with continuous parametrization (T = R

Chapter 14 Wiener Processes and Itô s Lemma. Options, Futures, and Other Derivatives, 9th Edition, Copyright John C. Hull

Y, where. 1 Estimate St.error

Sections 2.2 & 2.3 Limit of a Function and Limit Laws

The Brock-Mirman Stochastic Growth Model

d 1 = c 1 b 2 - b 1 c 2 d 2 = c 1 b 3 - b 1 c 3

Mathcad Lecture #8 In-class Worksheet Curve Fitting and Interpolation

Matlab and Python programming: how to get started

Solutions Problem Set 3 Macro II (14.452)

Physics 180A Fall 2008 Test points. Provide the best answer to the following questions and problems. Watch your sig figs.

State-Space Models. Initialization, Estimation and Smoothing of the Kalman Filter

Distribution of Estimates

I. Return Calculations (20 pts, 4 points each)

1 1 + x 2 dx. tan 1 (2) = ] ] x 3. Solution: Recall that the given integral is improper because. x 3. 1 x 3. dx = lim dx.

Instructor: Barry McQuarrie Page 1 of 5

Forecasting optimally

Chapter 2 The Derivative Applied Calculus 107. We ll need a rule for finding the derivative of a product so we don t have to multiply everything out.

Linear Response Theory: The connection between QFT and experiments

Phys1112: DC and RC circuits

Two Popular Bayesian Estimators: Particle and Kalman Filters. McGill COMP 765 Sept 14 th, 2017

Finish reading Chapter 2 of Spivak, rereading earlier sections as necessary. handout and fill in some missing details!

Measurement Error 1: Consequences Page 1. Definitions. For two variables, X and Y, the following hold: Expectation, or Mean, of X.

Solutions to Exercises in Chapter 12

ACE 562 Fall Lecture 4: Simple Linear Regression Model: Specification and Estimation. by Professor Scott H. Irwin

Lecture Notes 2. The Hilbert Space Approach to Time Series

Challenge Problems. DIS 203 and 210. March 6, (e 2) k. k(k + 2). k=1. f(x) = k(k + 2) = 1 x k

KEY. Math 334 Midterm I Fall 2008 sections 001 and 003 Instructor: Scott Glasgow

Transcription:

Uni Roo ime Series Univariae random walk Consider he regression y y where ~ iid N 0, he leas squares esimae of is: ˆ yy y y yy

Now wha if = If y y hen le y 0 =0 so ha y j j If ~ iid N 0, hen y ~ N 0, he denominaor of he leas squares esimae is y j 3...... j y cross produc erms So E y E he variance of y depends on and explodes.

Wha abou he numeraor? We have: so yy y y yy y y y y Noe: y y y y or y y y y y y y y y y y y y Hence: yy y y Muliplying he las erm by y yy y 3

Since y y ~ N(0, ), ~ p So yy y We ve shown: yy so y yy y ˆ y y y 4

. he numeraor converges o a well defined disribuion. However he denominaor grows wih since we already saw E ˆ y D y Normally for he leas squares esimaor we would muliply by roo and ge ha ˆ converges o a well defined disribuion. Bu ha does no work here: since ˆ 0 y y E y 5

. Ineresingly he rae of convergence of he leas squares esimae is faser ha roo! 3. However, ˆ has a chi squared disribuion in he numeraor, and a denominaor ha doesn explode (bu we don know he acual disribuion ye). Wha does he denominaor converge o? Brownian Moion he sandard Brownian Moion is a coninuous ime sochasic process associaing each dae 0, wih he scalar W() such ha: W(0)=0 For any daes 0... k he changes W W, W3 W,..., Wk Wk are independen Gaussian wih Ws W ~ N0, s 6

he Funcional CL Basic CL says ha if is iid mean zero and variance : N0, D where Consider an esimaor ha only uses he firs half of he daa se he CL sill applies so ha N 0, D More generally, le r be any number beween 0 and. Le X Le s call X (r) he scaled parial sum hen by he CL r X r N 0, or r r X r X r N r D r 0, r r r D and 0, X r N r D or X r N r D 0, 7

Funcional Cenral Limi heorem (FCL) If we consider a sample using observaions r o r for r >r hen X r X r N 0, r r I shouldn be surprising ha D X W he fac ha X he funcional CL. D W resul is known as Coninuous Mapping heorem (CM) Le g be a coninuous funcional and le S S, hen gs gs. D D For example we have X W So X X W D D Or X W D 8

Back o our random walk regression: If y y hen y and le y 0 =0. Le X r his is jus a sep funcion. X r is, as before, he sum of r iid rv s. 0 for 0 r y for r y for r he inegral of he sep funcion is he sum of he recangles, each of widh / so: 0 X y r dr Or 0 y 3 X r dr y 9

Bu we know So by he CM X r W r 0 0 X r dr W r dr So 3 y W r dr D 0 We need o figure ou he disribuion of he sum of he squared y s (he denominaor). Le S r X () r S r 0 for 0 r y for r y for r 0

hen 0 S r dr y And from he CM and he FCL 0 0 S r dr W r dr Which means 0 y W r dr We worked ou previously: ˆ y We now know ha for he denominaor y Wr dr 0 So muliplying he op resul by on boh sides yields

So, ˆ y Wr dr 0 0 0 ˆ Wr dr Wr dr he probabiliy ha a Chi squared() random variable is less han uniy is 68%. So 68% of he ime, he esimaed slope value of a random walk is less han. Also, if he squared Normal in he numeraor is large, hen he square of he denominaor will end o be large as well meaning ha he disribuion will be negaively skewed. his is called he Dickey Fuller disribuion.

Some examples in EViews Wha abou regressing one random walk on anoher random walk? Generally, a non saionary process added o a non saionary process yields a non saionary process. A saionary process added o a saionary process yields a saionary process. 3

Spurious Regression Generally speaking (an excepion will follow) i s a bad idea o regress one uni roo process on anoher uni roo process. ha is, if y and x boh follow independen random walks. y y where y 0 and ~ N 0, y y 0 y x x where x 0 and ~ N 0, x x 0 x x x and independen. And we run he regression: ˆ y x x y 0 y x x x 0 x y x u W r W r dr W r dr ˆ y x y 0 y x x x 0 x W r W r dr W r dr his has expecaion zero since he numeraor is expecaion zero and he denominaor is a posiive number. Bu he esimae does no converge o any number! I is a random draw from a disribuion ha doesn depend on! 4

Simulaions and regressions from random walk models. Generally, we don regress one random walk on anoher random walk, insead, we work wih he differenced series insead of levels. ha is if he wo series x and y follow a random walk, hen ake he firs difference and model he differences in he series. y p 0 j x y β β y v j Regressing saionary series on saionary series no problem. 5

Coinegraion Coinegraion is a special relaionship ha wo non saionary series can exhibi. Someimes a pair of series migh each follow a random walk, bu over he long run heir pahs are ied ogeher. While hey wander around over ime, he wo series can ge far apar. Bid/Ask example. omao example. he $/Euro exchange rae and he price of convering from $/Yen and hen from Yen/$. 6

Price of omaoes per pound Bid and Ask prices 7.8 7.7 7.6 7.5 7.4 7.3 7. 7. 50 500 750 000 50 500 750 ASK BID 7

Formal Definiion of Coinegraion he series y and x are said o be coinegraed if boh y and x have a uni roo bu here exiss a linear combinaion z y x where z is covariance saionary i.e. doesn have a uni roo. describes he coinegraing relaionship, ofen i is (as in he preceding examples). A simple srucural inerpreaion of Coinegraion. Le p be he fair marke value of he asse a ime. a b Le p be he ask price a ime and p he bid price. he ask price should be slighly above he fair marke value and he bid below. he differences beween he prices are compensaion for he risk of leaving shares available (is basically an opion conrac). 8

We can wrie his as: p p a p p b So, and are paymens received by hose who pos shares a he ask and bid. I is compensaion for risk, i s he cos of being able o ransac immediaely (Zhang Russell say 007). I would be naural o hink of and as mean revering processes. If he paymens ge large enough, new orders will be placed closer o he fair marke value. b p a p p Noice hen ha: p p p p a b So while he ask and he bid are nonsaionary he difference beween hem is a saionary processes (acually he difference is he spread!) 9

esing for Coinegraion. CASE, KNOWN COINEGRAING RELAIONSHIP. Firs, es o see ha boh y and x have a uni roo. Creae sequence of z y x known value es he z series using a sandard Augmened Dickey Fuller es. If z is saionary hen x and y are coinegraed. CASE : UNKNOWN COINEGRAING RELAIONSHIP. es o see ha boh y and x have a uni roo.. Regress y on x and esimae. Creae he residual series y ˆ x z z y ˆ x hese esimaes of urn ou o no suffer from he spurious regression problem when x and y are coinegraed. 0

his is he one ime is OK o run his regression and in fac we ge super consisen (rae ) convergence. 3. es o see if z has a uni roo. We can use he sandard Dickey Fuller because he esimaion of used o consruc he z series messes hings up. We mus use anoher special disribuion ha is obained from simulaions. Eviews will perform his es for us. 3.765 Bid ask prices 3.760 3.755 3.750 3.745 3.740 3.735 3.730 05 79 495 376 4933 6099 770 8433 964 0693 85 95 435 577 647 7573 879 9887 06 9 3395 466 5806 6905 7990 9077 300 350 365 3367 LASK LBID

Case : Creae z y x series.006 Z.005.004.003.00.00.000 05 79 495 376 4933 6099 770 8433 964 0693 85 95 435 577 647 7573 879 9887 06 9 3395 466 5806 6905 7990 9077 300 350 365 3367 Perform he Augmened Dickey Fuller es P-value Null is ha z has a uni roo which means ha here is no coinegraion. We rejec he null ha z has a uni roo and conclude ha he series x and y are coinegraed.

Wha abou unkown coinegraing relaionship? Esimae from daa he value of by leas squares regression. Perform special augmened Dickey Fuller. Eviews Engle Granger Single Equaion es here are wo ways ha he es can be done depending on which variable is pu on he lef hand side. Each one has a p-value I use he firs p-values here. 3

Error Correcion Model (ECM) If y and x are coinegraed, hen i mus be he case ha he model for y and x follows wha is called he Error Correcion Model ECM (his was proven in he original Engle Granger paper (Economerica 987)). he model is specified as a VAR in changes in y and x, bu i includes a special erm on he righ hand side. Error Correcion Model (ECM) If he x and y are coinegraed hen you should fi an error correcion model. Since x and y follow a random walk, ake he firs difference of x and y. p y 0 z x y β β y α v j j j his is he usual VAR(p) par. z y x Where is he error correcing erm ha is new in he VAR specificaion and α. (recall ha bold y is a vecor, unbold y is no) his is he new par 4

So his is jus a regular VAR model for he changes in x and y bu i has he error correcion erm αz y x Ofen is, so his erm ells us how o updae changes in y and x as a funcion of he difference beween y and x a ime. Sep ) esimae coinegraing relaionship via regression of y on x Sep ) creae series Sep 3) esimae error correcion model, equaion by equaion. z would be an addiional righ hand side variable (exogenous). 5

If x and y are coinegraed hen he correc model is he error correcion model. If we simply fi a VAR on he changes, he model will be misspecified since we need boh changes and levels on he righ hand side of he equaion. he fac ha he VAR depends on z allows he series o correc for misalignmens hence he erm error correcion. A simple error correcion model for logarihmic bid and ask prices is given by: ln( ask) 0 ln( ask ) 3 Spd ln( bid) 0 ln( bid ) 3 where Spd z ln ask ln bid So 3 and 3 deermine how he bid and ask prices change as we vary he spread. hese dicae wheher he ask will rise or he bid will fall when he spreads ge wide. 6

Marke forces should force wide spreads o narrow. We should expec ha a wide spread should lead o an increase in he bid and a decrease in he ask. his is rue empirically wih 3 around.5 and 3 around.5. (we ge a lile larger values in our sample). ECM VAR 7

An addiional variable x can be included in he Error Correcion Model. ln( ask) 0 ln( ask ) 3 3 Spd x ln( bid) 0 ln( bid ) 3 3 A by sell indicaor (+ for buy, for sell) he (signed for buy or sell) size of he previous rade. Muliple variables can be included. Buys end o raise boh he bid and he ask. Sells end o decrease boh he bid and he ask. However, he ask ends o raise by more han he bid following a buy and he bid ends o fall by more han he ask following a sell. rade size maers. Larger rades have a larger price impac. he effec increases a a decreasing rae. 8