Skip to Content
Bayesian Statistics: An Introduction, 4th Edition
book

Bayesian Statistics: An Introduction, 4th Edition

by Peter M. Lee
September 2012
Intermediate to advanced
486 pages
10h 41m
English
Wiley
Content preview from Bayesian Statistics: An Introduction, 4th Edition

9.5 Rejection sampling

9.5.1 Description

An important method which does not make use of Markov chain methods but which helps to introduce the Metropolis–Hastings algorithm is rejection sampling or acceptance-rejection sampling. This is a method for use in connection with a density  in the case where the normalizing constant K is quite possibly unknown, which, as remarked at the beginning of this chapter, is a typical situation occurring in connection with posterior distributions in Bayesian statistics. To use this method, we need to assume that there is a candidate density  from which we can simulate samples and a constant c such that  . Then, to obtain a random variable  with density  we proceed as follows:

1. Generate a variate Y from the density  ;
2. Generate a value  which is uniformly ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Bayesian Data Analysis, Third Edition, 3rd Edition

Bayesian Data Analysis, Third Edition, 3rd Edition

Andrew Gelman, John B. Carlin, Hal S. Stern, David B. Dunson, Aki Vehtari, Donald B. Rubin
Introduction to Probability

Introduction to Probability

Joseph K. Blitzstein, Jessica Hwang

Publisher Resources

ISBN: 9781118359778Purchase book