Metropolis–Hastings algorithm: Difference between revisions

Content deleted Content added
Interpreting meaning of proposal density matching target
move parenthetical remark into text (was trailing the equation); cause an eqn to be typeset with latex
Line 10:
:<math>
Q( x'; x^t ) \sim N( x'-x^t, \sigma^2 I).
</math>
</math> &nbsp; (Read Q(x';x<sup>t</sup>) as the probability of generating x' given the previous value x<sup>t</sup>.)
 
</math> &nbsp; (Readreading Q(x';x<sup>t</sup>) as the probability of generating x' given the previous value x<sup>t</sup>.)
 
This proposal density would generate samples centred around the current state with variance &sigma;<sup>2</sup>I. So we draw a new proposal state x' with probability Q(x';x<sup>t</sup>) and then calculate a value
 
:<math>
a = a_1 a_2\,
</math>