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
merging Compustat Fundamentals annual data and daily security dataDear Statalist members, For my thesis, I need to merge daily security data to Fundamentals annual d…
Matching on Assets and FF 48 Industry GroupsDear Statalist users, I'm am trying to match a sample within Stata, not yet sucessfully. I have a s…
Order coefficients in bycoefs coefplotHello, I have created this coefplot with the "bycoefs" option. I am happy with it, but I would like…
Rename variables with labels when labels are multiple words?Background/big problem I have about 60 large data sets, each a different round of a repeated survey…
variable _mi_miss not foundI am attempting to import imputed data into a data set using the command, mi import wide. It results…
Subscribe to:
Post Comments (Atom)
0 Response to spmat import data
Post a Comment