For a statistical method to be explicitly spatial, it needs to contain some representation of the geography, or spatial context
One of the most common ways is through Spatial Weights Matrices
Core element in several spatial analysis techniques:
wii = 0 by convention
…What is a neighbor???
A neighbor is “somebody” who is:
See Anselin & Rey (2014) for an in-detail discussion and more types of W.
Sharing boundaries to any extent
Weight is (inversely) proportional to distance between observations
Weights are assigned based on discretionary rules loosely related to geography
For example:
No neighbors receive zero weight: wij = 0
Neighbors, it depends, wij can be:
Some proportion (0 < wij < 1, continuous) which can be a function of:
Should be based on and reflect the underlying channels of interaction for the question at hand.
Examples:
In some applications (e.g. spatial autocorrelation) it is common to standardize W
The most widely used standardization is row-based: divide every element by the sum of the row:
where wi· is the sum of a row.
Product of a spatial weights matrix W and a given variably Y
Ysl = WY
ysl − i = ∑jwijyj
Heavily used in both ESDA and spatial regression to delineate neighborhoods. Examples:
<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" /></a><br /><span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">Geographic Data Science'18</span> by <a xmlns:cc="http://creativecommons.org/ns#" href="http://darribas.org" property="cc:attributionName" rel="cc:attributionURL">Dani Arribas-Bel</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>.