Supplement 1. Matlab code to run the simulation/site-selection model and GAUSS code to estimate the stock–recruitment parameters, plus all input files.

2016-08-04T11:12:48Z (GMT) by Stephen C. Newbold Juha Siikamäki

File List

SALMON.m  Main MATLAB program—running this program with current parameter settings will reproduce all of the main results presented in the paper.
SALMON_BH_graphs.m  MATLAB sub-program, called by SALMON.m
SALMON_concentrations.m  MATLAB sub-program, called by SALMON.m
SALMON_ext_probs_fast.m  MATLAB sub-program, called by SALMON.m
SALMON_forecast.m  MATLAB sub-program, called by SALMON.m
SALMON_forecast_Ricker.m  MATLAB sub-program, called by SALMON.m
SALMON_graph.m  MATLAB sub-program, called by SALMON.m
SALMON_header.m  MATLAB sub-program, called by SALMON.m
SALMON_pva_function.m  MATLAB sub-program, called by SALMON.m
SALMON_pva_graph.m  MATLAB sub-program, called by SALMON.m
SALMON_pva_graph_Ricker.m  MATLAB sub-program, called by SALMON.m
SALMON_raw_graph.m  MATLAB sub-program, called by SALMON.m
SALMON_save.m  MATLAB sub-program, called by SALMON.m
SALMON_set_parameters.m  MATLAB sub-program, called by SALMON.m
SALMON_wild_graph.m  MATLAB sub-program, called by SALMON.m
Entiat_boot.txt  Input file for MATLAB programs, called by SALMON_set_parameters.m
Methow_boot.txt  Input file for MATLAB programs, called by SALMON_set_parameters.m
SalmonML.prg  GAUSS code for estimating stock-recruitment parameters for each sub-stock
SalmonRawSpawners.txt  Input file for MATLAB programs, called by SALMON_set_parameters.m
SalmonWildSpawners.txt  Input file for MATLAB programs, called by SALMON_set_parameters.m
WatershedAttributesAndRanks.txt  description
WatershedAttributes.txt  Input file for MATLAB programs, called by SALMON_set_parameters.m
Wenatchee_boot.txt  Input file for MATLAB programs, called by SALMON_set_parameters.m
SALMONsupplement.zip  All supplemental files at once

Description

To reproduce the main results given in the paper, copy all files in the list above to the same folder. Then use Matlab to run SALMON.m, from that folder, which will call the other Matlab subroutines (.m files) and input files (.txt files) as needed. Most of the input parameters can be found in SALMON_set_parameters.m, so that file can be modified to conduct further sensitivity analyses. To re-estimate the stock-recruitment parameters, use GAUSS to run SalmonML.prg.