求助:自己在测算经济权重矩阵的时候,显示存在某行加总为0,无法实现标准化的情况,该如何解决,如何调整。
感谢大家的帮助!!
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.
- Spatial weights matrix saved to .txt file, F:\Stata15.0/wecon1.txt, for use with other Sta
> ta packages.