gwrr-package: Geographically weighted regression models with penalties and...

gwrr-packageR Documentation

Geographically weighted regression models with penalties and diagnostic tools

Description

Fits geographically weighted regression (GWR) models and has tools to diagnose collinearity in the GWR models. Also fits geographically weighted ridge regression (GWRR) and geographically weighted lasso (GWL) models.

Details

Package: gwrr
Type: Package
Version: 0.2-1
Date: 2013-06-11
License: GPL (>=2)
LazyLoad: yes

Author(s)

David Wheeler

Maintainer: David Wheeler <dcwheels@gmail.com>

References

Wheeler DC (2007) Diagnostic tools and a remedial method for collinearity in geographically weighted regression. Environment and Planning A, 39: 2464-2481.

Wheeler DC (2009) Simultaneous coefficient penalization and model selection in geographically weighted regression: The geographically weighted lasso. Environment and Planning A, 41: 722-742.

Examples

data(columbus)
locs <- cbind(columbus$x, columbus$y)
col.gwr <- gwr.est(crime ~ income + houseval, locs, columbus, "exp")
plot(col.gwr$beta[2,], col.gwr$beta[3,])
col.vdp <- gwr.vdp(crime ~ income + houseval, locs, columbus, col.gwr$phi, "exp")
hist(col.vdp$condition)

gwrr documentation built on May 10, 2022, 9:05 a.m.