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?
Related Posts with spmat import data
Comparison of cross sectional entities in panel dataHello I am new to stata and stuck at one point. I am writing a paper on entrepreneurship wherein i h…
linking parents and children in the household dataHello, I want to link parents and their children by putting the proper value (id) in variables (fath…
import file excel only date to stringHello please how can i import only date variables as character from an excel file Thanks …
how to calculate the formula ,like Euclidean distancehello, everyone! Is that anybody know how to calculate the formula,data as follow, many thanks!the f…
simulation not working (running only once)Hi, Stata people. I am really sorry to post this again. I am assigning random treatment and then wan…
Subscribe to:
Post Comments (Atom)
0 Response to spmat import data
Post a Comment