Supplement 1. WinBUGS model specification for European Crossbill and Cerulean Warbler examples in the paper. J. Andrew Royle Marc Kéry 10.6084/m9.figshare.3527996.v1 https://wiley.figshare.com/articles/dataset/Supplement_1_WinBUGS_model_specification_for_European_Crossbill_and_Cerulean_Warbler_examples_in_the_paper_/3527996 <h2>File List</h2><blockquote> <p><a href="crossbill.txt">crossbill.txt</a> -- Crossbill example</p> <a href="cerulean.txt">cerulean.txt</a> -- Cerulean Warbler example<br> </blockquote><h2>Description</h2><blockquote> <p>The file crossbill.txt contains the WinBUGS model specification for the Crossbill example in which the model parameters (detection probability, survival, and colonization) are all year-specific. The following variables in the model specification are data that must be supplied by the user: </p> <ul> <li>y[i,j,t] are the observations, referenced by a three-dimensional array with indices i (site), j (rep), and t (year). </li> <li>nyear : number of years of data (or primary periods) </li> <li> nsite : number of sites or sample locations </li><li> nrep : number of replicates per secondary period (within years) </li> </ul> The interested reader can consult the WinBUGS manual for formatting data for input into WinBUGS. The authors used the R library R2WinBUGS. <br> <br> The file cerulean.txt contains the WinBUGS model specification for the Cerulean Warbler example in the paper. In this example, heterogeneity in model parameters among sites was allowed, in addition to yearly variation. The data structure is slightly different than in the previous example as they are the number of detections per sample unit per year (i.e., summed over all nrep secondary samples). <ul> <li>x[i,t] are the observations, referenced by a two-dimensional matrix with indices i (site), and t (year). The model assumes that these are binomial counts based on a sample size of 50 (the number of replicate samples, or sub-samples along the BBS route) </li> <li>nyear : number of years of data (or primary periods) </li> <li> nsite : number of sites or sample locations </li> </ul> </blockquote> 2016-08-05 05:15:22 presence/absence data Bayesian analysis range dynamics WinBUGS hierarchical models state-space models site occupancy heterogeneity detection probability turnover Environmental Science Ecology