Spatial Rate Mapping
The spatial lag is a weighted sum of the values observed at neighboring locations since the non-neighbors are not included. A spatial rate smoother is a special case of a nonparametric rate estimator, based on the principle of locally weighted estimation.
Spatial rate mapping emphasizes broad spatial trends and is useful for identifying general features of the data. However, it is not useful for the analysis of spatial autocorrelation, since the smoothed rates are autocorrelated by construction. It is also not very useful for identifying outlying observations, since the values portrayed are really regional averages and not specific to an individual location.
For more information, please read https://geodacenter.github.io/workbook/4d_weights_applications/lab4d.html#spatial-rate-smoothing
1. spatialLag()
The spatially lagged variable is a weighted average of the values at neighboring observations.
Arguments
Name
Type
Description
val
Array
the numeric values
weights
WeightResult
the WeightResult object that stores the spatial weights information
isBinary
Boolean
if the spatial weights is used as binary weights. Default: TRUE
(NOTE: for gal weights, is_binary will be ignored and set as TRUE)
rowStandardize
Boolean
if use row-standardized weights. Default: TRUE
includeDiagonal
Boolean
if include diagonal of spatial weights. Default: FALSE
(NOTE: for kernel weights, please specify include_diagonal=TRUE)
2. spatialRate()
In spatial rate smoothing, different spatial definitions of neighbors and/or different weights applied to those neighbors (e.g., contiguity weights, inverse distance weights, or kernel weights).
3. spatialEB()
Spatial Empirical Bayes (EB) Smoothing operates in the same way as the standard Empirical Bayes smoother, except that the reference rate is computed for a spatial window for each individual observation, rather than taking the same overall reference rate for all. This only works well for larger data sets, when the window (as defined by the spatial weights) is large enough to allow for effective smoothing.
For more information, please read https://geodacenter.github.io/workbook/4d_weights_applications/lab4d.html#spatial-rate-smoothing
Last updated