最近学习空间计量,利用xsmle命令进行豪斯曼检验,一直出现3200错误,请大佬指点!
use "F:\空间计量\常规顺序.dta",clear
xtset id year
spatwmat using JWxt,name(W) standardize
xsmle Y X1 X2 lnX3 lnX4 X5 X6 lnX7,model(sdm) wmat(W) hausman nolog
xsmle Y X1 X2 lnX3 lnX4 X5 X6 lnX7,model(sdm) wmat(W) hausman nolog
Warning: All regressors will be spatially lagged
*: 3200 conformability error
_xsmle_est(): - function returned error
<istmt>: - function returned error
r(3200);
end of do-file
r(3200);