Code for analysing the frog surveying problem in WinBUGS is given in Box 1.5. A Bayesian model specified in WinBUGS has the four components of a Bayesian analysis:
• prior distributions for the parameters being estimated;
• a model that relates the parameters to the data; and
• the posterior distributions for the parameters.
0 50 100 150 200
Fig. 1.3 The first 200 samples of the variance of the number of trees in a remnant for the model in Box 3.2.
Was this article helpful?