Metropolis–Hastings algorithm: Difference between revisions

Content deleted Content added
m fixed spelling typo
Line 68:
<math>\frac{A(x' , x)}{A(x , x')} = \frac{P(x')}{P(x)}\frac{g(x | x')}{g(x' | x)}</math> .
 
The next step in the derivation is to choose an acceptance ratio that fulfilsfulfills the condition above. One common choice is the Metropolis choice:
 
<math>A(x' , x) = \min\left(1,\frac{P(x')}{P(x)}\frac{g(x | x')}{g(x' | x)}\right)</math>