hz1124 发表于 2019-7-31 17:56 
stata里的qui 是quietly 表示不显示输出结果。
请把 命令中的 qui 去掉后再试!
是我粗心了,重新做了,还是有个疑问,希望大神在帮我看一下,发现re回归结果比较好,但是fe的Spatial lambda 不显著。检验结果为正又是怎么看呢
Ho: difference in coeffs not systematic chi2(10) = 30.72 Prob>=chi2 = 0.0007
过程如下:
. xsmle chzs lncfsp hlw lnczsr lnfmzl lncsfj lnwztzze lnjyzc lnkxjszc lnzhong, emat(ww1) model(sem) nolog re
SEM with random-effects Number of obs = 310
Group variable: province Number of groups = 31
Time variable: year Panel length = 10
R-sq: within = 0.1297
between = 0.8080
overall = 0.7876
Log-likelihood = -966.2490
------------------------------------------------------------------------------
chzs | Coef. Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
Main |
lncfsp | -14.86388 3.462513 -4.29 0.000 -21.65028 -8.077478
hlw | 1.431621 .6022894 2.38 0.017 .2511552 2.612086
lnczsr | 13.93069 2.997452 4.65 0.000 8.055796 19.80559
lnfmzl | 2.745353 1.201687 2.28 0.022 .3900893 5.100618
lncsfj | -4.204073 3.009392 -1.40 0.162 -10.10237 1.694226
lnwztzze | 3.394447 1.066807 3.18 0.001 1.303544 5.48535
lnjyzc | -11.65596 3.584285 -3.25 0.001 -18.68103 -4.63089
lnkxjszc | 3.937528 1.556034 2.53 0.011 .8877578 6.987298
lnzhong | 18.25933 3.544827 5.15 0.000 11.31159 25.20706
_cons | -21.01772 35.81547 -0.59 0.557 -91.21475 49.17931
-------------+----------------------------------------------------------------
Spatial |
lambda | 3556.651 1023.542 3.47 0.001 1550.546 5562.755
-------------+----------------------------------------------------------------
Variance |
ln_phi | 2.323309 .3534609 6.57 0.000 1.630539 3.01608
sigma2_e | 18.44765 1.613231 11.44 0.000 15.28577 21.60952
------------------------------------------------------------------------------
. xsmle chzs lncfsp hlw lnczsr lnfmzl lncsfj lnwztzze lnjyzc lnkxjszc lnzhong, emat(ww1) model(sem) nolog fe hausman
... estimating random-effects model to perform Hausman test
SEM with spatial fixed-effects Number of obs = 310
Group variable: province Number of groups = 31
Time variable: year Panel length = 10
R-sq: within = 0.2010
between = 0.2074
overall = 0.1879
Mean of fixed-effects = 237.5218
Log-likelihood = -865.9763
------------------------------------------------------------------------------
chzs | Coef. Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
Main |
lncfsp | -19.37703 3.355049 -5.78 0.000 -25.95281 -12.80126
hlw | .5255573 .5626143 0.93 0.350 -.5771465 1.628261
lnczsr | 12.18053 2.799992 4.35 0.000 6.692651 17.66842
lnfmzl | 2.149375 1.104845 1.95 0.052 -.0160812 4.314831
lncsfj | -4.960823 2.675797 -1.85 0.064 -10.20529 .2836429
lnwztzze | 2.75794 .997913 2.76 0.006 .8020664 4.713813
lnjyzc | -2.023616 3.28159 -0.62 0.537 -8.455414 4.408182
lnkxjszc | 3.235641 1.432538 2.26 0.024 .4279181 6.043364
lnzhong | -12.96071 7.259968 -1.79 0.074 -27.18999 1.268562
-------------+----------------------------------------------------------------
Spatial |
lambda | 1734.379 1072.23 1.62 0.106 -367.1528 3835.911
-------------+----------------------------------------------------------------
Variance |
sigma2_e | 15.56187 1.252785 12.42 0.000 13.10646 18.01728
------------------------------------------------------------------------------
Ho: difference in coeffs not systematic chi2(10) = 30.72 Prob>=chi2 = 0.0007
------------------------------------------------------------------------------