21.01.2015 Views

Metropolis-Hastings algorithm

Metropolis-Hastings algorithm

Metropolis-Hastings algorithm

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Metropolis</strong>-<strong>Hastings</strong> <strong>algorithm</strong><br />

• What we must be able to do:<br />

– Select a random value from the proposal distribution (to<br />

create θ proposed ).<br />

– Evaluate the target distribution at any proposed position θ (to<br />

calculate P(θ proposed ) / P(θ current ) .<br />

– Select a random value from a uniform distribution (to make a<br />

move according to p move ).<br />

• Can then do something indirectly than can’t necessarily to<br />

directly: generate random samples from the target distribution.<br />

ib i

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!