-
Login or Register
- Log in with
tsset ORDER, daily ardl Y X1 X2 X3 X4 X5 X6 X7 X8 X9 X10 X11, trendvar(ORDER) exog(X12 X13 X14) ec lags(2,3,3,0,0,0,0,0,0,0,0,0)
Maximum number of iterations exceeded
. webuse lutkepohl2 . ardl ln_inv ln_inc ln_consump, regstore(ardl) . estimates restore ardl . local cmdline `"`e(cmdline)'"' . gettoken cmd cmdline : cmdline . newey `cmdline' lag(1) . nlcom (_b[ln_inc] / (1 - _b[L.ln_inv])) ((_b[ln_consump] + _b[L.ln_consump] + _b[L2.ln_consump]) / (1 - _b[L.ln_inv])) . ardl ln_inv ln_inc ln_consump, ec regstore(ardl_ec) . estimates restore ardl_ec . local cmdline `"`e(cmdline)'"' . gettoken cmd cmdline : cmdline . newey `cmdline' lag(1) . nlcom (_b[ln_inc] / (- _b[L.ln_inv])) (_b[ln_consump] / (- _b[L.ln_inv]))
webuse lutkepohl2 ardl ln_inv ln_inc ln_consump, regstore(ardl) estimates restore ardl local cmdline `"`e(cmdline)'"' gettoken cmd cmdline : cmdline newey `cmdline' lag(1)
ardl ln_inv ln_inc ln_consump, ec regstore(ardl_ec) estimates restore ardl_ec local cmdline `"`e(cmdline)'"' gettoken cmd cmdline : cmdline newey `cmdline' lag(1)
. webuse lutkepohl2 . ardl ln_inv ln_inc ln_consump, regstore(ardl) . estimates restore ardl . local cmdline `"`e(cmdline)'"' . gettoken cmd cmdline : cmdline . newey `cmdline' lag(1)
. webuse lutkepohl2
(Quarterly SA West German macro data, Bil DM, from Lutkepohl 1993 Table E.1)
. ardl ln_inv ln_inc, lags(2) ec1
ARDL regression
Model: ec
Sample: 1960q3 - 1982q4
Number of obs = 90
Log likelihood = 158.62362
R-squared = .13799034
Adj R-squared = .08668024
Root MSE = .04298403
------------------------------------------------------------------------------
D.ln_inv | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
ADJ |
ln_inv |
L1. | -.1515065 .0624739 -2.43 0.017 -.2757427 -.0272702
-------------+----------------------------------------------------------------
LR |
ln_inc |
L1. | .8237427 .0599558 13.74 0.000 .704514 .9429713
-------------+----------------------------------------------------------------
SR |
ln_inv |
LD. | -.1362943 .1078979 -1.26 0.210 -.350861 .0782725
|
ln_inc |
D1. | .565835 .402307 1.41 0.163 -.2341965 1.365867
LD. | .655617 .3925048 1.67 0.099 -.124922 1.436156
|
_cons | .0302675 .0666281 0.45 0.651 -.1022298 .1627648
------------------------------------------------------------------------------
. estat btest
Pesaran/Shin/Smith (2001) ARDL Bounds Test
H0: no levels relationship F = 3.083
t = -2.425
[some output omitted]
. ardl ln_inv ln_inc, lags(2)
ARDL regression
Model: level
Sample: 1960q3 - 1982q4
Number of obs = 90
Log likelihood = 158.62362
R-squared = .99160203
Adj R-squared = .99110215
Root MSE = .04298403
------------------------------------------------------------------------------
ln_inv | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
ln_inv |
L1. | .7121993 .1083168 6.58 0.000 .4967993 .9275992
L2. | .1362943 .1078979 1.26 0.210 -.0782725 .350861
|
ln_inc |
--. | .565835 .402307 1.41 0.163 -.2341965 1.365867
L1. | .2145843 .5745405 0.37 0.710 -.9279526 1.357121
L2. | -.655617 .3925048 -1.67 0.099 -1.436156 .124922
|
_cons | .0302675 .0666281 0.45 0.651 -.1022298 .1627648
------------------------------------------------------------------------------
. test (1 - L1.ln_inv - L2.ln_inv = 0) (ln_inc + L1.ln_inc + L2.ln_inc = 0)
( 1) - L.ln_inv - L2.ln_inv = -1
( 2) ln_inc + L.ln_inc + L2.ln_inc = 0
F( 2, 84) = 3.08
Prob > F = 0.0510
. ardl lr mrpos mrneg lnlipos lnlineg, ec1 fast lags(. . . . .) maxlags(6 6 6 6 6) maxcombs(15000)
ARDL regression
Model: ec
Sample: 2000m7 - 2017m2
Number of obs = 200
Log likelihood = 122.64809
R-squared = .51863377
Adj R-squared = .50108396
Root MSE = .13375199
------------------------------------------------------------------------------
D.lr | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
ADJ |
lr |
L1. | -.0506548 .0122413 -4.14 0.000 -.0747994 -.0265101
-------------+----------------------------------------------------------------
LR |
mrpos |
L1. | .3373259 .0836383 4.03 0.000 .1723581 .5022938
|
mrneg |
L1. | .3748366 .0895931 4.18 0.000 .1981234 .5515498
|
lnlipos |
L1. | -1.291288 .3078728 -4.19 0.000 -1.898535 -.6840407
|
lnlineg |
L1. | -1.295418 .3102576 -4.18 0.000 -1.907368 -.6834666
-------------+----------------------------------------------------------------
SR |
lr |
LD. | .4615063 .0709036 6.51 0.000 .3216562 .6013564
L2D. | .2238202 .0698491 3.20 0.002 .0860501 .3615902
|
mrpos |
D1. | .0170872 .0054116 3.16 0.002 .0064134 .0277609
|
mrneg |
D1. | .0189873 .0061479 3.09 0.002 .0068613 .0311133
|
lnlipos |
D1. | -.0654099 .0237949 -2.75 0.007 -.1123428 -.0184769
|
lnlineg |
D1. | -.0656191 .0240508 -2.73 0.007 -.1130568 -.0181813
|
_cons | 1.37524 .4237449 3.25 0.001 .5394466 2.211033
------------------------------------------------------------------------------
. estat btest
Pesaran/Shin/Smith (2001) ARDL Bounds Test
H0: no levels relationship F = 3.620
t = -4.138
. test L1.lr = L1.mrpos = L1.mrneg = L1.lnlipos = L1.lnlineg = 0
( 1) [ADJ]L.lr - [LR]L.mrpos = 0
( 2) [ADJ]L.lr - [LR]L.mrneg = 0
( 3) [ADJ]L.lr - [LR]L.lnlipos = 0
( 4) [ADJ]L.lr - [LR]L.lnlineg = 0
( 5) [ADJ]L.lr = 0
F( 5, 192) = 30.74
Prob > F = 0.0000
mvtest normality variable
Leave a comment: