Skip to main content

Abstract

We introduce in this chapter a numerical method, Markov Chain Monte Carlo (MCMC), which will allow us to find an accurate estimate of the marginal posterior distributions without the need of solving the integrals required for marginalisation. The formal justification of the MCMC procedure is complex and out of the scope of this book, but we can intuitively understand how it works. We will see with some detail the most common MCMC procedure used in animal production, Gibbs sampling, and we will sketch other common MCMC procedures. This is an active research area with continuous new developments, but it is not a part of Bayesian statistics. MCMC is only a numerical tool for approximating marginal posterior distributions without solving the integrals that stopped in the past the practical development of Bayesian statistics in many fields of knowledge.

Before I had succeeded in solving my problem analytically, I had endeavoured to do so empirically. The material used was a correlation table containing the height and left middle finger measurements of 3000 criminals, from a paper by W. R. Macdonell (Biometrika, Vol. I, p. 219). The measurements were written out on 3000 pieces of cardboard, which were then very thoroughly shuffled and drawn at random. As each card was drawn its numbers were written down in a book which thus contains the measurements of 3000 criminals in a random order. Finally each consecutive set of 4 was taken as a sample—750 in all—and the mean, standard deviation, and correlation of each sample determined.

William Searly Gosset (‘Student’), 1908

The original version of this chapter was revised. A correction to this chapter is available at https://doi.org/10.1007/978-3-319-54274-4_11.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Change history

  • 27 November 2018

    This book was inadvertently published with wrong details in Chapters 1, 4, 8, 10, and Appendix. The original book has been updated accordingly.

References

  • Carlin BP, Louis TA (2008) Bayesian methods for data analysis, 3rd edn. Chapman and Hall, Boca Raton

    Google Scholar 

  • Damgaard LH (2007) Technical note: how to use Winbugs to draw inferences in animal models. J Anim Sci 85:1363–1368

    Article  CAS  Google Scholar 

  • Fisher R (1959) Statistical methods and scientific inference, 2nd edn. Oliver and Boyd, Edinburgh

    Google Scholar 

  • Gelman A, Carlin JB, Stern HS, Dunson DB, Vehtari A, Rubin DB (2013) Bayesian data analysis, 3rd edn. Chapman and Hall, Boca Raton, FL

    Google Scholar 

  • Gelman A, Rubin DB (1992) Inference for iterative simulation using multiple sequences. Stat Sci 7:457–472

    Article  Google Scholar 

  • Geweke J (1992) Evaluating the accuracy of sampling-based approaches to the calculation of posterior moments. In: Bernardo JM, Berger JO, Dawid AP, Smith AF (eds) Bayesian statistics 4. Oxford University Press, Oxford

    Google Scholar 

  • Johnson VE (1996) Studying convergence of Markov chain Monte Carlo algorithms using coupled sample paths. J Am Stat Assoc 91:154–166

    Article  Google Scholar 

  • Raftery AE, Lewis SM (1992) How many iterations in the Gibbs sampler? In: Bernardo JM, Berger JO, Dawid AP, Smith AFM (eds) Bayesian statistics, vol 4. Oxford University Press, Oxford

    Google Scholar 

  • Sorensen DA, Gianola D (2002) Likelihood, Bayesian and MCMC methods in quantitative genetics. Springer, New York

    Book  Google Scholar 

  • Student (1908) On the probable error of a mean. Biometrika 6:1–25

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing AG

About this chapter

Cite this chapter

Blasco, A. (2017). MCMC. In: Bayesian Data Analysis for Animal Scientists. Springer, Cham. https://doi.org/10.1007/978-3-319-54274-4_4

Download citation

Publish with us

Policies and ethics