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,但我的权重矩阵已经标准化