Need help with mgwr?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

181 Stars 67 Forks BSD 3-Clause "New" or "Revised" License 319 Commits 23 Opened issues


Multiscale Geographically Weighted Regression (MGWR)

Services available


Need anything else?

Contributors list

Multiscale Geographically Weighted Regression (MGWR)

Build Status Documentation Status PyPI version

This module provides functionality to calibrate multiscale (M)GWR as well as traditional GWR. It is built upon the sparse generalized linear modeling (spglm) module.


  • GWR model calibration via iteratively weighted least squares for Gaussian, Poisson, and binomial probability models.
  • GWR bandwidth selection via golden section search or equal interval search
  • GWR-specific model diagnostics, including a multiple hypothesis test correction and local collinearity
  • Monte Carlo test for spatial variability of parameter estimate surfaces
  • GWR-based spatial prediction
  • MGWR model calibration via GAM iterative backfitting for Gaussian model
  • Parallel computing for GWR and MGWR
  • MGWR covariate-specific inference, including a multiple hypothesis test correction and local collinearity
  • Bandwidth confidence intervals for GWR and MGWR


Oshan, T. M., Li, Z., Kang, W., Wolf, L. J., & Fotheringham, A. S. (2019). mgwr: A Python implementation of multiscale geographically weighted regression for investigating process spatial heterogeneity and scale. ISPRS International Journal of Geo-Information, 8(6), 269.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.