|
xthreg lninno lnofdi lnfdi lnimport lnlaw, rx(lnrdk) qx(lnofdi) thnum(1) grid(100) trim(0.05) bs(300)
Estimating the threshold parameters: 1st ...... Done
Boostrap for single threshold
.................................................. + 50
.................................................. + 100
.................................................. + 150
.................................................. + 200
.................................................. + 250
.................................................. + 300
Threshold estimator (level = 95):
-----------------------------------------------------
model | Threshold Lower Upper
-----------+-----------------------------------------
Th-1 | 3.2309 3.0561 3.5301
-----------------------------------------------------
Threshold effect test (bootstrap = 300):
-------------------------------------------------------------------------------
Threshold | RSS MSE Fstat Prob Crit10 Crit5 Crit1
-----------+-------------------------------------------------------------------
Single | 12.6651 0.0873 22.77 0.0233 14.0625 16.8218 24.6505
-------------------------------------------------------------------------------
Fixed-effects (within) regression Number of obs = 150
Group variable: region Number of groups = 30
R-sq: within = 0.7440 Obs per group: min = 5
between = 0.7594 avg = 5.0
overall = 0.7261 max = 5
F(6,114) = 55.21
corr(u_i, Xb) = -0.8272 Prob > F = 0.0000
------------------------------------------------------------------------------
lninno | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
lnofdi | -.1406805 .055591 -2.53 0.013 -.2508059 -.0305551
lnfdi | .1416356 .1146057 1.24 0.219 -.0853975 .3686687
lnimport | -.2707573 .1594727 -1.70 0.092 -.5866716 .045157
lnlaw | 1.454586 .6013024 2.42 0.017 .2634109 2.645762
|
_cat#c.lnrdk |
0 | 1.359866 .3818559 3.56 0.001 .6034124 2.116319
1 | 1.427342 .3855023 3.70 0.000 .6636645 2.191019
|
_cons | -30.8031 2.941327 -10.47 0.000 -36.62985 -24.97635
-------------+----------------------------------------------------------------
sigma_u | 1.1333707
sigma_e | .3333124
rho | .9203962 (fraction of variance due to u_i)
------------------------------------------------------------------------------
F test that all u_i=0: F(29, 114) = 15.27 Prob > F = 0.0000
. xthreg lninno lnofdi lnfdi lnimport lnlaw, rx(lnrdk) qx(lnofdi) thnum(2) grid(100) trim(0.05 0.05) bs(300 300)
Estimating the threshold parameters: 1st ...... 2nd ...... Done
Boostrap for single threshold
.................................................. + 50
.................................................. + 100
.................................................. + 150
.................................................. + 200
.................................................. + 250
.................................................. + 300
Boostrap for double threshold model:
.................................................. + 50
.................................................. + 100
.................................................. + 150
.................................................. + 200
.................................................. + 250
.................................................. + 300
Threshold estimator (level = 95):
-----------------------------------------------------
model | Threshold Lower Upper
-----------+-----------------------------------------
Th-1 | 3.2309 3.0561 3.5301
Th-21 | 3.2309 3.0561 3.5301
Th-22 | 5.5177 5.4967 5.5530
-----------------------------------------------------
Threshold effect test (bootstrap = 300 300):
-------------------------------------------------------------------------------
Threshold | RSS MSE Fstat Prob Crit10 Crit5 Crit1
-----------+-------------------------------------------------------------------
Single | 12.6651 0.0873 22.77 0.0133 13.4831 17.2794 23.4312
Double | 11.8439 0.0817 10.05 0.1567 11.4665 14.8246 19.2111
-------------------------------------------------------------------------------
Fixed-effects (within) regression Number of obs = 150
Group variable: region Number of groups = 30
R-sq: within = 0.7549 Obs per group: min = 5
between = 0.7592 avg = 5.0
overall = 0.7268 max = 5
F(7,113) = 49.71
corr(u_i, Xb) = -0.8324 Prob > F = 0.0000
------------------------------------------------------------------------------
lninno | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
lnofdi | -.204005 .0614998 -3.32 0.001 -.3258473 -.0821628
lnfdi | .1120693 .1134016 0.99 0.325 -.1125998 .3367384
lnimport | -.3020981 .1573491 -1.92 0.057 -.613835 .0096388
lnlaw | 1.25019 .5979375 2.09 0.039 .0655685 2.434812
|
_cat#c.lnrdk |
0 | 1.472659 .3786372 3.89 0.000 .7225109 2.222808
1 | 1.549481 .3827601 4.05 0.000 .7911646 2.307798
2 | 1.566729 .3839299 4.08 0.000 .8060942 2.327363
|
_cons | -29.97367 2.914254 -10.29 0.000 -35.74733 -24.2
-------------+----------------------------------------------------------------
sigma_u | 1.1527623
sigma_e | .32757397
rho | .9252839 (fraction of variance due to u_i)
------------------------------------------------------------------------------
F test that all u_i=0: F(29, 113) = 15.58 Prob > F = 0.0000
_matplot e(LR21), columns(1 2) yline(7.35, lpattern(dash)) connect(direct)
老师,这是我的代码,单门槛程序跑完画LR图时系统提示matrix should have at least 2 columns,只有在双门槛检验之后才能作图,但是图很奇怪,请问老师这是什么问题,谢谢老师!
|