mgwr: A Python Implementation of Multiscale Geographically Weighted Regression for Investigating Process Spatial Heterogeneity and Scale
Top Cited Papers
Open Access
- 8 June 2019
- journal article
- research article
- Published by MDPI AG in ISPRS International Journal of Geo-Information
- Vol. 8 (6), 269
- https://doi.org/10.3390/ijgi8060269
Abstract
Geographically weighted regression (GWR) is a spatial statistical technique that recognizes that traditional ‘global’ regression models may be limited when spatial processes vary with spatial context. GWR captures process spatial heterogeneity by allowing effects to vary over space. To do this, GWR calibrates an ensemble of local linear models at any number of locations using ‘borrowed’ nearby data. This provides a surface of location-specific parameter estimates for each relationship in the model that is allowed to vary spatially, as well as a single bandwidth parameter that provides intuition about the geographic scale of the processes. A recent extension to this framework allows each relationship to vary according to a distinct spatial scale parameter, and is therefore known as multiscale (M)GWR. This paper introduces mgwr, a Python-based implementation of MGWR that explicitly focuses on the multiscale analysis of spatial heterogeneity. It provides novel functionality for inference and exploratory analysis of local spatial processes, new diagnostics unique to multi-scale local models, and drastic improvements to efficiency in estimation routines. We provide two case studies using mgwr, in addition to reviewing core concepts of local models. We present this in a literate programming style, providing an overview of the primary software functionality and demonstrations of suggested usage alongside the discussion of primary concepts and demonstration of the improvements made in mgwr.Keywords
Funding Information
- National Science Foundation (1758786)
This publication has 16 references indexed in Scilit:
- Geographically weighted regression with parameter-specific distance metricsInternational Journal of Geographical Information Science, 2016
- Geographically weighted regression and multicollinearity: dispelling the mythJournal of Geographical Systems, 2016
- The Multiple Testing Issue in Geographically Weighted RegressionGeographical Analysis, 2015
- The Use of Geographically Weighted Regression for Spatial Prediction: An Evaluation of Models Using Simulated Data SetsMathematical Geosciences, 2010
- Spatial-Filtering-Based Contributions to a Critique of Geographically Weighted Regression (GWR)Environment and Planning A: Economy and Space, 2008
- Diagnostic Tools and a Remedial Method for Collinearity in Geographically Weighted RegressionEnvironment and Planning A: Economy and Space, 2007
- A Caution Regarding Rules of Thumb for Variance Inflation FactorsQuality & Quantity, 2007
- An assessment of coefficient accuracy in linear regression models with spatially varying coefficientsJournal of Geographical Systems, 2007
- Multicollinearity and correlation among local regression coefficients in geographically weighted regressionJournal of Geographical Systems, 2005
- A Computer Movie Simulating Urban Growth in the Detroit RegionEconomic Geography, 1970