Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

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|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.