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
bw
Bandwidth (unit: number of nearest neighbours) used to make spatial kernel density estimation. Default: 10
.
poly
The number of polynomial terms used in the local polynomial estimation. Default: 2
.
resample
Total resampling times. Default: 5000
.
kernel
The 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.
diagnostic
A list of diagnostic information.
random.stddev
The standard deviation of random effects.
random.corr
The correlation matrix of random effects.
residuals
The 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.