Usage
localmoran.sad(model, select, nb, glist=NULL, style="W", zero.policy=FALSE,
alternative="greater", spChk=NULL, resfun=weighted.residuals, save.Vi=FALSE,
tol = .Machine$double.eps^0.5, maxiter = 1000, tol.bounds=0.0001)
as.data.frame.localmoransad(x, row.names=NULL, optional=FALSE)
print.localmoransad(x, ...)
summary.localmoransad(object, ...)
print.summary.localmoransad(x, ...)
listw2star(listw, ireg, style, n, D, a, zero.policy=FALSE)
Arguments
model
an object of class lm
returned by lm
(assuming no global spatial autocorrelation), or an object of class sarlm
returned by a spatial simultaneous autoregressive model fit (assuming global spatial autocorrelation repr
select
an integer vector of the id. numbers of zones to be tested
nb
a list of neighbours of class nb
glist
a list of general weights corresponding to neighbours
style
can take values W, B, C, and S
zero.policy
if TRUE assign zero to the lagged value of zones without
neighbours, if FALSE assign NA
alternative
a character string specifying the alternative hypothesis,
must be one of greater (default), less or two.sided.
spChk
should the data vector names be checked against the spatial objects for identity integrity, TRUE, or FALSE, default NULL to use get.spChkOption()
resfun
default: weighted.residuals; the function to be used to extract residuals from the lm
object, may be residuals
, weighted.residuals
, rstandard
, or rstudent
save.Vi
if TRUE, return the star-shaped weights lists for each zone
tested
tol
the desired accuracy (convergence tolerance) for uniroot
maxiter
the maximum number of iterations for uniroot
tol.bounds
offset from bounds for uniroot
row.names
ignored argument to as.data.frame.localmoransad
;
row names assigned from localmoransad object
optional
ignored argument to as.data.frame.localmoransad
;
row names assigned from localmoransad object
object
object to be summarised
...
arguments to be passed through
listw
a listw
object created for example by nb2listw
n
internal value depending on listw and style
D
internal value depending on listw and style
a
internal value depending on listw and style