Supplement 1. The R and WinBUGS codes used in the paper.
收藏资源简介:
File List IPM_RCODE.txt IPM_WinBUGS.bug Description "IPM_RCODE.txt" : This file contains R codes to perform the following: To create the population data, which is the complete life history of each individual in the population.To create completely independent and dependent samples for the three studies (capture-recapture, population survey and reproductive success studies).To create capture-recapture data, population survey data and reproductive success data using individuals that are subject to each study. To analyze the data sets using a Bayesian framework calling WinBUGS from R using R2WinBUGS. "IPM_WinBUGS.bug" : This file contains WinBUGS codes to perform the following analyses: Integrated population model using three data sets (capture-recapture, population survey and reproductive success data) (IPM3)Integrated population model using two data sets (capture-recapture and population survey data) (IPM2)The Cormack-Jolly-Seber (CJS) model for capture-recapture data The Poisson model for reproductive success data
文件列表:IPM_RCODE.txt、IPM_WinBUGS.bug "IPM_RCODE.txt":该文件包含用于实现以下功能的R代码: 1. 生成种群数据,即记录种群内每个个体的完整生活史; 2. 为三项研究(标志重捕研究、种群调查研究与繁殖成功率研究)生成完全独立与相依样本; 3. 针对参与各项研究的个体,生成标志重捕数据、种群调查数据及繁殖成功率数据; 4. 采用贝叶斯框架对数据集进行分析,通过R调用WinBUGS,依托R2WinBUGS包完成分析流程。 "IPM_WinBUGS.bug":该文件包含用于实现以下分析的WinBUGS代码: 1. 基于三类数据集(标志重捕数据、种群调查数据及繁殖成功率数据)的整合种群模型(IPM3); 2. 基于两类数据集(标志重捕数据与种群调查数据)的整合种群模型(IPM2); 3. 用于标志重捕数据的科马克-乔利-西伯(Cormack-Jolly-Seber, CJS)模型; 4. 用于繁殖成功率数据的泊松模型。



