Ardl Model
Ardl Model
Stata Conference
Chicago, July 29, 2016
S. Kripfganz and D. C. Schneider ardl: Stata module to estimate autoregressive distributed lag models 1/20
Introduction ARDL model Bounds testing Stata syntax Example Conclusion
1
Another commonly used abbreviation is ADL.
S. Kripfganz and D. C. Schneider ardl: Stata module to estimate autoregressive distributed lag models 2/20
Introduction ARDL model Bounds testing Stata syntax Example Conclusion
3.50
3.00
2.50
2.00
1.50
1.00
1975 1980 1985 1990 1995
2
www.statalist.org/forums/forum/general-stata-discussion/general/95329-ardl-in-stata
S. Kripfganz and D. C. Schneider ardl: Stata module to estimate autoregressive distributed lag models 4/20
Introduction ARDL model Bounds testing Stata syntax Example Conclusion
S. Kripfganz and D. C. Schneider ardl: Stata module to estimate autoregressive distributed lag models 6/20
Introduction ARDL model Bounds testing Stata syntax Example Conclusion
S. Kripfganz and D. C. Schneider ardl: Stata module to estimate autoregressive distributed lag models 7/20
Introduction ARDL model Bounds testing Stata syntax Example Conclusion
ARDL model
ARDL(p, q, . . . , q) model:
p
X q
X
yt = c 0 + c 1 t + φi yt−i + β ′i xt−i + ut ,
i=1 i=0
EC representation
S. Kripfganz and D. C. Schneider ardl: Stata module to estimate autoregressive distributed lag models 9/20
Introduction ARDL model Bounds testing Stata syntax Example Conclusion
S. Kripfganz and D. C. Schneider ardl: Stata module to estimate autoregressive distributed lag models 10/20
Introduction ARDL model Bounds testing Stata syntax Example Conclusion
Syntax:
ardl depvar [indepvars] [if] [in] [, options]
Selected options:
lags(numlist): set lag lengths,
maxlags(numlist): set maximum lag lengths,
ec: display output in error-correction form,
ec1: like option ec, but level variables in t − 1 instead of t,
aic: use AIC as information criterion instead of BIC,
exog(varlist): exogenous variables in the regression,
noconstant: suppress constant term,
trendvar(varname): specify trend variable,
restricted: restrict constant or trend term.
Postestimation commands:
estat btest: bounds test,
predict: fitted values, residuals, and error-correction term,
estat ic, nlcom, test, . . .
S. Kripfganz and D. C. Schneider ardl: Stata module to estimate autoregressive distributed lag models 12/20
Introduction ARDL model Bounds testing Stata syntax Example Conclusion
Example
Pesaran, Shin, and Smith (2001) estimate a UK earnings
equation. We focus on the model with unrestricted intercept
and no time trend (case 3).
. describe w prod ur wedge union d*
------------------------------------------------------------------------------
w | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
w |
L1. | .3346901 .0998041 3.35 0.001 .1359548 .5334255
L2. | .0810293 .1087734 0.74 0.459 -.1355661 .2976248
L3. | -.198378 .1011595 -1.96 0.053 -.3998123 .0030563
L4. | .4030251 .0989762 4.07 0.000 .2059382 .6001119
L5. | -.0693079 .0949025 -0.73 0.467 -.2582829 .1196671
L6. | .2017837 .0800474 2.52 0.014 .042389 .3611783
|
prod | .2642678 .0587165 4.50 0.000 .1473483 .3811872
|
ur |
--. | .0038742 .008252 0.47 0.640 -.0125575 .020306
L1. | -.01077 .0120686 -0.89 0.375 -.0348018 .0132617
L2. | -.0116548 .0145987 -0.80 0.427 -.0407246 .0174151
L3. | .0212508 .0153697 1.38 0.171 -.0093542 .0518557
L4. | .0028227 .0151775 0.19 0.853 -.0273995 .033045
L5. | -.0304991 .0109952 -2.77 0.007 -.0523934 -.0086049
(Continued on next page)
S. Kripfganz and D. C. Schneider ardl: Stata module to estimate autoregressive distributed lag models 14/20
Introduction ARDL model Bounds testing Stata syntax Example Conclusion
|
wedge|
--.| -.3059897 .051594 -5.93 0.000 -.4087265 -.2032528
L1.| .032749 .060641 0.54 0.591 -.0880027 .1535007
L2.| -.0494003 .0626044 -0.79 0.432 -.1740615 .0752609
L3.| -.0963634 .0611009 -1.58 0.119 -.2180308 .025304
L4.| .188605 .0558292 3.38 0.001 .077435 .2997751
|
union |
--. | -.955714 .8138684 -1.17 0.244 -2.576333 .664905
L1. | -1.467002 1.350003 -1.09 0.281 -4.155202 1.221197
L2. | 2.527384 1.401008 1.80 0.075 -.2623798 5.317149
L3. | .311388 1.349422 0.23 0.818 -2.375655 2.998431
L4. | -2.241151 1.106961 -2.02 0.046 -4.445392 -.0369088
L5. | 2.185799 .6535696 3.34 0.001 .8843756 3.487222
|
d7475 | .0301088 .006154 4.89 0.000 .0178547 .042363
d7579 | .0169541 .0062481 2.71 0.008 .0045126 .0293956
_cons | .6604224 .1425601 4.63 0.000 .376549 .9442958
------------------------------------------------------------------------------
e(lags)[1,5]
w prod ur wedge union
r1 6 0 5 4 5
S. Kripfganz and D. C. Schneider ardl: Stata module to estimate autoregressive distributed lag models 15/20
Introduction ARDL model Bounds testing Stata syntax Example Conclusion
------------------------------------------------------------------------------
D.w | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
ADJ |
w |
L1. | -.2471578 .0521006 -4.74 0.000 -.3509034 -.1434121
-------------+----------------------------------------------------------------
LR |
prod |
L1. | 1.069227 .045147 23.68 0.000 .979328 1.159126
|
ur |
L1. | -.1010536 .0303893 -3.33 0.001 -.1615664 -.0405409
|
wedge |
L1. | -.9321955 .2432139 -3.83 0.000 -1.416496 -.4478946
|
union |
L1. | 1.45941 .2847566 5.13 0.000 .892387 2.026433
-------------+----------------------------------------------------------------
SR |
w |
LD. | -.4181521 .0970869 -4.31 0.000 -.6114769 -.2248273
L2D. | -.3371228 .1076478 -3.13 0.002 -.551477 -.1227686
L3D. | -.5355008 .1024435 -5.23 0.000 -.7394918 -.3315098
L4D. | -.1324758 .0889041 -1.49 0.140 -.3095064 .0445549
L5D. | -.2017837 .0800474 -2.52 0.014 -.3611783 -.042389
(Continued on next page)
S. Kripfganz and D. C. Schneider ardl: Stata module to estimate autoregressive distributed lag models 16/20
Introduction ARDL model Bounds testing Stata syntax Example Conclusion
|
prod |
D1. | .2642678 .0587165 4.50 0.000 .1473483 .3811872
|
ur |
D1. | .0038742 .008252 0.47 0.640 -.0125575 .020306
LD. | .0180804 .0112588 1.61 0.112 -.0043387 .0404995
L2D. | .0064256 .0106366 0.60 0.548 -.0147545 .0276058
L3D. | .0276764 .01116 2.48 0.015 .005454 .0498988
L4D. | .0304991 .0109952 2.77 0.007 .0086049 .0523934
|
wedge |
D1. | -.3059897 .051594 -5.93 0.000 -.4087265 -.2032528
LD. | -.0428413 .0584202 -0.73 0.466 -.1591708 .0734882
L2D. | -.0922416 .0566866 -1.63 0.108 -.205119 .0206358
L3D. | -.188605 .0558292 -3.38 0.001 -.2997751 -.077435
|
union |
D1. | -.955714 .8138684 -1.17 0.244 -2.576333 .664905
LD. | -2.783421 .8141048 -3.42 0.001 -4.404511 -1.162331
L2D. | -.2560365 .8307344 -0.31 0.759 -1.91024 1.398167
L3D. | .0553516 .743211 0.07 0.941 -1.424571 1.535274
L4D. | -2.185799 .6535696 -3.34 0.001 -3.487222 -.8843756
|
d7475 | .0301088 .006154 4.89 0.000 .0178547 .042363
d7579 | .0169541 .0062481 2.71 0.008 .0045126 .0293956
_cons | .6604224 .1425601 4.63 0.000 .376549 .9442958
------------------------------------------------------------------------------
S. Kripfganz and D. C. Schneider ardl: Stata module to estimate autoregressive distributed lag models 17/20
Introduction ARDL model Bounds testing Stata syntax Example Conclusion
S. Kripfganz and D. C. Schneider ardl: Stata module to estimate autoregressive distributed lag models 19/20
Introduction ARDL model Bounds testing Stata syntax Example Conclusion
References
Banerjee, A., J. J. Dolado, D. F. Hendry, and G. W. Smith (1986). Exploring equilibrium relationships in
econometrics through static models: some Monte Carlo evidence. Oxford Bulletin of Economics and
Statistics 48(3): 253–277.
Engle, R. F., and C. W. J. Granger (1987). Co-integration and error correction: representation, estimation,
and testing. Econometrica 55(2): 251–276.
Hassler, U., and J. Wolters (2006). Autoregressive distributed lag models and cointegration. Allgemeines
Statistisches Archiv 90(1): 59–74.
Narayan, P. K (2005). The saving and investment nexus for China: evidence from cointegration tests.
Applied Economics 37(17): 1979–1990.
Pesaran, M. H., and Y. Shin (1998). An autoregressive distributed-lag modelling approach to cointegration
analysis. In Econometrics and Economic Theory in the 20th Century. The Ragnar Frisch Centennial
Symposium, ed. S. Strøm, chap. 11, 371–413. Cambridge: Cambridge University Press.
Pesaran, M. H., Y. Shin, and R. Smith (2001). Bounds testing approaches to the analysis of level
relationships. Journal of Applied Econometrics 16(3): 289–326.
Phillips, P. C. B, and B. E. Hansen (1990). Statistical inference in instrumental variables regression with
I(1) processes. Review of Economic Studies 57(1): 99–125.
Schaffer, M. E. (2010). egranger: Stata module to perform Engle-Granger cointegration tests and 2-step
ECM estimation. Statistical Software Components S457210, Boston College.
S. Kripfganz and D. C. Schneider ardl: Stata module to estimate autoregressive distributed lag models 20/20