Lee's L Explained
Lee's L is a bivariate spatial correlation coefficient which measures the association between two sets of observations made at the same spatial sites. Standard measures of association such as the Pearson correlation coefficient do not account for the spatial dimension of data, in particular they are vulnerable to inflation due to spatial autocorrelation. Lee's L is available in numerous spatial analysis software libraries including spdep [1] and PySAL[2] (where it is called Spatial_Pearson) and has been applied in diverse applications such as studying air pollution,[3] viticulture[4] and housing rent.[5]
For spatial data
and
measured at
locations connected with the spatial weight matrix
first define the spatially lagged vector
with a similar definition for
. Then Lee's
L[6] is defined as
Lx,y=
| N |
\sumi\left(\sumjwij\right)2 |
-\bar{x})(\tilde{y}i-\bar{y})}{\sqrt{\sumi(\tilde{x}i-\bar{x})2}\sqrt{\sumi(\tilde{y}i-\bar{y})2}}
where
are the mean values of
. When the spatial weight matrix is row normalized, such that
, the first factor is 1.
Lee also defines the spatial smoothing scalar
to measure the spatial
autocorrelation of a variable.
It is shown by Lee that the above definition is equivalent to
Lx,y=\sqrt{SSSx}\sqrt{SSSy}r(\tilde{x},\tilde{y})
Where
is the
Pearson correlation coefficientr(\tilde{x},\tilde{y})=
-\bar{\tilde{x}})(\tilde{y}i-\bar{\tilde{y}})}{\sqrt{\sum
(\tilde{x}i-\bar{\tilde{x}})2}\sqrt{\sum
(\tilde{y}i-\bar{\tilde{y}})2}}
This means Lee's L is equivalent to the Pearson correlation of the spatially lagged data, multiplied by a measure of each data set's spatial autocorrelation.
Notes and References
- Web site: Lee's L test for spatial autocorrelation — lee.test .
- Web site: API reference — esda v0.1.dev1+ga296c39 Manual .
- 10.1016/j.atmosenv.2018.03.053. Yang D, Ye C, Wang X, Lu D, Xu J, Yang H. 2018. Global distribution and evolvement of urbanization and PM2. 5 (1998–2015). Atmospheric Environment. 182. 171–178.
- 10.1126/sciadv.abd0952. Spatial variation in biodiversity loss across China under multiple environmental stressors. 2020. Lu. Yonglong. Yang. Yifu. Sun. Bin. Yuan. Jingjing. Yu. Minzhao. Stenseth. Nils Chr.. Bullock. James M.. Obersteiner. Michael. Science Advances. 6. 47. 33219032. 7679164.
- 10.1016/j.landusepol.2018.12.030. Monitoring housing rental prices based on social media:An integrated approach of machine-learning algorithms and hedonic modeling to inform equitable housing policies. 2019. Hu. Lirong. He. Shenjing. Han. Zixuan. Xiao. He. Su. Shiliang. Weng. Min. Cai. Zhongliang. Land Use Policy. 82. 657–673. 2019LUPol..82..657H.
- 10.1007/s101090100064 . Sang-Il . Lee . 2001 . Developing a bivariate spatial association measure: an integration of Pearson's r and Moran's I. . Journal of Geographical Systems . 3 . 4 . 369–385. 2001JGS.....3..369L .