%0 Generic %A W. Tingley, Morgan %A R. Beissinger, Steven %D 2016 %T Supplement 1. BUGS-language model specification of hierarchical community occupancy model. %U https://wiley.figshare.com/articles/dataset/Supplement_1_BUGS-language_model_specification_of_hierarchical_community_occupancy_model_/3555444 %R 10.6084/m9.figshare.3555444.v1 %2 https://ndownloader.figshare.com/files/5624895 %2 https://ndownloader.figshare.com/files/5624898 %K climate change %K elevational gradient %K detectability %K hierarchical model %K richness loss %K resurvey %K Sierra Nevada, California, USA %K birds %K turnover %K Environmental Science %K Ecology %X

File List

BUGS_code.txt (MD5: 5101dc4c7becb6442fbaed48ca40bc88)

Description

BUGS_code.text: Provided in this file is the BUGS-language code for specification of the hierarchical community occupancy model presented in the associated publication. The code expects several data variables to be available and these are specified as follows: n the number of species; nzeroes the number of “zero species” added during data augmentation; era the time period during which a site is surveyed (0 = historical; 1 = modern); elev the standardized elevation; elev2 the squared elevation; R1 a dummy variable representing one of the three regions; R2 a dummy variable representing one of the three regions; jday the standardized day of year; jday2 the squared day of year; X the multi-dimensional occurrence history array; J the number of sites; K a vector of the number of surveys per site (per era); zone_LS, zone_US, zone_TR, zone_CA, zone_HU, zone_XX dummy variables indicating whether a species belongs in a certain life zone grouping; H a vector indicating which paired sites belong in the historic time period; M a vector indicating which paired sites belong in the modern time period; L the number of paired sites per era.

%I Wiley