gwrr-package | R Documentation |
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.
Package: | gwrr |
Type: | Package |
Version: | 0.2-1 |
Date: | 2013-06-11 |
License: | GPL (>=2) |
LazyLoad: | yes |
David Wheeler
Maintainer: David Wheeler <dcwheels@gmail.com>
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.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.