Hierarchical and Geographically Weighted Regression
Get estimated coefficients.
Get fitted response.
Hierarchical and Geographically Weighted Regression
HGWR: Hierarchical and Geographically Weighted Regression
Log likelihood function
Make Dummy Variables
Print a character matrix as a table.
Print description of a hgwrm object.
Print the result of spatial heterogeneity test
Print summary of an hgwrm object.
Get residuals.
Test the spatial heterogeneity in data based on permutation.
Generic method to test spatial heterogeneity
Summary an hgwrm object.
This model divides coefficients into three types, i.e., local fixed effects, global fixed effects, and random effects (Hu et al., 2022)<doi:10.1177/23998083211063885>. If data have spatial hierarchical structures (especially are overlapping on some locations), it is worth trying this model to reach better fitness.