楼主您好,请问你在用Stata构建经济距离矩阵时,有遇到无法标准化的情况不,如下
. spwmatrix gecon latitude longitude, wname(wecon1) wtype(econ) econvar(mr1addvalue) row xpor
> t(wecon1,txt)
N.B.: Elements of one row of the weights matrix sum up to zero; weights matrix was not row-st
> andardized
This row is:
3
You might want to rethink your weights structure criteria.
An alternative is to specify the noisland option to generate the spatial weights without the
> island observation:
Economic distance spatial weights matrix (30 x 30) calculated successfully and the following
> action(s) taken:
- Spatial weights matrix created as Stata object(s): wecon1.
|