r4ss - R Code for Stock Synthesis
A collection of R functions for use with Stock Synthesis, a fisheries stock assessment modeling platform written in ADMB by Dr. Richard D. Methot at the NOAA Northwest Fisheries Science Center. The functions include tools for summarizing and plotting results, manipulating files, visualizing model parameterizations, and various other common stock assessment tasks. This version of '{r4ss}' is compatible with Stock Synthesis versions 3.24 through 3.30 (specifically version 3.30.24.00-prerel, from July 2025). Support for 3.24 models is only through the core functions for reading output and plotting.
Last updated
fisheriesfisheries-stock-assessmentstock-synthesis
11.96 score 47 stars 2 dependents 2.1k scripts 352 downloads
MARSS - Multivariate Autoregressive State-Space Modeling
The MARSS package provides maximum-likelihood parameter estimation for constrained and unconstrained linear multivariate autoregressive state-space (MARSS) models, including partially deterministic models. MARSS models are a class of dynamic linear model (DLM) and vector autoregressive model (VAR) model. Fitting available via Expectation-Maximization (EM), BFGS (using optim), and 'TMB' (using the 'marssTMB' companion package). Functions are provided for parametric and innovations bootstrapping, Kalman filtering and smoothing, model selection criteria including bootstrap AICb, confidences intervals via the Hessian approximation or bootstrapping, and all conditional residual types. See the user guide for examples of dynamic factor analysis, dynamic linear models, outlier and shock detection, and multivariate AR-p models. Online workshops (lectures, eBook, and computer labs) at <https://atsa-es.github.io/>.
Last updated
multivariate-timeseriesstate-space-modelsstatisticstime-series
10.64 score 54 stars 3 dependents 792 scripts 1.5k downloads
mizer - Dynamic Multi-Species Size Spectrum Modelling
A set of classes and methods to set up and run multi-species, trait based and community size spectrum ecological models, focused on the marine environment.
Last updated
ecosystem-modelfish-population-dynamicsfisheriesfisheries-managementmarine-ecosystempopulation-dynamicssimulationsize-structurespecies-interactionstransport-equationcpp
9.70 score 43 stars 310 scripts 468 downloads
FIMS - The Fisheries Integrated Modeling System
The Fisheries Integrated Modeling System is a next-generation framework of stock assessment models, assisting fishery managers with the goal of achieving sustainable fisheries. This system, when completed in a few years, offers the NOAA Fisheries and global fisheries science communities an advanced set of stock assessment models. These tools can be used separately or in combination to incorporate ecosystem and socioeconomic data and models, as well as climate effects and other drivers within the marine environment, into stock assessment models.
Last updated
noaa-nsapstock-assessmentcpp
8.95 score 36 stars 74 scripts
Rpath - R implementation of Ecopath with Ecosim
This package implements the core mass balance equations made popular by Ecopath with Ecosim. There are two parts to the package, the static snapshot of energy flow through the system using rpath and dynamic simulations run using the rsim family of functions.
Last updated
cpp
7.93 score 41 stars 136 scripts
nmfspalette - A Color Palette for NOAA Fisheries
This is a package that implements a color palette in line with the NOAA Fisheries Branding Guide.
Last updated
color-palettenoaanoaa-nsap
7.29 score 36 stars 96 scriptsadnuts - No-U-Turn MCMC Sampling for 'ADMB' Models
Bayesian inference using the no-U-turn (NUTS) algorithm by Hoffman and Gelman (2014) <https://www.jmlr.org/papers/v15/hoffman14a.html>. Designed for 'AD Model Builder' ('ADMB') models, or when R functions for log-density and log-density gradient are available, such as 'Template Model Builder' models and other special cases. Functionality is similar to 'Stan', and the 'rstan' and 'shinystan' packages are used for diagnostics and inference.
Last updated
6.43 score 25 stars 72 scripts 283 downloads
FishSET - Spatial Economics Toolbox for Fisheries
The Spatial Economics Toolbox for Fisheries (FishSET) is a set of tools for organizing data; developing, improving and disseminating modeling best practices.
Last updated
economicslocation-choice-modelnwfsc-framcpp
6.41 score 9 stars 12 scripts
ghactions4r - Use GitHub Actions Reusable Workflows for R Packages
Provides functions to allow users to set up github action workflows related to R packages.
Last updated
github-actionsnoaanoaa-fisheries
5.68 score 16 stars 2 scriptsasar - Build NOAA Stock Assessment Report
Build a full or update stock assessment report for any stock assessment model. Parameterization allows the user to call a template based on their regional science center, species, area, ect.
Last updated
latexnoaa-nsapquartostock-assessmentstock-assessment-reports
5.49 score 44 stars 14 scriptsSSMSE - Management Strategy Evaluation (MSE) using Stock Synthesis (SS)
An R package for performing Management Strategy Evaluation (MSE) using Stock Synthesis (SS3). SS3 is used as the Operating Model (OM) and, if the user desires, the Estimation model (EM). SSMSE allows existing SS3 models to be used as the basis for an OM. These OMs are used in the MSE framework provided by SSMSE to evaluate the implications of management actions on a population given uncertainty.
Last updated
stock-synthesis
4.89 score 21 stars 61 scriptsAgeingError - Estimating ageing error with 'TMB' from double reads
Implements Generalized Linear Mixed Effect Models (GLMMs) using TMB to estimate ageing error from double reads of otoliths. The original analysis (Punt et al. 2008; <doi:10.1139/F08-111>) was written in ADMB and focused on estimating imprecision and bias. The newer version of the software allows for random effects using TMB.
Last updated
cpp
4.52 score 11 stars 9 scripts
NWCTrends - Standardized Trend Metrics for Salmonid Populations
This is runs the standardized trends metrics used in the 2016 and 2020 5-year NWFSC Viability Reports for listed PNW salmonids. To run, type library(NWCTrends) and then NWCTrends_report().
Last updated
marssnoaaprotected-speciessalmontime-series
3.48 score 2 stars 7 scripts
rCAX - Coordinated Assessments REST API R Client
This package is an R client for the StreamNet Coordinated Assessments HLI REST API.
Last updated
noaarest-apisalmon
2.85 score 5 stars 14 scriptsageproR - R package interface for AGEPRO (Age Structured Projection Model) data
Object-oriented data structures based on the input file format defined in the Age Structured Projection Model Reference Manual. Includes support modules for AGEPRO input file support, and experimental JSON input file format.
Last updated
2.60 score 1 stars 2 scripts
FishEconProdOutput - Price Method Fisheries Economics Total Factor Productivity Outputs
Here we provide methodology guidelines on how to calculate fishery productivity measurement at the individual fishery and aggregate sector levels. Attention is given to the constructions of output and total factor productivity based on available data and a bottom-up approach. Given that there is no nation-wide standard cost survey, we recommend starting with measuring TFP at the fishery level based on a translog gross output production possibility frontier using index number techniques. Special attention is given to measuring quality-adjusted physical capital inputs in the bottom-up approach.
Last updated
departmenteconomicsfisheriesnational-oceanicnoaanoaa-fisheries-officeproductivityopenjdk
1.70 score
