An introduction to WinBUGS for Ecologists
by Marc Kéry
This book is a very gentle introduction to Bayesian analysis using WinBUGS
for ecologists. It covers the linear model and its extension to the
generalised linear and to the linear and generalised linear mixed model by way
of extensive and fully documented examples. All data sets are simulated in
program R; simulation allows a much greater insight into data and their
analysis than the use of real data sets where truth is unknown. This web
appendix contains additional information such as solutions to exercises and
bonus material.
TABLE OF CONTENTS
- Introduction
- Principles of Bayesian statistics
- WinBUGS (and a little bit on R)
- A first session in WinBUGS: The “model of the mean”
- Running WinBUGS from R via R2WinBUGS
- Key components of (generalised) linear models: Statistical distributions and the linear predictor
- t-Test: equal and unequal variance
- Normal linear regression
- Normal one-way ANOVA
- Two-way ANOVA with interaction
- General linear model (“ANCOVA”)
- Linear mixed-effects model
- Introduction to the Generalised linear model (GLM): Poisson t-test
- Overdispersion and offsets in the GLM
- Poisson ANCOVA
- Poisson mixed-effects model (Poisson GLMM)
- Binomial t-test
- Binomial ANCOVA
- Binomial mixed-effects model (Binomial GLMM)
- Non-standard GLMMs 1: Site-occupancy distribution model
- Non-standard GLMMs 2: Binomial mixture model for the modeling of true abundance