No articles match
Model options and functionality 10 days ago
1. Model dimensions and operating mode | msmMode — single-species vs. multi-species | initMode — initial age structure | estimateMode — what does fit_mod() actually do? | Random-effects toggles | 2. Predation: suitMode (per predator) | 3. Selectivity (per fleet) | 4. Catchability (per fleet) | 5. Composition likelihoods | 6. Recruitment / stock-recruit (recFun = build_srr()) | 7. Natural mortality (M1Fun = build_M1()) | M1_model — fixed-effects structure of M1 | M1_re — random-effects structure on M1 | 8. Growth and weight-at-age (growthFun = build_growth()) | growth_model — fixed-effects structure of growth | growth_re — random effects on growth | 9. Harvest control rules (HCR = build_hcr()) | 10. Projection and MSE | 11. Diagnostics and inference | 12. Plotting | References
Rceattle: An Introduction 10 days ago
Overview | 1. Installation | 2. Data | 3. Fit models | 4. Compare models | 5. Model plots and diagnostics
HCRs and MSEs: an introduction 10 days ago
Fitting OMs | Fitting EMs (Tier 3 HCR) | Running MSEs | Reproducibility | Evaluating MSEs via plots | Summary statistics | Alternative scenarios | Different BRPs | Triannual BTS | 4-year cycle and 50% sampling | Climate MSE | Climate linked OM | Run MSE | Overall summary
Model diagnostics 10 days ago
Setup and plotting data | S3 Methods | Convergence diagnostics | Fit plots | Composition data | Survey indices | Catch | One-step-ahead (OSA) residuals | Process residuals | Retrospective analysis | Jitter testing | Self-test (simulation–estimation) | Likelihood profile | Comparing single- and multi-species trajectories | Model average
Projections and reference points 10 days ago
Setup | Fixed-F projections | Recruitment in the projection period | Manual recruitment deviations | Stochastic recruitment via sample_rec() | Comparing projection scenarios | Random recruitment effects | Available harvest control rules
Single- vs. multi-species models 10 days ago
When to use each mode | Bering Sea example | Gulf of Alaska example | Predator-prey suitability (suitMode) | Comparing outputs
Building a data object in R 10 days ago
Required vs. optional fields | Setup | 1. Species / model controls | 2. Fleet control table | 3. Survey index data | 4. Catch data | 5. Composition data (optional) | 6. Conditional age-at-length (CAAL) data (optional) | 7. Biological inputs | Age-to-length transition matrix | Ageing error matrix | Weight-at-age | Maturity-at-age | Sex ratio at age | Fixed selectivity (optional) | Fixed numbers-at-age (optional) | Natural mortality (M1 base) | Environmental covariate data (optional) | 8. Multi-species bioenergetics parameters (optional in single-species mode) | 9. Validate and fit | 10. Export back to Excel (optional)
Converting from Stock Synthesis 10 days ago
Model controls | Fleets | Catch data | Survey indices | Composition data | Ageing error | Weight-at-age | Other inputs | Verifying the conversion against SS | See also
Model parameterizations 10 days ago
In progress! | Population dynamics | Predation sub-model | Suitability | MSVPA Type 2 based suitability | Predation mortality | Single-species mode | MSVPA Type 2 based predation mortality | MSVPA Type 3 based predation mortality | Consumption | Bioenergetics based ration | Input ration-at-age | Fishery and survey observation model | Selectivity parameterizations | Fixed selectivity | Non-parametric (Type 1) | Logistic | Time-varying logistic | Double logistic | Time-varying double logistic 1 (ascending and descending time-varying parameters) | Time-varying double logistic 2 (random walk ascending-time varying parameters) | Descending logistic | Time-varying descending logistic | Non-parametric (Type 2) | Time-varying non-parametric (Type 2 for hake) | Catchability parameterizations | Linear time-invariant catchability formulations | Time-varying catchability formulations
Environmental linkages and priors: a formula-driven API10 days ago
Overview | A first example: temperature on K | The linkage_spec() API | Priors | Putting a prior on the parameter itself | Growth SD endpoints | Species- and (species, sex)-specific priors | Per-species formulas | Per-sex formulas | Polynomial and basis-expansion formulas | How the pieces fit together | Natural mortality | Recruitment | A multi-process example | Inspecting and debugging | Behind the scenes: automatic base-parameter handling | init and the base parameter | Stratification | Single-sex models and by = ~ ... + sex | On the roadmap | See also
Growth estimation with linkages and priors10 days ago
Overview | Load data and inspect the growth dataset | Build a growth model with linkages | What this linkage does | Fit the model | Inspect the linkage table and prior contributions | Compare with an unlinked baseline model and Richards model | Notes on priors through linkages
Frequently Asked Questions (FAQs)14 days ago
Captions and alternative text (alt text) | How are captions and alt text constructed? | How can I alter the captions and/or alt text? | If I recreate a figure or table, will its caption and/or alt text be updated/overwritten? | How can I change or update captions and alt text? | Individual figures/tables (e.g., plot_biomass()) | All available figures and tables (e.g., save_all_plots())
Introduction to r4ss15 days ago
Installing the r4ss R package | Basic installation | Loading the package and reading help pages | Alternative versions | Reading model output and making default plots | Creating select plots | Scripting Stock Synthesis workflows with r4ss | Read in Stock Synthesis files | Investigate the model | Modify the model | Write out the modified models | Download the Stock Synthesis executable from GitHub | Run the modified model | Investigate the model run | Should I script my whole Stock Synthesis workflow? | Functions for common stock assessment tasks | Running retrospectives | Jittering | Tuning composition data
Getting started with mizer19 days ago
Overview | Installing mizer | Setting the model parameters | Running a simulation | Exploring the results | Size-spectrum models | Single-species model | Community model | Trait-based model | Multispecies model | Which model to use | References
Estimating ageing error using the TMB model written by André Punt27 days ago
Introduction | R package | Input files | Data file | Separate Data Sets | Combined Data Set | Other Considerations | Specifications file | Bias options | Sigma options | Example Specifications file | Examples | Blue Grenadier | Bight Redfish | School Whiting | Sablefish | Trouble Shooting | Acknowledgements | References
R-based workflow for the AgeingError package27 days ago
Helper functions in AgeingError | Writing the data file | Writing the specifications file | Convenience wrapper: write_files() | Running the model
Running a Simple Assessment (The Basics)1 months ago
Load data and packages | Setup model | Setup Recruitment Dynamics | Setup biological dynamics | Setup Movement and Tagging | Setup Catch and Fishing Mortality | Setup Fishery Indices and Compositions | Setup Survey Indices and Compositions | Setup Fishery Selectivity and Catchability | Setup Survey Selectivity and Catchability | Setup Model Weighting | Fit model | Fit model (Without Francis) | Fit model (With Francis) | Check Model Results | Convergence | Time Series Results | Catch and Index Fits | Composition Fits | Fishery Ages | Fishery Lengths | Survey Ages | Retrospectives | Retrospectives (Without Francis) | Retrospectives (With Francis) | Likelihood Profiles | Jitter Analysis | MCMC | Reference Points and Projections | Reference Points | Projections | Spawning Biomass Projections | Catch Projections | Catch Advice under $F_{40%}$ | Fishing Mortality Projections
Alternative Approaches for Movement Parameterization2 months ago
Unstructured Markov | Age Blocks | Year Blocks | Sex Blocks | Blocks Across all Dimensions | Continuous-Time Markov Chain (CTMC) | Constant Movement | Age-Varying | Linear | Spline | Movement Across all Dimensions | Process Error
Standardizing Assessment Model Output2 months ago
Background | Set up and format | Naming Conventions | Final Formatting | Helpful Functions to Manipulate Data
Customizing {r4ss} output and posting to github pages3 months ago
Overview | Creating plots | Example: Creating plots from simple and adding a custom tab | read model output | make the default plots and associated HTML files | Make custom plots and write CSV file with info about them | Add custom plots to the .csv | Getting the plots onto github
No-U-turn sampling for ADMB models3 months ago
Summary | Sampling for ADMB models | Setting up the model | Sampling with sample_nuts and sample_rwm | mceval phase and posterior outputs | Bounds & Priors | Initializing chains | Parallel sampling | Diagnostics and plotting results | Diagnosing MCMC chains | Plotting output | Mass matrix adaptation | Sampling for TMB models | The no-U-turn sampler implementation | Brief review of Hamiltonian Monte Carlo | Algorithm implementation details | User intervention | Algorithm validity | References
How captions and alternative text are generated4 months ago
Templates | Calculating and exporting captions and alternative text | Connecting the tables & figures with the captions & alternative text | Expected outcomes | Single plot functions | Multi-plot functions
Description of Model and Data Dimensions4 months ago
Data Inputs for Defining Model Dimensions | Data Inputs for Defining Recruitment Processes | Data Inputs for Defining Biological Processes | Data Inputs for Defining Movement Processes | Data Inputs for Defining Tagging Processes | Data Inputs for Defining Catch and Fishing Mortality Processes | Data Inputs for Defining Fishery Indices and Compositions | Data Inputs for Defining Survey Indices and Compositions | Data Inputs for Defining Fishery Selectivity and Catchability | Data Inputs for Defining Survey Selectivity and Catchability | Data Inputs for Defining Model Weighting
Description of Model Parameters4 months ago
Fishery Removals | Fishery Selectivity | Fishery Catchability | Fishery Composition Likelihoods | Survey Selectivity | Survey Catchability | Survey Composition Likelihoods | Natural Mortality | Recruitment | Movement | Tagging
Description of Model Equations4 months ago
Process Equations | Population Initialization | Recruitment Processes | Population Projection | Movement Processes | Observation Equations | Fishery Observation Model | Survey Observation Model | Tagging Observation Model | Fishery and Survey Selectivity | Likelihoods | Observation Likelihoods | Fishery Catches | Fishery and Survey Indices | Fishery and Survey Compositions | Structuring Compositions and Ageing Error | Tagging | Parameter Priors and Process Error Penalties | Parameter Priors | Natural Mortality | Fishery and Survey Catchability | Steepness | Recruitment Proportions | Movement | Tag Reporting Rates | Process Error Penalties | Initial Age Deviations | Recruitment Deviations | Fishing Mortality Deviations | Joint Likelihood | References
Description of Model Report4 months ago
Biological Processes | Fishery Processes | Survey Processes | Tagging Processes | Likelihoods | Parameter Deviations | Derived Quantities (also reported in ADREPORT)
Setting up a Spatial Model (Alaska Sablefish)4 months ago
Setup Model Dimensions | Setup Recruitment Dynamics | Setup Biological Dynamics | Setup Movement and Tagging Dynamics | Setup Catch and Fishing Mortality | Setup Index and Composition Data (Fishery and Survey) | Setup Selectivity and Catchability (Fishery and Survey) | Setup Model Weighting | Fit Model and Plot
Run Closed Loop Simulations4 months ago
Define Operating Model | Define Management Options | Define Estimation Model | Define and Run Closed-Loop Simulation
Deriving Reference Points, Catch Advice, and Projections4 months ago
Reference Points | Single Region | Spawning Potential Ratio | Maximum Sustainable Yield (Beverton-Holt) | Multi-Region | Independent | Global | Local | Deriving Catch Advice and Projections | Code Demonstration | Getting Reference Points | Multi Region | Conducting Catch Projections to Derive Catch Advice (Deterministic Recruitment) | Conducting Stochastic Population Projections | References
Starting Values and Fixing (and Sharing) Parameters4 months ago
Starting Values | Mapping | Fixing Parameters | Sharing Parameters
Defining Priors4 months ago
Steepness | Natural Mortality | Catchability | Selectivity | Movement | Tag Reporting Rates | Recruitment Proportions
Testing Management Procedures via Closed Loop Simulations (Dusky Rockfish)4 months ago
Overview | Estimation Model | Projection Options | Functions to Determine Catch | Management Procedures | Simulation Loop (Single Replicate) | Simulation Loop (Parrallelized) | Condition Closed Loop Simulation | Run Simulations | Process Results | Visualize
Expanding bycatch estimates4 months ago
Load data | Simple model with constant bycatch, no covariates | Make table of expanded bycatch estimates | Make table of total bycatch estimates | Derived quantities | Simulating future values
Diagnosing errors5 months ago
Load data | Simple model with constant bycatch, no covariates
Fitting models with the bycatch package5 months ago
Load data | Simple model with constant bycatch, no covariates | Make plots | Extracting model selection information (LOOIC) | Negative binomial example | Zero - inflated example | Continuous models | Example with covariates | Fit model with time-varying effects | Fit model with no bycatch events
Multi-stream monitoring5 months ago
Overview | Simple two-stream example | Fitting a multi-stream model | Plotting results | Stream-specific summaries | Three-stream example | Comparing to pooled data | Different distributions | Adding covariates | Time-varying effects
Overview of bycatch package6 months ago
Overview | Other families | Fixed effect covariates | Time varying parameters | Expanding estimates
Random Effects (Selectivity Example; Eastern Bering Sea Pollock)8 months ago
Setting up a Single Region Model (Eastern Bering Sea Pollock)8 months ago
Setup Model Dimensions | Setup Recruitment Dynamics | Setup Biological Dynamics | Setup Movement and Tagging | Setup Catch and Fishing Mortality | Setup Fishery Indices and Compositions | Setup Survey Indices and Compositions | Setting up Fishery Selectivity and Catchability | Setting up Survey Selectivity and Catchability | Setup Model Weighting | Fit Model and Plot
Description of Simulation Dimensions9 months ago
Simulation Settings | Population, Recruitment, and Biological Processes | Fishery Processes | Survey Processes | Tagging
Scallop Conditional Logit Model Example9 months ago
Introduction | Packages | Load Data | QAQC | Create Centroids | Alternative Choice | Expected Catch | Model Design | Run Models
Simulation Testing (Cross and Self Tests)9 months ago
Simulation Cross-Testing in SPoRC | Define Model Dimensions | Fishing Processes | Survey Processes | Biological Dynamics | Tagging and Movement | Recruitment | Run the Operating Model | Define Estimation Model | Run Cross-Test Analysis | Self Testing
Setting up a Single Region Model (Alaska Sablefish)10 months ago
Setup Model Dimensions | Setup Recruitment Dynamics | Setup Biological Dynamics | Setup Movement and Tagging Dynamics | Setup Catch and Fishing Mortality | Setup Index and Composition Data (Fishery and Survey) | Setup Selectivity and Catchability (Fishery and Survey) | Setup Model Weighting | Fit Model and Plot
Convert EwE to Rpath10 months ago
Model parameters | Differences between Rpath and EwE balances
Set up a food web model10 months ago
Setting up a food web model | Parameter file generation | Model parameters | Stanza Parameters | Diet Parameters | Pedigree parameters
Additional steps for setting up workflows for your R package11 months ago
Setting up pkgdown | Setting up code coverage
Create your own likelihood function1 years ago
Introduction | Development guidelines | Create a likelihood function | Input arguments | Function body | Integrating your function with FishSET | Review code and test function | Create a pull request
Create a static food web model in Rpath1 years ago
Running Rpath
Generating an Rsim ensemble with Ecosense1 years ago
Ecosense | Setting up Ecosense | Generating an ensemble of Ecosim parameter sets | Run the kept systems with a perturbation
Rpath: an open source food web model1 years ago
Installation | References
Run a dynamic food web simulation in Rsim1 years ago
UnitTests1 years ago
Unit Tests | Details | Regenerating Baseline Files | List of Tests | AB and RK4 Sim Run Tests: | AB and RK4 Sim Run Tests with Jitter on ForcedBiomass: | AB and RK4 Sim Run Tests with Jitter on ForcedMigrate: | AB and RK4 Sim Run Tests with Stepped Noise on ForcedBiomass: | AB and RK4 Sim Run Tests with Stepped Noise on ForcedMigrate: | AB and RK4 Sim Run Tests with Jitter on ForcedEffort: | AB and RK4 Sim Run Tests with Jitter on ForcedFRate: | AB and RK4 Sim Run Tests with Jitter on ForcedCatch: | AB and RK4 Sim Run Tests with Stepped Noise on ForcedEffort: | AB and RK4 Sim Run Tests with Stepped Noise on ForcedFRate: | AB and RK4 Sim Run Tests with Stepped Noise on ForcedCatch: | Figures | Example plots:
Testing palettes for color vision deficiency1 years ago
Background | Install packages | Load libraries | Create a function that shows perceptions of palettes | Test main palettes | Test alternative regional color palette | Create alternative palettes | Show alternative palettes | Show alternative palettes in figures
NOAA Themed Presentations1 years ago
Theming presentations | Color theming | Font theming | Background images | Extra css
Dependency Graph1 years ago
Dependency graph
Back up GitHub repositories1 years ago
Installation | Configuration | Create a token | Back up repositories | Upload the zip file to a Google Drive folder | Schedule the run
Check GH size1 years ago
Overview | Installation | Using the dir_size function | Output
Making a spatial grid file1 years ago
Load packages | Create a spatial grid | Add zone ID variable to the spatial object | Plot | Save spatial grid | Reassign zone ID in primary data
Scallop Example2 years ago
Introduction | Packages | Project Setup | Data Import | Fleet assignment | Bin Gears | Operating Profit | Summary Table | QAQC | NA Check | NaN Check | Unique Rows | Empty Variables | Lon/Lat Format | Spatial QAQC | Data Creation | Landing Year | Scale LANDED_OBSCURED to thousands of pounds | Catch per Unit Effort (CPUE) | CPUE Percent Rank | Value Per Unit Effort | VPUE Percent Rank | Fleet Tabulation | Zone Assignment | Closure Area Assignment | Zone Summary | Frequency | Catch | Trip Length | CPUE | VPUE | Other Spatial Units | Outliers | POUNDS | Temporal Plots | Scatter Plots | Correlation Matrix | Active Vessels | Distributions | LANDED_OBSCURED
FishSET GUI Quickstart Guide2 years ago
Introduction | FishSET GUI | Opening the FishSET GUI | Using the FishSET GUI | Upload Data | Data Quality Evaluation | Explore the Data | Data Exploration | Simple Analyses | Map Viewer | Compute New Variables | Fleet Assignment and Summary | Fleet assignment | Fleet Summary | Define Alternative Fishing Choices | Expected Catch/Revenue | Models | Policy | Zone Closure | Run Policy | Bookmark Choices | Generating reports
FishSET R package functions2 years ago
Reproducibility
Comparison with other packages2 years ago
Comparison with phylolm | Generalized linear models | Poisson-distributed response | Binomial regression | Summary of PGLM results | Compare with phylopath | Comparison with sem | Comparison with Rphylopars
Demonstration of selected features2 years ago
Estimability for multiple covariance transformations | Scaling of runtime with increased tree size
Detailed comparison with phylopath2 years ago
Model comparison: some important differences | Model fitting: sometimes different
Phylogenetic comparative methods in fisheries science2 years ago
Preparing the Then et al. mortality database | Fitting and selecting among phylogenetic structural equation models | Visualizing output | Sensitivity to using taxonomic tree
Overview of the bayesdfa package3 years ago
Introduction to the DFA model | DFA model with no extreme events | DFA model with extreme events | Fitting DFA models with non-Gaussian families | Alternative loadings for DFA models | Including autoregressive (AR) or moving-average (MA) components on trends | Applying Hidden Markov Models to identify latent regimes | DFA model with weights
Learning MARSS3 years ago
Documentation | Tutorials | For Statisticians | CITATION | PUBLICATIONS | NOAA Disclaimer
EM_Derivation3 years ago
Quick Start Guide3 years ago
tldr; | The MARSS model | Model specification | Data and fitting | Data | Fit call | Different fitting methods | Defaults for model list | form="marxss" | form="dfa" | Showing the model fits and getting the parameters | Tips and Troubleshooting | Tips | Troubleshooting | More information and tutorials | Shortcuts and all allowed model structures | Z | B | U and x0 | A | Q, R and V0 | D and C | d and c | G and H | Covariates, Linear constraints and time-varying parameters | Covariates | Linear constraints | Time-varying parameters
Residuals3 years ago
User Guide3 years ago
Combining data with bayesdfa3 years ago
Example
Estimating process trend variability with bayesdfa3 years ago
Case 1: unequal trend variability | Candidate models | Recovering loadings | Recovering trends | Summary
Examples of fitting DFA models with lots of data3 years ago
Data simulation | Sampling argument | Posterior optimization | Posterior approximation
Examples of fitting smooth trend DFA models3 years ago
Data simulation | Estimating trends as B-splines | Estimating trends as P-splines | Estimating trends as Gaussian processes | Comparing approaches
Examples of including covariates with bayesdfa3 years ago
Notation review for DFA models | Observation covariates | Process covariates | Examples -- observation covariates | Examples -- process covariates
Fitting compositional dynamic factor models with bayesdfa3 years ago
2 - trend model | 3 - trend model
Example r4ss plots3 years ago
LHsampling_vignette4 years ago
simulate_population_harvest IBM to simulate a fish population and catches. | LH_sample Bootstrap sampling routine to estimate life history parameters | LH_plot Produce plots from an LH_sample object
Methods5 years ago
Common metrics for ESUs | Dynamic linear modeling for time-varying trend estimation | Multivariate DLMs for analysis of multiple time series from one ESU | Treatment of NAs and 0s | Model selection | Code to fit a multivariate DLM | Wild spawner and fraction wild estimates | Summary statistics
Example code5 years ago
Instructions to run a demo | Instructions to run your own data | Modifying the tables
demo-data5 years ago
Notes | Example data file
Example analysis - Woodman et al 20195 years ago
Overview | Import SDM predictions | Overlay predictions | Calculate evaluation metrics | Create and evaluate ensemble predictions | References