applied econometrics jozef barunik -...
TRANSCRIPT
Seminar: Introduction to CointegrationApplied Econometrics
Jozef Barunik
IES, FSV, UK
Summer Semester 2009/2010
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 1 / 18
Seminar Outline
Outline of the today’s talk
Cointegration: definition and some intuition
Testing cointegration: simple test and the Engle- Granger procedure
Example: Money demand equation
Error Correction Model (so called ECM)
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 2 / 18
Seminar Outline
Outline of the today’s talk
Cointegration: definition and some intuition
Testing cointegration: simple test and the Engle- Granger procedure
Example: Money demand equation
Error Correction Model (so called ECM)
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 2 / 18
Seminar Outline
Outline of the today’s talk
Cointegration: definition and some intuition
Testing cointegration: simple test and the Engle- Granger procedure
Example: Money demand equation
Error Correction Model (so called ECM)
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 2 / 18
Seminar Outline
Outline of the today’s talk
Cointegration: definition and some intuition
Testing cointegration: simple test and the Engle- Granger procedure
Example: Money demand equation
Error Correction Model (so called ECM)
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 2 / 18
Seminar Cointegration
Cointegration - Intuition
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 3 / 18
Seminar Definition of Cointegration
Definition of Cointegration
Formal definition: An(n × 1) vector time series xt is said to becointegrated if each of the series taken individually is I (1), that is,nonstationary with a unit root or integrated of order 1, while somelinear combination β′xt is stationary, or I (0), for some non-zero(n × 1) vector β.
Long-term stable relationship between two (or among many)variables: something like equilibrium among those variables exists.
Those variables cannot wander off in a long term, they must arrive toits equilibrium level
Equilibrium: β1x1,t + β2x2,t + · · ·+ βnxn,t = 0
The equilibrium error: et = β′xt ∼ stationary.
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 4 / 18
Seminar Definition of Cointegration
Definition of Cointegration
Formal definition: An(n × 1) vector time series xt is said to becointegrated if each of the series taken individually is I (1), that is,nonstationary with a unit root or integrated of order 1, while somelinear combination β′xt is stationary, or I (0), for some non-zero(n × 1) vector β.
Long-term stable relationship between two (or among many)variables: something like equilibrium among those variables exists.
Those variables cannot wander off in a long term, they must arrive toits equilibrium level
Equilibrium: β1x1,t + β2x2,t + · · ·+ βnxn,t = 0
The equilibrium error: et = β′xt ∼ stationary.
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 4 / 18
Seminar Definition of Cointegration
Definition of Cointegration
Formal definition: An(n × 1) vector time series xt is said to becointegrated if each of the series taken individually is I (1), that is,nonstationary with a unit root or integrated of order 1, while somelinear combination β′xt is stationary, or I (0), for some non-zero(n × 1) vector β.
Long-term stable relationship between two (or among many)variables: something like equilibrium among those variables exists.
Those variables cannot wander off in a long term, they must arrive toits equilibrium level
Equilibrium: β1x1,t + β2x2,t + · · ·+ βnxn,t = 0
The equilibrium error: et = β′xt ∼ stationary.
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 4 / 18
Seminar Definition of Cointegration
Definition of Cointegration
Formal definition: An(n × 1) vector time series xt is said to becointegrated if each of the series taken individually is I (1), that is,nonstationary with a unit root or integrated of order 1, while somelinear combination β′xt is stationary, or I (0), for some non-zero(n × 1) vector β.
Long-term stable relationship between two (or among many)variables: something like equilibrium among those variables exists.
Those variables cannot wander off in a long term, they must arrive toits equilibrium level
Equilibrium: β1x1,t + β2x2,t + · · ·+ βnxn,t = 0
The equilibrium error: et = β′xt ∼ stationary.
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 4 / 18
Seminar Definition of Cointegration
Definition of Cointegration
Formal definition: An(n × 1) vector time series xt is said to becointegrated if each of the series taken individually is I (1), that is,nonstationary with a unit root or integrated of order 1, while somelinear combination β′xt is stationary, or I (0), for some non-zero(n × 1) vector β.
Long-term stable relationship between two (or among many)variables: something like equilibrium among those variables exists.
Those variables cannot wander off in a long term, they must arrive toits equilibrium level
Equilibrium: β1x1,t + β2x2,t + · · ·+ βnxn,t = 0
The equilibrium error: et = β′xt ∼ stationary.
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 4 / 18
Seminar Definition of Cointegration
Cointegration and Correlation
Cointegration and Correlation two things about the same?
Correlation if one variable moves up, the second will do the same.
Cointegration in case of shock in one variable, their long-termrelationship would not change.
Note
Cointegrating relationships are unusuall and very important as they givethe information about the long-term behavior.
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 5 / 18
Seminar Definition of Cointegration
Cointegration and Correlation
Cointegration and Correlation two things about the same?
Correlation if one variable moves up, the second will do the same.
Cointegration in case of shock in one variable, their long-termrelationship would not change.
Note
Cointegrating relationships are unusuall and very important as they givethe information about the long-term behavior.
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 5 / 18
Seminar Definition of Cointegration
Cointegration and Correlation
Cointegration and Correlation two things about the same?
Correlation if one variable moves up, the second will do the same.
Cointegration in case of shock in one variable, their long-termrelationship would not change.
Note
Cointegrating relationships are unusuall and very important as they givethe information about the long-term behavior.
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 5 / 18
Seminar Testing Cointegration
Testing Cointegration
Natural approach to test cointegration:
Take the difference of two I(1) series and the result should bestationary:
yt = α + βxt + ut ⇒ yt − βxt − α = ut (1)
But: β superconsistent and OLS designed to produce stationaryresiduals. Thus slightly different critical values that are more strictabout the properties of ut .
Another reason for different crit. values: coefficients β are estimated,they are not true values (this holds only assymptotically)
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 6 / 18
Seminar Testing Cointegration
Testing Cointegration
Natural approach to test cointegration:
Take the difference of two I(1) series and the result should bestationary:
yt = α + βxt + ut ⇒ yt − βxt − α = ut (1)
But: β superconsistent and OLS designed to produce stationaryresiduals. Thus slightly different critical values that are more strictabout the properties of ut .
Another reason for different crit. values: coefficients β are estimated,they are not true values (this holds only assymptotically)
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 6 / 18
Seminar Testing Cointegration
Testing Cointegration
Natural approach to test cointegration:
Take the difference of two I(1) series and the result should bestationary:
yt = α + βxt + ut ⇒ yt − βxt − α = ut (1)
But: β superconsistent and OLS designed to produce stationaryresiduals. Thus slightly different critical values that are more strictabout the properties of ut .
Another reason for different crit. values: coefficients β are estimated,they are not true values (this holds only assymptotically)
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 6 / 18
Seminar Testing Cointegration
Testing Cointegration
Natural approach to test cointegration:
Take the difference of two I(1) series and the result should bestationary:
yt = α + βxt + ut ⇒ yt − βxt − α = ut (1)
But: β superconsistent and OLS designed to produce stationaryresiduals. Thus slightly different critical values that are more strictabout the properties of ut .
Another reason for different crit. values: coefficients β are estimated,they are not true values (this holds only assymptotically)
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 6 / 18
Seminar Example: Money Demand
Example: Money Demand
Relation among money and real economy:
money demand equation
mt = β0 + β1pt + β2yt + β3rt + εt
Demand for money:
Individuals want to hold a real quantity of money balances (realproportion of nominal money given by price level).The transaction demand: real money demand depends on amount ofgoods that is intended to be boughtSpeculative motive: interest rate represents opportunity costs of cashmoney
Solving for εt : εt = mt − β0 − β1pt − β2yt − β3rt
Linear combination of mt , yt , rt , pt should be stationary thus thesevariables should be cointegrated if the money demand equation holds.
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 7 / 18
Seminar Example: Money Demand
Example: Money Demand
Relation among money and real economy:
money demand equation
mt = β0 + β1pt + β2yt + β3rt + εt
Demand for money:
Individuals want to hold a real quantity of money balances (realproportion of nominal money given by price level).The transaction demand: real money demand depends on amount ofgoods that is intended to be boughtSpeculative motive: interest rate represents opportunity costs of cashmoney
Solving for εt : εt = mt − β0 − β1pt − β2yt − β3rt
Linear combination of mt , yt , rt , pt should be stationary thus thesevariables should be cointegrated if the money demand equation holds.
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 7 / 18
Seminar Example: Money Demand
Example: Money Demand
Relation among money and real economy:
money demand equation
mt = β0 + β1pt + β2yt + β3rt + εt
Demand for money:
Individuals want to hold a real quantity of money balances (realproportion of nominal money given by price level).The transaction demand: real money demand depends on amount ofgoods that is intended to be boughtSpeculative motive: interest rate represents opportunity costs of cashmoney
Solving for εt : εt = mt − β0 − β1pt − β2yt − β3rt
Linear combination of mt , yt , rt , pt should be stationary thus thesevariables should be cointegrated if the money demand equation holds.
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 7 / 18
Seminar Example: Money Demand
Example: Money Demand
Relation among money and real economy:
money demand equation
mt = β0 + β1pt + β2yt + β3rt + εt
Demand for money:
Individuals want to hold a real quantity of money balances (realproportion of nominal money given by price level).The transaction demand: real money demand depends on amount ofgoods that is intended to be boughtSpeculative motive: interest rate represents opportunity costs of cashmoney
Solving for εt : εt = mt − β0 − β1pt − β2yt − β3rt
Linear combination of mt , yt , rt , pt should be stationary thus thesevariables should be cointegrated if the money demand equation holds.
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 7 / 18
Seminar Example: Money Demand
Example: Money Demand
Relation among money and real economy:
money demand equation
mt = β0 + β1pt + β2yt + β3rt + εt
Demand for money:
Individuals want to hold a real quantity of money balances (realproportion of nominal money given by price level).The transaction demand: real money demand depends on amount ofgoods that is intended to be boughtSpeculative motive: interest rate represents opportunity costs of cashmoney
Solving for εt : εt = mt − β0 − β1pt − β2yt − β3rt
Linear combination of mt , yt , rt , pt should be stationary thus thesevariables should be cointegrated if the money demand equation holds.
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 7 / 18
Seminar Example: Money Demand
Example: Money Demand
Relation among money and real economy:
money demand equation
mt = β0 + β1pt + β2yt + β3rt + εt
Demand for money:
Individuals want to hold a real quantity of money balances (realproportion of nominal money given by price level).The transaction demand: real money demand depends on amount ofgoods that is intended to be boughtSpeculative motive: interest rate represents opportunity costs of cashmoney
Solving for εt : εt = mt − β0 − β1pt − β2yt − β3rt
Linear combination of mt , yt , rt , pt should be stationary thus thesevariables should be cointegrated if the money demand equation holds.
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 7 / 18
Seminar Example: Money Demand
Example: Money Demand
Relation among money and real economy:
money demand equation
mt = β0 + β1pt + β2yt + β3rt + εt
Demand for money:
Individuals want to hold a real quantity of money balances (realproportion of nominal money given by price level).The transaction demand: real money demand depends on amount ofgoods that is intended to be boughtSpeculative motive: interest rate represents opportunity costs of cashmoney
Solving for εt : εt = mt − β0 − β1pt − β2yt − β3rt
Linear combination of mt , yt , rt , pt should be stationary thus thesevariables should be cointegrated if the money demand equation holds.
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 7 / 18
Seminar Example: Money Demand
Engle-Granger Procedure and Money Demand
1 Test the order of integration for all variables by ADF
2 Estimate (by OLS) Xt = α0 + β0Yt + ut , where Yt is vector ofvariables
3 Test ut for the presence of unit-root.
Load the data
Gretl sample file: Greene ⇒ Greene 5.1 U.S. Macro data
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 8 / 18
Seminar Example: Money Demand
Engle-Granger Procedure and Money Demand
1 Test the order of integration for all variables by ADF
2 Estimate (by OLS) Xt = α0 + β0Yt + ut , where Yt is vector ofvariables
3 Test ut for the presence of unit-root.
Load the data
Gretl sample file: Greene ⇒ Greene 5.1 U.S. Macro data
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 8 / 18
Seminar Example: Money Demand
Engle-Granger Procedure and Money Demand
1 Test the order of integration for all variables by ADF
2 Estimate (by OLS) Xt = α0 + β0Yt + ut , where Yt is vector ofvariables
3 Test ut for the presence of unit-root.
Load the data
Gretl sample file: Greene ⇒ Greene 5.1 U.S. Macro data
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 8 / 18
Seminar Example: Money Demand
Engle-Granger Procedure and Money Demand
Logs of all variables, plot each of them
Gretl Code
logs realgdp cpi u M1scatters tbilrate l realgdp l cpi u l M1
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 9 / 18
Seminar Example: Money Demand
Engle-Granger Procedure and Money Demand
Estimate mt = β0 + β1pt + β2yt + β3rt + εt and save the residuals
Gretl Code
ols l M1 const l realgdp tbilrate l cpi ugenr uhat3 = $uhat
Test residuals for unit-root (without const)
Gretl Code
adf 4 uhat3 - - c - - verbose
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 10 / 18
Seminar Example: Money Demand
Engle-Granger Procedure and Money Demand
Estimate mt = β0 + β1pt + β2yt + β3rt + εt and save the residuals
Gretl Code
ols l M1 const l realgdp tbilrate l cpi ugenr uhat3 = $uhat
Test residuals for unit-root (without const)
Gretl Code
adf 4 uhat3 - - c - - verbose
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 10 / 18
Seminar Example: Money Demand
Engle-Granger Procedure and Money Demand
Now use the Engle-Granger procedure
Gretl Code
coint 4 l M1 l realgdp l cpi u tbilrate
Any difference?
Cointegration rejected
Note
Alternatively, use Gretl Menu to do the Engle-Granger procedure:Model → Time series → Cointegration test → Engle-Granger
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 11 / 18
Seminar Example: Money Demand
Engle-Granger Procedure and Money Demand
Now use the Engle-Granger procedure
Gretl Code
coint 4 l M1 l realgdp l cpi u tbilrate
Any difference?
Cointegration rejected
Note
Alternatively, use Gretl Menu to do the Engle-Granger procedure:Model → Time series → Cointegration test → Engle-Granger
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 11 / 18
Seminar Example: Money Demand
Engle-Granger Procedure and Money Demand
Now use the Engle-Granger procedure
Gretl Code
coint 4 l M1 l realgdp l cpi u tbilrate
Any difference?
Cointegration rejected
Note
Alternatively, use Gretl Menu to do the Engle-Granger procedure:Model → Time series → Cointegration test → Engle-Granger
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 11 / 18
Seminar Example: Money Demand
Results: Engle-Granger Procedure and Money Demand
What might help?
Dependent variable M-P (realmoney)
More observations
Gretl Code
genr realmoney=l M1-l cpi ugnuplot realmoney - - with-lines - - time-seriesols realmoney const l realgdpcoint 4 realmoney l realgdp tbilrate
results better, but cointegration still rejected
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 12 / 18
Seminar Example: Money Demand
Results: Engle-Granger Procedure and Money Demand
What might help?
Dependent variable M-P (realmoney)
More observations
Gretl Code
genr realmoney=l M1-l cpi ugnuplot realmoney - - with-lines - - time-seriesols realmoney const l realgdpcoint 4 realmoney l realgdp tbilrate
results better, but cointegration still rejected
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 12 / 18
Seminar Example: Money Demand
Results: Engle-Granger Procedure and Money Demand
What might help?
Dependent variable M-P (realmoney)
More observations
Gretl Code
genr realmoney=l M1-l cpi ugnuplot realmoney - - with-lines - - time-seriesols realmoney const l realgdpcoint 4 realmoney l realgdp tbilrate
results better, but cointegration still rejected
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 12 / 18
Seminar Example: Money Demand
Results: Engle-Granger Procedure and Money Demand
What might help?
Dependent variable M-P (realmoney)
More observations
Gretl Code
genr realmoney=l M1-l cpi ugnuplot realmoney - - with-lines - - time-seriesols realmoney const l realgdpcoint 4 realmoney l realgdp tbilrate
results better, but cointegration still rejected
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 12 / 18
Seminar Example: Money Demand
Complete Engle-Granger Procedure
Test the order of integration for all variables by ADF
Estimate (by OLS) Xt = α0 + β0Yt + ut , where Yt is vector ofvariables
Estimate the error-correction model ∆Xt = α0 + β∆Yt + ρut − 1 + εt, (sometimes lags of ∆Xt and ∆Yt needed; ut−1 comes from the step2)
Evaluate the model adequacy (the parameter ρ is expected to benegative and can be interpreted as the speed of adjustment as theut−1 is the error correction term.)
Gretl Code
ols realmoney const l realgdp l cpi u l M1genr uhat2=$uhat
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 13 / 18
Seminar Example: Money Demand
Complete Engle-Granger Procedure
Test the order of integration for all variables by ADF
Estimate (by OLS) Xt = α0 + β0Yt + ut , where Yt is vector ofvariables
Estimate the error-correction model ∆Xt = α0 + β∆Yt + ρut − 1 + εt, (sometimes lags of ∆Xt and ∆Yt needed; ut−1 comes from the step2)
Evaluate the model adequacy (the parameter ρ is expected to benegative and can be interpreted as the speed of adjustment as theut−1 is the error correction term.)
Gretl Code
ols realmoney const l realgdp l cpi u l M1genr uhat2=$uhat
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 13 / 18
Seminar Example: Money Demand
Complete Engle-Granger Procedure
Test the order of integration for all variables by ADF
Estimate (by OLS) Xt = α0 + β0Yt + ut , where Yt is vector ofvariables
Estimate the error-correction model ∆Xt = α0 + β∆Yt + ρut − 1 + εt, (sometimes lags of ∆Xt and ∆Yt needed; ut−1 comes from the step2)
Evaluate the model adequacy (the parameter ρ is expected to benegative and can be interpreted as the speed of adjustment as theut−1 is the error correction term.)
Gretl Code
ols realmoney const l realgdp l cpi u l M1genr uhat2=$uhat
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 13 / 18
Seminar Example: Money Demand
Complete Engle-Granger Procedure
Test the order of integration for all variables by ADF
Estimate (by OLS) Xt = α0 + β0Yt + ut , where Yt is vector ofvariables
Estimate the error-correction model ∆Xt = α0 + β∆Yt + ρut − 1 + εt, (sometimes lags of ∆Xt and ∆Yt needed; ut−1 comes from the step2)
Evaluate the model adequacy (the parameter ρ is expected to benegative and can be interpreted as the speed of adjustment as theut−1 is the error correction term.)
Gretl Code
ols realmoney const l realgdp l cpi u l M1genr uhat2=$uhat
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 13 / 18
Seminar Example: Money Demand
Complete Engle-Granger Procedure
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 14 / 18
Seminar Example: Money Demand
Example: ECM and Simulated Data
...load dataAE7simulated.xls
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 15 / 18
Seminar Example: Money Demand
Example: ECM and Simulated Data
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 16 / 18
Seminar Example: Money Demand
Summary
Cointegration is a strong, long-term relationship among variables.
It occurs if all share a common trend or if there is some form ofequilibrium relation ship as in money demand equation.
It implies much stronger codependence than correlation.
To test cointegration, Engle-Granger procedure is used.
Cointegration implies presence of error-correction mechanism.
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 17 / 18
Seminar Example: Money Demand
Summary
Cointegration is a strong, long-term relationship among variables.
It occurs if all share a common trend or if there is some form ofequilibrium relation ship as in money demand equation.
It implies much stronger codependence than correlation.
To test cointegration, Engle-Granger procedure is used.
Cointegration implies presence of error-correction mechanism.
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 17 / 18
Seminar Example: Money Demand
Summary
Cointegration is a strong, long-term relationship among variables.
It occurs if all share a common trend or if there is some form ofequilibrium relation ship as in money demand equation.
It implies much stronger codependence than correlation.
To test cointegration, Engle-Granger procedure is used.
Cointegration implies presence of error-correction mechanism.
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 17 / 18
Seminar Example: Money Demand
Summary
Cointegration is a strong, long-term relationship among variables.
It occurs if all share a common trend or if there is some form ofequilibrium relation ship as in money demand equation.
It implies much stronger codependence than correlation.
To test cointegration, Engle-Granger procedure is used.
Cointegration implies presence of error-correction mechanism.
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 17 / 18
Seminar Example: Money Demand
Summary
Cointegration is a strong, long-term relationship among variables.
It occurs if all share a common trend or if there is some form ofequilibrium relation ship as in money demand equation.
It implies much stronger codependence than correlation.
To test cointegration, Engle-Granger procedure is used.
Cointegration implies presence of error-correction mechanism.
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 17 / 18
Seminar Example: Money Demand
Engle-Granger Procedure - More Examples
Danish money demand: Gretl sample files gretl denmark
Contains data about real money balances, real income, interest rateson bonds and deposits. If only bond rate of these two used,cointegration confirmed by Engle-Granger procedure although onmuch smaller sample. The plot of residuals follows.
Let’s estimate...
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 18 / 18
Seminar Example: Money Demand
Engle-Granger Procedure - More Examples
Danish money demand: Gretl sample files gretl denmark
Contains data about real money balances, real income, interest rateson bonds and deposits. If only bond rate of these two used,cointegration confirmed by Engle-Granger procedure although onmuch smaller sample. The plot of residuals follows.
Let’s estimate...
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 18 / 18
Seminar Example: Money Demand
Engle-Granger Procedure - More Examples
Danish money demand: Gretl sample files gretl denmark
Contains data about real money balances, real income, interest rateson bonds and deposits. If only bond rate of these two used,cointegration confirmed by Engle-Granger procedure although onmuch smaller sample. The plot of residuals follows.
Let’s estimate...
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 18 / 18
Seminar Example: Money Demand
Questions
Thank you for your Attention !
Jozef Barunik (IES, FSV, UK) Seminar: Introduction to Cointegration Summer Semester 2009/2010 19 / 18