Dear all,
i am unable to import data as a spatial weight matrix into Stata using spmat.
The data are stored in a .csv document, avilable under this link and have the following form:
272
1 0 0.0366682345906637 . . . 0
2 0.0343898856542539 0 . . . 0
.
.
.
272 0 0 ... 0
(272x272)
The commands i used is
cd "C:\Users\hulenyi\Disk Google\Dokumenty\ISA\natura2000\calculations"
spmat import dm1 using dm1.txt, replace
The error i get is: Incorrect number of columns in row 1 of spatial-weighting matrix
What is the problem here?
0 Response to spmat import data
Post a Comment