EconPapers    
Economics at your fingertips  
 

Computational Benchmark Study in Spatio‐Temporal Statistics With a Hands‐On Guide to Optimise R

Lorenzo Tedesco, Jacopo Rodeschini and Philipp Otto

Environmetrics, 2025, vol. 36, issue 5

Abstract: This study provides a comprehensive evaluation of the computational performance of R, MATLAB, Python, and Julia for spatial and spatio‐temporal modelling, focusing on high‐dimensional datasets typical in geospatial statistical analysis. We benchmark each language across key tasks, including matrix manipulations and transformations, iterative programming routines, and Input/Output processes, all of which are critical in environmetrics. The results demonstrate that MATLAB excels in matrix‐based computations, while Julia consistently delivers competitive performance across a wide range of tasks, establishing itself as a robust, open‐source alternative. Python, when combined with libraries like NumPy, shows strength in specific numerical operations, offering versatility for general‐purpose programming. R, despite its slower default performance in raw computations, proves to be highly adaptable; by linking to optimized libraries like OpenBLAS or MKL and integrating C++ with packages like Rcpp, R achieves significant performance gains, becoming competitive with the other languages. This study also provides practical guidance for researchers to optimize R for geospatial data processing, offering insights to support the selection of the most suitable language for specific modelling requirements.

Date: 2025
References: Add references at CitEc
Citations:

Downloads: (external link)
https://doi.org/10.1002/env.70017

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:wly:envmet:v:36:y:2025:i:5:n:e70017

Ordering information: This journal article can be ordered from
http://www.blackwell ... bs.asp?ref=1180-4009

Access Statistics for this article

More articles in Environmetrics from John Wiley & Sons, Ltd.
Bibliographic data for series maintained by Wiley Content Delivery ().

 
Page updated 2025-07-17
Handle: RePEc:wly:envmet:v:36:y:2025:i:5:n:e70017