ABSTRACT

In this chapter we present computer programs written in R and WinBUGS for MCMC and RJMCMC analyses, with illustrations provided by the dipper and white stork examples of earlier chapters. In addition we describe the MCMC facilities in the statistical ecology computer package MARK. Detailed introductions to both R and WinBUGS are provided in Appendices B and C, respectively. We recommend that the computer programs are downloaded from the Web site and read in conjunction with the explanations provided within the text for additional clarity and understanding. We begin with an MCMC analysis of model C/C for the dipper data set. Computer timings refer to a 1.8-Ghz computer.