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

SSN2: Spatial modeling on stream networks

On this page:

  • Overview
  • Downloads
Spatial statistical modeling and prediction for data on stream networks, including models based on in-stream distance. Models are created using moving average constructions. Spatial linear models, including explanatory variables, can be fit with (restricted) maximum likelihood. Mapping and other graphical functions are included.

Impact/Purpose

The SSN2 R package is a useful modeling tool for data on stream networks. It formally incorporates the idea of spatial covariance, which allows nearby observations to borrow information from one another. Distance is thought of in three components: upstream distance, downstream distance, and Euclidean distance. Models are fit and predictions are possible using familiar R functions. SSN2 is an update to the SSN R package, which has been used to support science in over a hundred peer-reviewed journal articles. 

Citation

Dumelle, M., E. Peterson, J. Ver Hoef, A. Pearse, AND D. Isaak. SSN2: Spatial modeling on stream networks. U.S. Environmental Protection Agency, Washington, DC, 2023.

Download(s)

  • https://cran.r-project.org/web/packages/SSN2/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 13, 2023
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.