蓝色 发表于 2018-3-5 14:17
那你到底有没有Wx 这个模型阿
我前面是用xsmle做的杜宾模型,我把命令写下来,麻烦您看一下是什么问题
spatwmat using m.dta,name(W) standardize
xsmle GDP hincome inout labor expenditure capital human, wmat(W) model(sdm) re
xsmle GDP hincome inout labor expenditure capital human, wmat(w) model(sdm) fe
test [Wx] hincome = [Wx] inout= [Wx] labor = [Wx] expenditure= [Wx] capital= [Wx] human=0
附上随机效应的结果
GDP Coef. Std. Err. z P>z [95% Conf. Interval]
Main
hincome .0183951 .0078919 2.33 0.020 .0029273 .033863
inout -.0040668 .009117 -0.45 0.656 -.0219358 .0138022
labor .1565157 .0222043 7.05 0.000 .112996 .2000354
expenditure -.0536517 .0332082 -1.62 0.106 -.1187385 .0114351
capital .1759209 .0152909 11.50 0.000 .1459513 .2058905
human .0650387 .0338744 1.92 0.055 -.0013539 .1314314
Wx
hincome .0024671 .0176877 0.14 0.889 -.0322001 .0371343
inout .0125837 .0152463 0.83 0.409 -.0172986 .042466
labor .1529046 .0404222 3.78 0.000 .0736785 .2321306
expenditure -.0316547 .0484192 -0.65 0.513 -.1265546 .0632451
capital .0448294 .028003 1.60 0.109 -.0100554 .0997142
human -.2927533 .0647076 -4.52 0.000 -.4195778 -.1659288
Spatial
rho .3306814 .0684194 4.83 0.000 .1965818 .4647809
Variance
sigma2_e .0001418 .0000121 11.69 0.000 .000118 .0001655