Skip to main content
QUICK REVIEW

[Paper Review] FRK: An R Package for Spatial and Spatio-Temporal Prediction with Large Datasets

Andrew Zammit‐Mangion, Noel Cressie|arXiv (Cornell University)|May 23, 2017
Soil Geostatistics and MappingEnvironmental Science30 references35 citations
TL;DR

FRK is an R package for scalable spatial and spatio-temporal prediction using a spatial random effects (SRE) model based on basic areal units (BAUs), enabling exact predictions at millions of locations without conditional simulation. It supports non-stationary, non-isotropic covariance structures, handles data with varying supports, and provides reliable uncertainty quantification by distinguishing measurement error from fine-scale variation via an EM algorithm for parameter estimation.

ABSTRACT

FRK is an R software package for spatial/spatio-temporal modelling and prediction with large datasets. It facilitates optimal spatial prediction (kriging) on the most commonly used manifolds (in Euclidean space and on the surface of the sphere), for both spatial and spatio-temporal fields. It differs from many of the packages for spatial modelling and prediction by avoiding stationary and isotropic covariance and variogram models, instead constructing a spatial random effects (SRE) model on a fine-resolution discretised spatial domain. The discrete element is known as a basic areal unit (BAU), whose introduction in the software leads to several practical advantages. The software can be used to (i) integrate multiple observations with different supports with relative ease; (ii) obtain exact predictions at millions of prediction locations (without conditional simulation); and (iii) distinguish between measurement error and fine-scale variation at the resolution of the BAU, thereby allowing for reliable uncertainty quantification. The temporal component is included by adding another dimension. A key component of the SRE model is the specification of spatial or spatio-temporal basis functions; in the package, they can be generated automatically or by the user. The package also offers automatic BAU construction, an expectation-maximisation (EM) algorithm for parameter estimation, and functionality for prediction over any user-specified polygons or BAUs. Use of the package is illustrated on several spatial and spatio-temporal datasets, and its predictions and the model it implements are extensively compared to others commonly used for spatial prediction and modelling.

Motivation & Objective

  • To address the limitations of traditional kriging and existing R packages in handling large spatial and spatio-temporal datasets with non-stationary and non-isotropic structures.
  • To enable exact prediction at millions of locations without conditional simulation, overcoming computational bottlenecks in standard kriging.
  • To distinguish between measurement error and fine-scale process variation at the resolution of the basic areal unit (BAU), improving uncertainty quantification.
  • To support data with varying spatial supports (e.g., satellite footprints) by integrating observations at the BAU level.
  • To provide a flexible, scalable framework for spatial and spatio-temporal modeling using basis functions on discretized domains.

Proposed method

  • The method is based on a spatial random effects (SRE) model that decomposes a spatial process into a linear combination of basis functions with random coefficients and a fine-scale variation term.
  • The spatial domain is discretized into basic areal units (BAUs), which serve as the fundamental spatial elements for modeling and prediction.
  • Basis functions are constructed either automatically (e.g., using bisquare or ISEA3H hexagonal grids) or by user specification, and can be non-orthogonal and non-stationary.
  • An expectation-maximization (EM) algorithm is used for parameter estimation, enabling efficient inference even with large datasets.
  • The model supports prediction over arbitrary user-defined polygons or BAUs, and allows for data with different spatial supports through averaging or integration at the BAU level.
  • The framework extends naturally to spatio-temporal data by adding a temporal dimension to the basis functions and covariance structure.

Experimental results

Research questions

  • RQ1Can a spatial prediction framework be developed that scales efficiently to large datasets while avoiding restrictive assumptions of stationarity and isotropy?
  • RQ2How can measurement error and fine-scale process variation be distinguished in spatial prediction to improve uncertainty quantification?
  • RQ3Can exact predictions be computed at millions of locations without relying on conditional simulation or approximation methods?
  • RQ4How can data with heterogeneous spatial supports (e.g., satellite observations) be efficiently integrated into a spatial model?
  • RQ5Can a flexible, non-stationary modeling framework be implemented in R with full support for spatial and spatio-temporal prediction?

Key findings

  • The FRK package enables exact prediction at up to 1.176 million prediction locations using a basis function model on the sphere, with no need for conditional simulation.
  • The use of basic areal units (BAUs) allows for seamless integration of data with different spatial supports, such as satellite observations with footprints smaller than the BAU.
  • The EM algorithm for parameter estimation converges reliably and efficiently, even with large datasets, as demonstrated on the AIRS CO2 dataset with over 100,000 observations.
  • The model successfully distinguishes between systematic error within BAUs and fine-scale process variation, leading to more reliable uncertainty estimates.
  • The SRE model with BAUs and basis functions can approximate standard covariance families while remaining non-stationary and non-isotropic, offering greater modeling flexibility than traditional methods.
  • The package outperforms or matches existing methods in predictive accuracy and computational efficiency, particularly on large, complex datasets like the AIRS CO2 data.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.