B. Conn, Paul T. McClintock, Brett Cameron, Michael F. S. Johnson, Devin Moreland, Erin E. L. Boveng, Peter Supplement 1. Requisite data and R script files necessary to conduct the simulation study and perform analyses of ice-associated seal densities in the Bering Sea. <h2>File List</h2><div> <p>1. <a href="MCMC_simple.r">MCMC_simple.r</a> (MD5: e4e851bf6ceed824025ae6f5f7d414cc)</p> <p>2. <a href="run_sims_double.r">run_sims_double.r</a> (MD5: ca75d138f8ef241ca1427d6e6ff70399)</p> <p>3. <a href="run_sims_double_PO.R">run_sims_double_PO.R</a> (MD5: 49dce2eaee28bfd2640405a9bbea0a1c)</p> <p>4. <a href="run_sims_double_Mis.R">run_sims_double_Mis.R</a> (MD5: 25f00cb61b9e943cc6414ffaca9f01ef)</p> <p>5. <a href="run_sims_single.R">run_sims_single.R</a> (MD5: dd43419d1e359e2b9348ba3cc6b51715)</p> <p>6. <a href="run_double_only_hab.R">run_double_only_hab.R</a> (MD5: 3fdd916184d710f198f081d41f986e95)</p> <p>7. <a href="run_double_only_nohab.R">run_double_only_nohab.R</a> (MD5: 2c264f955d2e2911508a0cf58eb07cc1)</p> <p>8. <a href="run_double_only_pooled.R">run_double_only_pooled.R</a> (MD5: be47889c03d27aab86ace13dc279a5ac)</p> <p>9. <a href="PolarData_Bins234.RData">PolarData_Bins234.RData</a> (MD5: 85faa1757702073f34f3525b70816bf3)</p> <p>10. <a href="Statistics_OnEffort_ByEvent.csv">Statistics_OnEffort_ByEvent.csv</a> (MD5: cb2fa96fc0627d412b2b85327fe63262)</p> <p>11. <a href="ObsInfo.csv">ObsInfo.csv</a> (MD5: 27027e601f80d14895d51d98fc90a206)</p> <p>12. <a href="Scale.csv">Scale.csv</a> (MD5: a4e223f8fcf3063ba2c8236b697ac52b)</p> </div><h2>Description</h2><div> <p>The simulation study uses six R scripts to simulate data and perform MCMC. As suggested by their names, the scripts run_sims_single.R, run_sims_double.r, run_sims_double_PO.R, and run_sims_double_Mis.R are essentially drivers to run simulations for single observer surveys, double observer surveys (with both misclassification and "unknown" species), double observer surveys with partial species observation, and double observer surveys with misclassification (but no unknown species category), respectively. These scripts call functions to simulate and analyze data, all of which are included in MCMC_simple.r.</p> <p> The seal analysis relies heavily on the R package, hierarchicalDS (v2.0), which is available as a supplementary .zip file, as well on the comprehensive R archive network (CRAN; cran.r-project.org). The package contains all additional requisite R code together with help files. The scripts, run_double_only_hab.R, run_double_only_nohab.R, and run_double_only_pooled.R format data and call hierarchicalDS to run models λ(<i>cov, j</i>), λ(<i>j</i>) and λ(<i>pooled</i>), respectively. Each of these scripts references several data files. In particular, PolarData_Bins234.Rdata includes double observer data, where each row represents a different observation, and columns consist of "Transect" (transect identifier; transects 1–19 included double observers), "Match" (which delineates individual groups of seals), "Observer" (a factor variable giving observer ID), "Obs" (= TRUE if the observer saw the group of seals and FALSE otherwise), "Species" (an integer giving the species seen; 0 = missed, 1 = bearded, 2 = ribbon, 3 = ringed, 4 = spotted, 5 = unknown), Alt.500 (an indicator for whether altitude own was 500 feet (Alt.500 = 1), or 400 feet (Alt.500 = 0), "Pos" (an indicator for whether the observation was made in the back seat (Pos = 1) or front seat (Pos = 0), "Distance" (distance bin 2, 3, or 4), and "Group" (integer giving the number of individuals associated with the current observation). We use data from the field "SumOfSumOfElapDist" in file Statistics_OnEffort_ByEvent.csv to give distance (in km) for each transect; data from the fields "Event", "Side," and "Observer" in the file ObsInfo.csv provide information on the transect, seat in the aircraft (L = left [not used in the analysis], R = front seat, S = back seat), and observer ID associated with each transect; data from the fields Bin, Altitude, and BinWidth_m from the file Scale.csv provide information on the relative bin width (in m) for different bins and altitudes.</p></div> species misidentification;quadrat sampling;abundance estimation;partial state observation;species misclassification;distance sampling;latent state model;complete data;animal density;Environmental Science;Ecology 2016-08-10
    https://wiley.figshare.com/articles/dataset/Supplement_1_Requisite_data_and_R_script_files_necessary_to_conduct_the_simulation_study_and_perform_analyses_of_ice-associated_seal_densities_in_the_Bering_Sea_/3557955
10.6084/m9.figshare.3557955.v1