10.6084/m9.figshare.3558303.v1
Jean-Yves Barnagaud
Jean-Yves
Barnagaud
Luc Barbaro
Luc
Barbaro
Julien Papaïx
Julien
Papaïx
Marc Deconchat
Marc
Deconchat
Eckehard G. Brockerhoff
Eckehard
G. Brockerhoff
Supplement 1. Script for the hierarchical model coded in BUGS language and technical specifications.
Wiley
2016
exotic plantations
bird introductions
interspecific interactions
Bayesian hierarchical models
habitat filtering
biological invasions
native forest
Environmental Science
Ecology
2016-08-10 03:53:34
Dataset
https://wiley.figshare.com/articles/dataset/Supplement_1_Script_for_the_hierarchical_model_coded_in_BUGS_language_and_technical_specifications_/3558303
<h2>File List</h2><div>
<p><a href="hierarchical_model_NZ_birds.r">hierarchical_model_NZ_birds.r</a> (MD5: eeeb5ac11c7e8ceacd5bd6fc67d14473)</p>
<p>Script for the hierarchical model coded in BUGS language.</p>
</div><h2>Description</h2><div>
<p>This supplement provides the code of the hierarchical model used in the main analyses. This code can be directly implemented in any BUGS software, although JAGS has proved the most efficient. The code is intended to be easily transferable to similar data sets.</p>
<p>Technical specifications for the main text analyses: three chains of 250 000 iterations were run, plus an adaptation period of 1000 iterations. A burnin period of 125 000 iterations was discarded, the remaining 125 000 were used for inference after thinning by 100. These chains took 15 days to run on a server with the following characteristics:</p>
<p>CPU: 2 x Intel Xeon X5670 2.93 GHz<br>
RAM: 48 GB<br>
Operating system: Microsoft Server 2008 - 64bit<br>
Disk-capacity: 3.63 TB ( 2 x 2 TB disks in RAID-0 configuration) </p>
<p>The data need to be formatted as follows: </p>
<p>obs: a three-dimensional array [sites, replicates, species] for bird counts;</p>
<p>FOR, NATFOR, ALT, YR, VH, HOUR, HOUR2, HDET, SUBZON, TYH, OBSERV , ST: vectors for covariates, each with one value per site. HOUR2 corresponds to HOUR*HOUR. All continuous variables should be centered and scaled to improve convergence;</p>
<p>S: the number of species;</p>
<p>R: the number of sites;</p>
<p>K: the number of replicates;</p>
<p>nobs: the number of different observers;</p>
<p>nsubzone: the number of regions;</p>
<p>nyear: the number of survey years;</p>
<p>NST: the number of guilds (here two, exotic and natives);</p>
<p>NTYH: the number of different local habitats.</p>
</div>