In Chapter 5, we introduced the use of simulation in Bayesian inference. Rejection sampling is a general method for simulating from an arbitrary posterior distribution, but it can be difficult to set up since it requires the construction of a suitable proposal density. Importance sampling and SIR algorithms are also general-purpose algorithms, but they also require proposal densities that may be difficult to find for high-dimensional problems. In this chapter, we illustrate the use of Markov chain Monte Carlo (MCMC) algorithms in summarizing posterior distributions. Markov chains are introduced in the discrete state space situation in Section 6.2. Through a simple random walk example, we illustrate some of the important properties of a special Markov chain, and we use R to simulate from the chain and move toward the stationary distribution.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2007 Springer Science+Business Media, LLC
About this chapter
Cite this chapter
(2007). Markov Chain Monte Carlo Methods. In: Albert, J. (eds) Bayesian Computation with R. Use R!. Springer, New York, NY. https://doi.org/10.1007/978-0-387-71385-4_6
Download citation
DOI: https://doi.org/10.1007/978-0-387-71385-4_6
Publisher Name: Springer, New York, NY
Print ISBN: 978-0-387-71384-7
Online ISBN: 978-0-387-71385-4
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)