use "G:\Stata data\swm.dta", clear //这个是权重矩阵
spatwmat using "G:\Stata data\swm.dta", name(W)
matrix list W
use "G:\Stata data\data-graph.dta"
spatgsa bir, weights(W) moran geary go twotail
我已购买你的Word和数据包,但是遇到了问题。运行第一句use "D:\stata11\ado\personal\W.dta", clear //W为权重文件,注意修改文件路径
出现了这个是怎么回事?. use "D:\stata11\ado\personal\W.dta", clear //W为权重文件,注意修改文件
> 路径
file D:\stata11\ado\personal\W.dta from more recent version of Stata;
type update query to see if an update to Stata is available and
look at http://www.stata.com/ to see if a new version of Stata is
available.