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
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…
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…
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…
how do we interpret the results from a Nonparametric series regressionI am analyzing a dataset (n=38, total 4 groups (3 groups of 10 each and 8 controls)) on occurance of…
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…
Subscribe to:
Post Comments (Atom)
0 Response to spmat import data
Post a Comment