Hi @Babacar Mbengue, have you found out how to apply the Cusum after the ARDL estimation? I'm in need of such a thing now.
Thanks,
Thanks,
. webuse lutkepohl2,clear (Quarterly SA West German macro data, Bil DM, from Lutkepohl 1993 Table E.1) . ardl ln_consump ln_inc ln_inv, lags(1 0 4) ec1 // (1, 0, 4) ARDL(1,0,4) regression Sample: 1961q1 - 1982q4 Number of obs = 88 R-squared = 0.5385 Adj R-squared = 0.4981 Log likelihood = 306.72241 Root MSE = 0.0078 ------------------------------------------------------------------------------ D.ln_consump | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- ADJ | ln_consump | L1. | -.3335022 .043545 -7.66 0.000 -.4201595 -.246845 -------------+---------------------------------------------------------------- LR | ln_inc | L1. | 1.00357 .032044 31.32 0.000 .9398006 1.06734 | ln_inv | L1. | -.0417399 .0373449 -1.12 0.267 -.1160586 .0325788 -------------+---------------------------------------------------------------- SR | ln_inc | D1. | .3346929 .044616 7.50 0.000 .2459042 .4234815 | ln_inv | D1. | .0556284 .0196031 2.84 0.006 .0166169 .09464 LD. | .0167529 .0200739 0.83 0.406 -.0231955 .0567012 L2D. | .0620601 .0198688 3.12 0.002 .0225198 .1016003 L3D. | .03124 .0194042 1.61 0.111 -.0073756 .0698555 | _cons | .037445 .0118549 3.16 0.002 .0138529 .061037 ------------------------------------------------------------------------------ . . // OLS estimator . reg d.ln_consump l.ln_consump l.ln_inc l.ln_inv d.ln_inc d.ln_inv l(1/3).d.ln_inv Source | SS df MS Number of obs = 88 -------------+---------------------------------- F(8, 79) = 11.68 Model | .005677968 8 .000709746 Prob > F = 0.0000 Residual | .004801841 79 .000060783 R-squared = 0.5418 -------------+---------------------------------- Adj R-squared = 0.4954 Total | .010479809 87 .000120458 Root MSE = .0078 ------------------------------------------------------------------------------ D.ln_consump | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- ln_consump | L1. | -.3064987 .0563429 -5.44 0.000 -.4186463 -.194351 | ln_inc | L1. | .3078729 .0570286 5.40 0.000 .1943604 .4213855 | ln_inv | L1. | -.0130074 .0125833 -1.03 0.304 -.0380537 .012039 | ln_inc | D1. | .382558 .0773686 4.94 0.000 .2285596 .5365565 | ln_inv | D1. | .0542619 .0197379 2.75 0.007 .0149746 .0935491 LD. | .0116764 .0212116 0.55 0.584 -.0305443 .0538972 L2D. | .0586942 .0204104 2.88 0.005 .0180683 .09932 L3D. | .0295406 .0195846 1.51 0.135 -.0094415 .0685227 | _cons | .0337566 .0128433 2.63 0.010 .0081927 .0593205 ------------------------------------------------------------------------------ . end of do-file
ardl ln_consump ln_inc ln_inv, lags(1 0 4) ec1 constraint 1 L.ln_inc = D.ln_inc cnsreg D.ln_consump L.ln_consump L.ln_inc L.ln_inv D.ln_inc L(0/3)D.ln_inv if e(sample), constraints(1)
nlcom (- _b[L.ln_inc] / _b[L.ln_consump]) (- _b[L.ln_inv] / _b[L.ln_consump])
ardl ln_consump ln_inc ln_inv, lags(1 0 4) ec reg D.ln_consump L.ln_consump ln_inc ln_inv L(0/3)D.ln_inv if e(sample) nlcom (- _b[ln_inc] / _b[L.ln_consump]) (- _b[ln_inv] / _b[L.ln_consump])
ardl ln_consump ln_inc ln_inv, lags(1 0 4) ec1 constraint 1 L.ln_inc = D.ln_inc cnsreg D.ln_consump L.ln_consump L.ln_inc L.ln_inv D.ln_inc L(0/3)D.ln_inv if e(sample), constraints(1)
nlcom (- _b[L.ln_inc] / _b[L.ln_consump]) (- _b[L.ln_inv] / _b[L.ln_consump])
ardl ln_consump ln_inc ln_inv, lags(1 0 4) ec reg D.ln_consump L.ln_consump ln_inc ln_inv L(0/3)D.ln_inv if e(sample) nlcom (- _b[ln_inc] / _b[L.ln_consump]) (- _b[ln_inv] / _b[L.ln_consump])
ardl ln_consump ln_inc ln_inv, lags(1 0 4)
ardl ln_consump ln_inc ln_inv, lags(1 0 4) ec1
ardl ln_consump ln_inc ln_inv, lags(1 0 4) ec
ardl ln_consump ln_inc ln_inv, lags(1 1 4) ardl ln_consump ln_inc ln_inv, lags(1 1 4) ec1 ardl ln_consump ln_inc ln_inv, lags(1 1 4) ec
ardl ln_consump ln_inc ln_inv, lags(1 0 4)
ardl ln_consump ln_inc ln_inv, lags(1 0 4) ec1
ardl ln_consump ln_inc ln_inv, lags(1 0 4) ec
ardl ln_consump ln_inc ln_inv, lags(1 1 4) ardl ln_consump ln_inc ln_inv, lags(1 1 4) ec1 ardl ln_consump ln_inc ln_inv, lags(1 1 4) ec
Comment