M-SGWR: Multiscale Similarity and Geographically Weighted Regression

M. Naser Lessani, Zhenlong Li, Manzhu Yu, Helen Greatrex, Chan Shen
1/27/2026
stat.MEcs.AIcs.LG

No official code found. Best implementation: Lessani252/M-SGWR (4 stars, MIT, last commit 2026-04-26).

Abstract

The first law of geography is a cornerstone of spatial analysis, emphasizing that nearby and related locations tend to be more similar, however, defining what constitutes "near" and "related" remains challenging, as different phenomena exhibit distinct spatial patterns. Traditional local regression models, such as Geographically Weighted Regression (GWR) and Multiscale GWR (MGWR), quantify spatial relationships solely through geographic proximity. In an era of globalization and digital connectivity, however, geographic proximity alone may be insufficient to capture how locations are interconnected. To address this limitation, we propose a new multiscale local regression framework, termed M-SGWR, which characterizes spatial interaction across two dimensions: geographic proximity and attribute (variable) similarity. For each predictor, geographic and attribute-based weight matrices are constructed separately and then combined using an optimized parameter, alpha, which governs their relative contribution to local model fitting. Analogous to variable-specific bandwidths in MGWR, the optimal alpha varies by predictor, allowing the model to flexibly account for geographic, mixed, or non-spatial (remote similarity) effects. Results from two simulation experiments and one empirical application demonstrate that M-SGWR consistently outperforms GWR, SGWR, and MGWR across all goodness-of-fit metrics.

View on arXivView PDF

Code Implementations(1)

Lessani252/M-SGWRCommunity58%
MIT

This repository belongs to the M-SGWR local regression model, and the full preprint article can be found through this DOI: https://doi.org/10.48550/arXiv.2601.19888

42PythonJan 30, 20265 months agoMIT

Similar Papers

Cite this paper

@article{lessani2026msgwr,
  title  = {M-SGWR: Multiscale Similarity and Geographically Weighted Regression},
  author = {M. Naser Lessani and Zhenlong Li and Manzhu Yu and Helen Greatrex and Chan Shen},
  year   = {2026},
  eprint = {2601.19888},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.19888v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.19888.svg)](https://codeofpaper.com/paper/2601.19888)

Discussion