Skip to contents

Select an ordinary GWR model

Joint subset, kernel and bandwidth selection on a common sample.

gwr_fit()
Fit an unpenalized geographically weighted regression
gwr_select()
Joint subset, kernel and bandwidth selection for unpenalized GWR
gwr_select_verify()
Verify a joint GWR selection checkpoint
summary(<gwrs_selection>)
Summarize joint GWR selection

Fit a model

Formula and matrix interfaces for the five documented estimators.

gwr_lasso() gwr_ridge() gwr_en()
Formula interfaces for reference penalized GWR models
gwr_lasso_fit() gwr_ridge_fit() gwr_en_fit()
Fit geographically weighted lasso, ridge, or elastic net
gwr_nonconvex() gwr_scad() gwr_mcp()
Formula interfaces for nonconvex GWR
gwr_nonconvex_fit() gwr_scad_fit() gwr_mcp_fit()
Fast nonconvex geographically weighted regression

Tune SCAD and MCP

gwr_nonconvex_path() gwr_scad_path() gwr_mcp_path()
Warm-started GWR-SCAD and GWR-MCP paths
cv_gwr_nonconvex() cv_gwr_scad() cv_gwr_mcp()
Spatial cross-validation for GWR-SCAD and GWR-MCP
gwr_nonconvex_cv_cache()
Prepare reusable training-fold inputs for SCAD/MCP cross-validation

Predict and inspect

predict(<gwrs_fit>)
Predict from a fitted geographically weighted model
summary(<gwrs_fit>)
Summarize a fitted gwrs model

Diagnostics and interpretation

Descriptive checks and explicitly exploratory reference calculations.

gwr_diagnostics()
Extract statistical diagnostics from a gwrs fit
gwr_local_inference()
Exploratory local coefficient inference
gwr_diagnostic_tests()
GWR-style diagnostic F-tests
gwr_moran() gwr_local_moran() gwr_moran_diagnostics()
Sparse residual Moran diagnostics
gwr_local_collinearity()
Fast local multicollinearity diagnostics
gwr_global_collinearity()
Global predictor collinearity diagnostics

Spatial inputs and numerical controls

gwr_neighbors()
Build a reusable nearest-neighbor structure
spatial_folds()
Construct reproducible spatially contiguous folds
gwrs_control()
Control numerical fitting in `gwrs`

County data

acs2020_2024_counties
County analysis data from the 2020–2024 ACS five-year Data Profiles
acs2024_counties
Compatibility name for the 2020–2024 ACS county data