Skip to main content
U.S. flag

An official website of the United States government

Here’s how you know

Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

HTTPS

Secure .gov websites use HTTPS
A lock ( Lock A locked padlock ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

  • Environmental Topics
  • Laws & Regulations
  • Report a Violation
  • About EPA
Risk Assessment
Contact Us

spsurvey: Spatial survey design and analysis (version 5.0)

On this page:

  • Overview
  • Downloads
spsurvey is an R package used for spatial probability survey design and analysis. Thespsurvey package implements the Generalized Random Tesselation Stratified (GRTS) algorithm to select spatially balanced probability samples via the grts() function. The grts() function flexibly accomodates other sampling design features, including stratification, varying inclusion probabilities, legacy (or historical) sites, minimum distances between sites, and two options for replacement sites. spsurvey also implements population paraemter estimation using a suite of analysis approaches, including categorical variable analysis (cat_analysis()), continuous variable analysis (cont_analysis()), relative risk analysis (relrisk_analysis()), attributable risk analysis (attrisk_analysis()), risk difference anlysis (diffrisk_analysis()), change analysis (change_analysis()), and trend analysis (trend_analysis()).

Impact/Purpose

The spsurvey R package is used to design and analyze monitoring surveys. spsurvey let the user implement complicated statistical approaches in an easy-to-use framework, leading to better sampling plans and analysis approaches. To date, the spsurvey R package has been downloaded nearly 80,000 times by researchers inside of and outside of EPA. Notably, spsurvey is used to design and analyze the National Acquatic Resource Surveys (NARS) at EPA. The newest update to spsurvey is version 5.0, which provides several new features and quality of life upgrades to spsurvey. 

Citation

Dumelle, M., Tom Kincaid, Tony Olsen, AND M. Weber. spsurvey: Spatial survey design and analysis (version 5.0). U.S. Environmental Protection Agency, Washington, DC, 2021.

Download(s)

  • https://cran.r-project.org/web/packages/spsurvey/index.html
  • Risk Assessment Home
  • About Risk Assessment
  • Risk Recent Additions
  • Human Health Risk Assessment
  • Ecological Risk Assessment
  • Risk Advanced Search
    • Risk Publications
  • Risk Assessment Guidance
  • Risk Tools and Databases
  • Superfund Risk Assessment
  • Where you live
Contact Us to ask a question, provide feedback, or report a problem.
Last updated on November 24, 2021
United States Environmental Protection Agency

Discover.

  • Accessibility Statement
  • Budget & Performance
  • Contracting
  • EPA www Web Snapshots
  • Grants
  • No FEAR Act Data
  • Privacy
  • Privacy and Security Notice

Connect.

  • Data
  • Inspector General
  • Jobs
  • Newsroom
  • Open Government
  • Regulations.gov
  • Subscribe
  • USA.gov
  • White House

Ask.

  • Contact EPA
  • EPA Disclaimers
  • Hotlines
  • FOIA Requests
  • Frequent Questions

Follow.