悬赏 20 个论坛币 已解决
stata运行命令:
. spwmatrix gecon latitude longitude, wname(wecon) wtype(econ) econvar(pergdp) rowstand xport(wecon,txt)
Economic distance spatial weights matrix (31x 31) calculated successfully and the following action(s) taken:
- Spatial weights matrix created as Stata object(s): wecon
这时应该已经生成了权重矩阵wecon,可是再运行下面命令却提示:
. spmat import wedg using wecon.txt
. spmat save wecon using wecon.spmat
cannot open wecon
r(498);