Hi folks,
I wonder could someone shed light on how to construct a LISA cluster map with data generated from STATA?
How would I go about importing say the results for oilp and mapping them onto a shapfile on qgis.
Apologies if I have the terminology wrong, as I'm new to this method of analysis. Any links or comments welcome.
Best,
Sean
I wonder could someone shed light on how to construct a LISA cluster map with data generated from STATA?
Code:
Sum lat and long summarize latitude longitude display sqrt((60.47202-(-40.90056))^2+(174.886-(-106.3468))^2) spatwmat, name(countryweights) xcoord(latitude) ycoord(longitude) band(0 299) spatgsa rgdpl ki oilp oilc dist reserves exports pr cl, weights(countryweights) moran
weights matrix
--------------------------------------------------------------
Name: countryweights
Type: Distance-based (inverse distance)
Distance band: 0.0 < d <= 299.0
Row-standardized: No
--------------------------------------------------------------
Moran's I
--------------------------------------------------------------
Variables | I E(I) sd(I) z p-value*
--------------------+-----------------------------------------
rgdpl | 0.132 -0.015 0.035 4.215 0.000
ki | -0.045 -0.015 0.036 -0.816 0.207
oilp | 0.170 -0.015 0.034 5.443 0.000
oilc | 0.182 -0.015 0.034 5.888 0.000
dist | 0.278 -0.015 0.030 9.939 0.000
reserves | 0.086 -0.015 0.025 4.061 0.000
exports | 0.271 -0.015 0.026 10.846 0.000
pr | 0.216 -0.015 0.036 6.387 0.000
cl | 0.214 -0.015 0.036 6.347 0.000
--------------------------------------------------------------
*1-tail test
--------------------------------------------------------------
Name: countryweights
Type: Distance-based (inverse distance)
Distance band: 0.0 < d <= 299.0
Row-standardized: No
--------------------------------------------------------------
Moran's I
--------------------------------------------------------------
Variables | I E(I) sd(I) z p-value*
--------------------+-----------------------------------------
rgdpl | 0.132 -0.015 0.035 4.215 0.000
ki | -0.045 -0.015 0.036 -0.816 0.207
oilp | 0.170 -0.015 0.034 5.443 0.000
oilc | 0.182 -0.015 0.034 5.888 0.000
dist | 0.278 -0.015 0.030 9.939 0.000
reserves | 0.086 -0.015 0.025 4.061 0.000
exports | 0.271 -0.015 0.026 10.846 0.000
pr | 0.216 -0.015 0.036 6.387 0.000
cl | 0.214 -0.015 0.036 6.347 0.000
--------------------------------------------------------------
*1-tail test
Apologies if I have the terminology wrong, as I'm new to this method of analysis. Any links or comments welcome.
Best,
Sean
Comment