Chapter 21 — Error Correction Models (ECM)
In previous chapters:
Chapter 17 showed that regressions involving nonstationary variables can be spurious
Chapter 18 introduced dynamic models (ARDL)
Chapter 20 showed that cointegration restores meaning through stationary residuals
We now bring these ideas together.
The answer is given by the Error Correction Model (ECM).
This chapter follows and extends the structure in your notes. :contentReference[oaicite:0]{index=0}
Learning Objectives¶
By the end of this chapter, you should be able to:
explain the intuition behind ECM
understand the role of the error correction term
distinguish short-run and long-run effects
estimate ECMs in Gretl
connect ECM to ARDL and cointegration
interpret adjustment dynamics
21.1 From Cointegration to Adjustment¶
Suppose two variables are cointegrated:
Then:
measures deviations from the long-run equilibrium relationship.
21.2 Why an Adjustment Mechanism Is Needed¶
If the variables drift apart, economic forces may push them back toward equilibrium.
Examples:
consumption adjusts toward income
exchange rates adjust toward purchasing power parity
money demand adjusts toward long-run monetary equilibrium
21.3 The Error Correction Model¶
The ECM combines:
short-run dynamics
long-run equilibrium adjustment
Define:
Then the ECM is:
21.4 Interpreting the ECM¶
Each component has a distinct interpretation.
Short-Run Effect¶
captures the immediate effect of changes in on changes in .
Error Correction Term¶
captures adjustment toward equilibrium.
21.5 The Sign of the Adjustment Coefficient¶
The sign of is crucial.
Why?
Suppose:
meaning:
Then a negative pushes:
helping restore equilibrium.
21.6 Speed of Adjustment¶
The magnitude of measures how quickly adjustment occurs.
Examples:
| Interpretation | |
|---|---|
| -0.1 | slow adjustment |
| -0.5 | moderate adjustment |
| -1 | rapid adjustment |
21.7 Short-Run vs Long-Run Dynamics¶
ECM separates two different forces.
This is one of the major strengths of ECM.
21.8 Estimating ECM in Gretl¶
We now estimate an ECM using the same data as in Chapter 20.
This follows your notes closely.
Step 1: Estimate Long-Run Relationship¶
Estimate:
ols aus const usaStep 2: Save Residuals¶
Save the residuals from the long-run regression:
series ehat = $uhatThese residuals estimate deviations from equilibrium.
Step 3: Construct Differenced Variables¶
Create first differences:
series d_usa = diff(usa)
series d_aus = diff(aus)Create lagged residuals:
series ehat_1 = ehat(-1)Step 4: Estimate the ECM¶
Estimate:
ols d_aus const d_usa ehat_1Example Output¶
Model 2: OLS, using observations 1970:2-2000:4 (T = 123)
Dependent variable: d_aus
coefficient std. error t-ratio p-value
--------------------------------------------------------
const 0.211535 0.0710333 2.978 0.0035 ***
d_usa 0.567700 0.0983739 5.771 6.29e-08 ***
ehat_1 −0.138852 0.0426256 −3.257 0.0015 ***[GRETL Screenshot Placeholder: ECM estimation output]Interpreting the Output¶
Coefficient on ¶
This measures the short-run effect.
Coefficient on ¶
This is the adjustment coefficient.
Since the coefficient is:
negative
statistically significant
there is evidence of stable equilibrium adjustment.
21.9 Why ECM Matters¶
ECM solves a major problem in time series analysis.
Recall the tension:
| Approach | Problem |
|---|---|
| levels regression | spurious regression |
| differencing | loss of long-run information |
ECM combines both.
21.10 Connection to ARDL¶
Recall the ARDL(1,1) model:
This can be rewritten as:
21.11 ECM and Cointegration¶
ECM is meaningful only when cointegration exists.
Thus:
cointegration justifies ECM
ECM operationalizes cointegration
21.12 Residual Diagnostics¶
As with all dynamic models, residuals should behave like white noise.
After estimating the ECM:
plot residuals
examine correlograms
test for serial correlation
Gretl Menu¶
From model window:
Tests → Autocorrelation
[GRETL Screenshot Placeholder: ECM residual diagnostics]21.13 Common Pitfalls¶
21.14 Looking Ahead¶
So far, we have focused mainly on bivariate relationships.
In the next part of the book, we move to multivariate systems:
VAR models
impulse response functions
VECM
where multiple variables interact dynamically over time.
Key Takeaways¶
Concept Check¶
Basic¶
What is an Error Correction Model (ECM)?
What is the role of the error correction term?
What does the coefficient represent?
Intuition¶
Why do cointegrated variables require an adjustment mechanism?
What does it mean for deviations from equilibrium to be temporary?
Explain the “rubber band” analogy in the context of ECM.
Structure¶
What are the two main components of an ECM?
What does capture?
What does capture?
Short-Run vs Long-Run¶
What is the difference between:
short-run effect
long-run equilibrium
Why is it important to distinguish between the two?
Stability¶
Why must the adjustment coefficient be negative?
What happens if ?
Challenge¶
Suppose .
What does this imply about adjustment speed?
Interpretation & Practice¶
A model shows:
significant short-run effect
insignificant error correction term
What does this imply?
The error correction term is:
negative
statistically significant
What does this indicate?
The error correction term is positive.
What does this imply?
A model shows:
weak short-run effect
strong error correction
How would you interpret this?
Cointegration Link¶
Why is ECM only valid when variables are cointegrated?
If variables are not cointegrated, what happens to the error correction term?
ARDL Link¶
How is ECM related to ARDL models?
Economic Interpretation¶
Suppose consumption and income are cointegrated.
What does the ECM tell us about adjustment?
Challenge¶
A model fits well in differences but ignores the error correction term.
What might be missing?
Numerical Practice¶
ECM Interpretation¶
Suppose:
What is the short-run effect?
What is the speed of adjustment?
Adjustment Speed¶
If:
What proportion of disequilibrium is corrected each period?
If:
How does this compare?
Sign Interpretation¶
Suppose:
What does this imply?
Is the system stable?
Model Interpretation¶
Suppose ECM estimation gives:
Interpret both coefficients.
Diagnostics¶
Residuals from ECM show autocorrelation.
What does this imply?
What should be done?
Challenge¶
Suppose:
strong cointegration
but is very small
What does this imply about adjustment dynamics?
Suppose:
is large in magnitude
but short-run effects are weak
What does this imply about the system?
You estimate an ECM for exchange rate and price level.
You find:
significant
What does this imply about adjustment toward purchasing power parity?
How quickly does the system return to equilibrium?
Appendix 21A — Deriving the ECM from an ARDL Model¶
This appendix shows how ECM arises naturally from an ARDL model.
A.1 Start with ARDL(1,1)¶
Consider:
A.2 Subtract ¶
Subtract from both sides:
Since:
we obtain:
A.3 Introduce ¶
Add and subtract :
Recognize:
Therefore:
A.4 Rearranging¶
Factor the level terms:
Define:
and:
Then:
A.5 Final Interpretation¶
The ECM contains:
| Component | Interpretation |
|---|---|
| short-run effect | |
| disequilibrium term | |
| speed of adjustment |