High-performance solutions of geographically weighted regression in R
As an established spatial analytical tool, Geographically Weighted Regression (GWR) has been applied across a variety of disciplines. However, its usage can be challenging for large datasets, which are increasingly prevalent in today’s digital world. In this study, we propose two highperformance R solutions for GWR via Multi-core Parallel (MP) and Compute Unified Device Architecture (CUDA) techniques, respectively GWR-MP and GWR-CUDA. We compared GWRMP and GWR-CUDA with three existing solutions available in Geographically Weighted Models (GWmodel), Multi-scale GWR (MGWR) and Fast GWR (FastGWR). Results showed that all five solutions perform differently across varying sample sizes, with no single solution a clear winner in terms of computational efficiency. Specifically, solutions given in GWmodel and MGWR provided acceptable computational costs for GWR studies with a relatively small sample size. For a large sample size, GWR-MP and FastGWR provided coherent solutions on a Personal Computer (PC) with a common multi-core configuration, GWR-MP provided more efficient computing capacity for each core or thread than FastGWR. For cases when the sample size was very large, and for these cases only, GWR-CUDA provided the most efficient solution, but should note its I/O cost with small samples. In summary, GWR-MP and GWR-CUDA provided complementary high-performance R solutions to existing ones, where for certain data-rich GWR studies, they should be preferred.
| Item Type | Article |
|---|---|
| Open Access | Gold |
| Additional information | This research was jointly supported by National Key Research and Development Program of China [grant number 2021YFB3900904] and the National Natural Science Foundation of China [grant numbers 42071368, U2033216, 41871287) |
| Keywords | Non-stationarity, Big data, Parallel computing, Compute Unified Device Architecture (CUDA), Geographically Weighted models (GWmodel) |
| Date Deposited | 05 Dec 2025 10:33 |
| Last Modified | 19 Dec 2025 14:55 |


