Hi all,
I'm using spatlsa to calculate local spatial autocorrelation measures, which gives me a value for every observation in my cross-sectional panel. I would now like to store them in a .dta-file to use them for mapping. Do you now how to do this? I've tried:
and
This resulted in the error codes displayed. The last one is especially weird, because when I run return list, I get:
Alternatively, spatlsa also has a built-in mapping function. But this just produces a blank graph when I use it with the map() option.
So if anybody has an idea how to solve either issue, I would be very grateful.
All the best,
Tim Umbach
I'm using spatlsa to calculate local spatial autocorrelation measures, which gives me a value for every observation in my cross-sectional panel. I would now like to store them in a .dta-file to use them for mapping. Do you now how to do this? I've tried:
Code:
return matrix m1= r(Moran) non r-class program may not set r() r(151);
Code:
. matrix mor1 =get(r(Moran)) matrix r(Moran) not found r(111);
Code:
. return list
matrices:
r(Moran) : 402 x 5
So if anybody has an idea how to solve either issue, I would be very grateful.
All the best,
Tim Umbach

Comment