Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2023 May 24;8(85):1-4.
doi: 10.21105/joss.05363.

sptotal: an R package for predicting totals and weighted sums from spatial data

Affiliations

sptotal: an R package for predicting totals and weighted sums from spatial data

Matt Higham et al. J Open Source Softw. .

Abstract

In ecological or environmental surveys, it is often desired to predict the mean or total of a variable in some finite region. However, because of time and money constraints, sampling the entire region is often unfeasible. The purpose of the sptotal R package is to provide software that gives a prediction for a quantity of interest, such as a total, and an associated standard error for the prediction. The predictor, referred to as the Finite-Population-Block-Kriging (FPBK) predictor in the literature (J. M. Ver Hoef, 2008), incorporates possible spatial correlation in the data and also incorporates an appropriate variance reduction for sampling from a finite population. In the remainder of the paper, we give an overview of both the background of the method and of the sptotal package.

PubMed Disclaimer

References

    1. Cressie N (2015). Statistics for spatial data - revised edition. John Wiley & Sons.
    1. Dumelle M, Higham M, & Ver Hoef JM (2023). spmodel: Spatial statistical modeling and prediction in R. PLOS ONE, 18(3), e0282524. doi:10.1371/journal.pone.0282524 - DOI - PMC - PubMed
    1. Dumelle M, Higham M, Ver Hoef JM, Olsen AR, & Madsen L (2022). A comparison of design-based and model-based approaches for finite population spatial sampling and inference. Methods in Ecology and Evolution, 13(9), 2018–2029. doi:10.1111/2041-210X.13919 - DOI - PMC - PubMed
    1. Fix E (1985). Discriminatory analysis: Nonparametric discrimination, consistency properties (Vol. 1). USAF school of Aviation Medicine. doi:10.1037/e471672008-001 - DOI
    1. Pebesma EJ (2004). Multivariable geostatistics in S: The gstat package. Computers & geosciences, 30(7), 683–691. doi:10.1016/j.cageo.2004.03.012 - DOI

LinkOut - more resources