View source: R/convenience-functions.R
aple | R Documentation |
The approximate-profile likelihood estimator for the spatial autocorrelation parameter from a simultaneous autoregressive (SAR) model (Li et al. 2007).
aple(x, w, digits = 3)
x |
Numeric vector of values, length |
w |
An |
digits |
Number of digits to round results to. |
The APLE
is an estimate of the spatial autocorrelation parameter one would obtain from fitting an intercept-only SAR model. Note, the APLE
approximation is not reliable when the number of observations is large.
the APLE estimate, a numeric value.
Li, Honfei and Calder, Catherine A. and Cressie, Noel (2007). Beyond Moran's I: testing for spatial dependence based on the spatial autoregressive model. Geographical Analysis: 39(4): 357-375.
mc, moran_plot, lisa, sim_sar
library(sf)
data(georgia)
w <- shape2mat(georgia, "W")
x <- georgia$ICE
aple(x, w)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.