Hi all,
I have successfully created a spatial weight matrix. I also was successful exporting the matrix as a txt file. See the result messages here:
-Spatial weights matrix created as Stata object(s): winvsq.
-Spatial weights matrix saved to .txt file, /Users/stevenarchambault/aquifer_wells_dtw/well_weight.txt, for use with other Stata packages.
However, when I try to import the matrix, using the following code:
spwmatrix import using /Users/stevenarchambault/aquifer_wells_dtw/well_weight.txt, wname(winvsq)
I get this error:
spwmatrix_CalcSPweightM(): 3301 subscript invalid
<istmt>: - function returned error
Does anybody know how I might trouble shoot this? My matrix is nearly 5000x5000.
Thanks!
I have successfully created a spatial weight matrix. I also was successful exporting the matrix as a txt file. See the result messages here:
-Spatial weights matrix created as Stata object(s): winvsq.
-Spatial weights matrix saved to .txt file, /Users/stevenarchambault/aquifer_wells_dtw/well_weight.txt, for use with other Stata packages.
However, when I try to import the matrix, using the following code:
spwmatrix import using /Users/stevenarchambault/aquifer_wells_dtw/well_weight.txt, wname(winvsq)
I get this error:
spwmatrix_CalcSPweightM(): 3301 subscript invalid
<istmt>: - function returned error
Does anybody know how I might trouble shoot this? My matrix is nearly 5000x5000.
Thanks!

Comment