| summary.hgwrm | R Documentation |
hgwrm object.Summary an hgwrm object.
## S3 method for class 'hgwrm'
summary(object, ..., test_hetero = FALSE, verbose = 0)
object |
An |
... |
Other arguments passed from other functions. |
test_hetero |
Logical/list value.
Whether to test the spatial heterogeneity of GLSW effects.
If it is set to |
verbose |
An Integer value to control whether additional messages during testing spatial heterogeneity should be reported. |
The parameters used to perform test of spatial heterogeneity are
bwBandwidth (unit: number of nearest neighbours) used to make spatial kernel density estimation. Default: 10.
polyThe number of polynomial terms used in the local polynomial estimation. Default: 2.
resampleTotal resampling times. Default: 5000.
kernelThe kernel function used in the local polynomial estimation. Options are "gaussian" and "bisquared". Default: "bisquared".
A list containing summary informations of this hgwrm object
with the following fields.
diagnosticA list of diagnostic information.
random.stddevThe standard deviation of random effects.
random.corrThe correlation matrix of random effects.
residualsThe residual vector.
hgwr().
data(mulsam.test)
m <- hgwr(
formula = y ~ L(g1 + g2) + x1 + (z1 | group),
data = mulsam.test$data,
coords = mulsam.test$coords,
bw = 10
)
summary(m)
summary(m, test_hetero = TRUE)
summary(m, test_hetero = list(kernel = "gaussian"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.