Summer L. Martin, Stephen M. Stohs, and Jeffrey E. Moore. 2015. Bayesian inference and assessment for rare-event by catch in marine fisheries: a drift gillnet fishery. Ecological Applications 25:416429. http://dx.doi.org/10.1890/14-0059.1


Supplement

R code for estimating models of rare-event protected species bycatch using WinBUGS.
Ecological Archives A025-026-S1.

Copyright


Authors
File list (downloads)
Description


Author(s)

Summer L. Martin
Scripps Institution of Oceanography & NOAA Southwest Fisheries Science Center
8901 La Jolla Shores Drive
La Jolla, California 92037
E-mail: summerLmartin@gmail.com or s2martin@ucsd.edu

Stephen M. Stohs
NOAA Southwest Fisheries Science Center
8901 La Jolla Shores Drive
La Jolla, California 92037

Jeffrey E. Moore
NOAA Southwest Fisheries Science Center
8901 La Jolla Shores Drive
La Jolla, California 92037


File list

Supplement1_WinBUGS_code.R (MD5: 4d951eb09b779baaf882cef3df3d0993)

Description

Supplement1_WinBUGS_code.R – This R code specifies several different models of the bycatch rate for leatherback turtles and humpback whales in the California drift gillnet fishery. The code uses packages R2WinBUGS and Coda within R to communicate with the WinBUGS program and generate posterior distributions for the model parameters. The code includes the raw data on observed fishing sets and bycatch events (takes) of these species for 1990-2009 from the fisheries observer program administered by NOAA Fisheries. Therefore, other users can run the section of code for each model and species and reproduce our model estimation results.