Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Suppose we are given a prior distribution about an unknown parameter $\pi(\theta)$. Also we are given $f(x_{1}, \dots, x_n|\theta)$. We want to find $\pi(\theta|x_1, \dots, x_n)$. Now $$\pi(\theta|x_1, \dots, x_n) = \frac{f(x_{1}, \dots, x_n|\theta) \ \pi(\theta)}{\int_{0}^{\infty} f(x_{1}, \dots, x_n|\theta) \ \pi(\theta) \ d \theta}$$

The denominator, is in general, hard to compute. But why do many people use Gibbs sampling to approximate the denominator as opposed to the Metropolis/Metropolis Hastings Algorithm where $\alpha \neq 1$?

share|cite|improve this question
What's $\alpha$? – joriki May 6 '12 at 20:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.