Hello, everyone!
Maybe anyone could help me, I have troubles mapping local Moran I.
My code is following
Attached are data that I use: coordinates, the main file, and weight matrix.
Maybe anyone could help me, I have troubles mapping local Moran I.
Code:
The error says that xsize() must be between .5 and 20.0 invalid syntax r(198)
Code:
drop if id==47 drop if id==11 spatwmat using "ccounty.txt", name(Ws) standardize eigenval(E) spatlsa wage, w(Ws) moran graph(moran) map(countyxy.dta) x(longitude) y(latitude) *** Test for Local spatial autocorrelation (Moran's I) *** spatlsa wage, w(Ws) moran graph(moran) map(countyxy.dta) x(longitude) y(latitude)
Comment