Bayesian cluster geographically weighted regression for spatial heterogeneous data

Wala Draidi Areed, Aiden Price, Helen Thompson, Conor Hassan, Reid Malseed, Kerrie Mengersen

TL;DR

This paper introduces a powerful new framework for spatial analysis that combines Bayesian Geographically Weighted Regression (BGWR) with unsupervised probabilistic clustering. By integrating Gaussian and Dirichlet process mixture models, the researchers can automatically identify geographic "neighborhoods" where specific factors influence outcomes in similar ways, all while significantly boosting computational speed through clever vectorization.

What Problem Does This Paper Address?

In spatial statistics, we often deal with spatial heterogeneity—the idea that the relationship between variables changes depending on where you are. For example, the impact of "proximity to a park" on house prices might be huge in a dense city but negligible in the suburbs.

Standard Geographically Weighted Regression (GWR) handles this by fitting a local regression at every single point on a map. However, traditional GWR has several "frequentist" headaches: it struggles with overfitting, assumes errors are perfectly normal, and can be unstable with small sample sizes. While Bayesian versions (BGWR) solve many of these issues, they are notoriously slow and computationally "expensive." Furthermore, even if you have a map of coefficients, it’s hard to objectively group regions that behave similarly. This paper tackles the "triple threat" of spatial modeling: making it more robust, much faster, and capable of automatic clustering.

Methods

The authors propose three major methodological upgrades:

  1. Vectorization for Speed: The use of multivariate normal distributions in BGWR usually leads to a computational bottleneck. The authors realized that because the geographic weight matrix is diagonal, they could represent the multivariate density as a product of univariate Gaussian functions. Using the nimble package in R, this "vectorization" allows for independent estimation across dimensions, slashing MCMC (Markov chain Monte Carlo) runtimes.
  2. Dynamic Variable Selection (RJMCMC): Not every variable is important everywhere. The authors integrated Reversible Jump MCMC, which allows the model to "decide" whether a specific covariate should even be included in the regression for a specific local region. This prevents the model from being "noisy" in areas where a variable has no real impact.
  3. Probabilistic Clustering: This is the "Cluster" in the title. After obtaining the posterior distributions of the regression coefficients, the model applies two types of clustering:
  4. Gaussian Mixture Models (GMM): A parametric approach that assumes data comes from a fixed number of "types."
    • Dirichlet Process Mixture Models (DPMM): A non-parametric approach that can automatically determine the optimal number of clusters without prior knowledge.

Datasets

The model was put through its paces using both synthetic and real-world data:

  • Simulated Data: Two datasets based on the geography of Louisiana (64 regions) and Georgia (159 regions) were used to test the model's ability to recover "true" underlying spatial patterns and variable importance.
  • Real-World Case Study: The authors analyzed child development data from Queensland, Australia. This included 526 small areas (SA2) and focused on "vulnerability indicators" across five domains (physical, social, emotional, language, and communication) provided by the Australian Early Development Census (AEDC).

Key Insights and Ideas

  • The "Aha" of Clustering: Instead of just looking at a heat map of coefficients, the model produces a map of clusters. This allows policymakers to see, for instance, that "Region A" and "Region B" (which might be far apart) share the exact same developmental challenges and should receive similar interventions.
  • Speed is a Feature, Not a Luxury: By moving from a multivariate approach to a vectorized univariate approach, the authors reduced the time to run a single simulation replicate from 15 minutes to under 250 seconds. This makes Bayesian spatial modeling viable for much larger, more complex datasets.
  • Local Importance Matters: The RJMCMC results showed that a variable like "remoteness" might be a critical predictor of developmental vulnerability in the far north of Queensland but have almost no predictive power in the urban southeast.

Key Results

  • Accuracy: In the Georgia simulation, the DPMM method consistently achieved high Rand Index (RI) values (up to 0.88), indicating it was very accurate at identifying the "true" clusters of spatial behavior.
  • Queensland Findings: The case study revealed a substantive negative relationship between preschool attendance and developmental vulnerability. Interestingly, this association was strongest in Southeast Queensland (near Brisbane) and weaker in the northern regions.
  • Cluster Discovery: Using the DPMM method on the Queensland data, the model identified 12 distinct clusters of regions, providing a much more nuanced view of the state than a simple "urban vs. rural" divide.

Limitations and Future Work

While the paper makes significant strides, the authors note several areas for expansion:

  • Generalized Models: The current framework is built for linear regression. The authors suggest extending this to Generalized Linear Models (GLMs) to handle different types of data (like counts or binary outcomes).
  • High-Dimensional Data: Future iterations could integrate penalized methods like Lasso or Ridge regression to better handle datasets with a massive number of potential predictors.
  • Bandwidth Selection: Choosing the "bandwidth" (how far the geographic influence of a point reaches) is still a challenge. The authors suggest developing a more robust, automated framework for determining optimal bandwidths within the Bayesian context.

Summary updated

BibTeX
@inproceedings{areed2024bayesian,
  author = {Wala Draidi Areed and Aiden Price and Helen Thompson and Conor Hassan and Reid Malseed and Kerrie Mengersen},
  title = {{Bayesian cluster geographically weighted regression for spatial heterogeneous data}},
  booktitle = {Royal},
  year = {2024},
  doi = {10.1098/rsos.231780},
}

Loading related content...

Figure