天下足球1125 发表于 2018-3-19 18:17 
你的空间权重矩阵没有标准化。可以通过命令spatwmat(通过下载非官方Stata命令“net install sg162.pkg”来 ...
clear all
spatwmat using 剔除城市后邻接矩阵,name(A) standardize
xtset id year
xsmle y x1 x2 x3 x4 x5,re model(sdm) wmat(A) nolog noeffects type(ind)
est store sdm
xsmle y x1 x2 x3 x4 x5,fe model(sar) wmat(A) nolog noeffects type(ind)
est store sar
xsmle y x1 x2 x3 x4 x5,re model(sem) emat(A) nolog noeffects type(ind)
est store sem
求助,前两个xsmle命令都可以运行,到sem就报错显示initial values not feasible,但我的权重矩阵已经标准化