大家好,我今天想用spwmatrix 命令创建经济距离权重矩阵,但是一直无法运行,是为什么呀?卸载了重新装命令也还是不行,下面是我的代码和为我的错误t提示,请各位大佬求助,孩子弄了一下午了代码:
cd "C:\Users\****"
import excel using 权重数据.xls,first clear
save 权重数据.dta,replace
clear
use 权重数据.dta,clear
//经济权重命令
spwmatrix gecon x y, wn(jingji) wtype(invecon) cart econvar(gdp) rowstand
mat2txt,matrix(jingji) saving(jingji)replace
dataout using jingji.txt,word excel
错误:
. spwmatrix gecon x y, wn(jingji) wtype(invecon) cart econvar(gdp)
> rowstand
<istmt>: 3499 spwmatrix_CalcSPweightM() not fou
> nd
r(3499);
end of do-file
r(3499);


雷达卡





京公网安备 11010802022788号







