[Paper Review] Local likelihood estimation for covariance functions with spatially-varying parameters: the convoSPAT package for R
This paper introduces the convoSPAT R package for fitting convolution-based nonstationary spatial Gaussian process models with spatially-varying covariance parameters using local likelihood estimation. By modeling spatially varying parameters through a discrete mixture component approach and estimating them locally, the method enables efficient computation even for moderate-sized datasets, as demonstrated on simulated and real precipitation data with improved predictive accuracy over stationary models.
In spite of the interest in and appeal of convolution-based approaches for nonstationary spatial modeling, off-the-shelf software for model fitting does not as of yet exist. Convolution-based models are highly flexible yet notoriously difficult to fit, even with relatively small data sets. The general lack of pre-packaged options for model fitting makes it difficult to compare new methodology in nonstationary modeling with other existing methods, and as a result most new models are simply compared to stationary models. Using a convolution-based approach, we present a new nonstationary covariance function for spatial Gaussian process models that allows for efficient computing in two ways: first, by representing the spatially-varying parameters via a discrete mixture or "mixture component" model, and second, by estimating the mixture component parameters through a local likelihood approach. In order to make computation for a convolution-based nonstationary spatial model readily available, this paper also presents and describes the convoSPAT package for R. The nonstationary model is fit to both a synthetic data set and a real data application involving annual precipitation to demonstrate the capabilities of the package.
Motivation & Objective
- To address the lack of accessible, off-the-shelf software for fitting convolution-based nonstationary spatial models, which are highly flexible but notoriously difficult to estimate.
- To develop a computationally efficient method for estimating spatially varying covariance parameters in Gaussian process models, particularly for nonstationary spatial dependence structures.
- To provide a user-friendly R package (convoSPAT) that enables researchers to fit and analyze nonstationary spatial models with local likelihood estimation and mixture component parameterization.
- To demonstrate the method's effectiveness through applications on synthetic data and real annual precipitation data, showing improved predictive performance over stationary models.
- To facilitate methodological comparison in nonstationary spatial statistics by offering a ready-to-use, efficient, and reproducible implementation in R.
Proposed method
- The method employs a convolution-based nonstationary covariance function where spatially varying parameters (e.g., variance, nugget, smoothness, anisotropy) are modeled via a discrete mixture component approach.
- Spatially varying parameters are estimated using local likelihood techniques, where a local likelihood is computed around each location using a fitting radius and neighboring data points.
- The mixture component grid is pre-specified over the spatial domain, and the number of components and their locations are user-defined or selected via diagnostic tools like the mc_N function.
- The model uses a local likelihood estimation framework to estimate parameters at each mixture component location, followed by spatial smoothing of the estimated features to produce a continuous spatial surface of parameters.
- The approach allows for flexible specification of the correlation structure (e.g., exponential, Matérn) and supports both single realizations and independent replicates of spatial processes.
- The convoSPAT R package implements the full pipeline: model fitting, parameter estimation, prediction, and model evaluation using criteria such as CRPS and MSPE.
Experimental results
Research questions
- RQ1Can a convolution-based nonstationary spatial model with spatially varying parameters be efficiently estimated using local likelihood techniques?
- RQ2How does the performance of the proposed nonstationary model compare to stationary models in terms of predictive accuracy on real and simulated data?
- RQ3What is the impact of tuning parameters such as fitting radius and mixture component grid on model estimation and prediction?
- RQ4Can the proposed method be implemented efficiently in R for datasets of moderate size (e.g., n ≈ 1000) without prohibitive computational cost?
- RQ5How well can the method recover true spatially varying parameters in a simulation study with known ground truth?
Key findings
- The nonstationary model fitted via convoSPAT achieved a CRPS of 0.415 on the simulated data, compared to 0.424 for the stationary model, indicating improved predictive performance.
- The MSPE (mean squared prediction error) was reduced from 0.546 (stationary) to 0.524 (nonstationary), further supporting better predictive accuracy.
- The estimated anisotropy parameters were close to the true values (e.g., 0.678 vs. -0.5 for β1, 0.770 vs. 0.5 for β2), demonstrating accurate recovery of spatially varying effects.
- The method remained computationally efficient, with model fitting feasible for datasets of size n ≈ 1000 using a reasonable fitting radius and mixture component grid.
- The mc_N function confirmed that each local model used between 157 and 269 data points, indicating a balanced trade-off between local model stability and spatial resolution.
- The package successfully handled both single-realization and replicated spatial data, supporting a broad range of spatial data analysis tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.