You use a Metropolis random-walk sampler for the unnormalised target . The current state is . Find the acceptance probability for the proposals and . If the uniform random number is for , is it accepted? Why is the normalising constant not needed?
Probabilistic models, MCMC
Level L2 Elementary. Length Short. Nature Mat Mathematical.
What's being asked
Whether you can compute a Metropolis acceptance ratio and see that the constant cancels.
Key idea
For a symmetric proposal, . Accept if .
Steps
- The proposal is a symmetric random walk, so and the terms cancel. Then .
- For : . This exceeds 1, so and the move is always accepted, since is closer to the mode.
- For : . So .
- With : , so the move is rejected and the chain stays at . A rejected step still counts as a sample.
- The normalising constant appears in both and , so it cancels in the ratio. This is why MCMC works for posteriors known only up to a constant.
Common mistakes
- Dropping the repeated sample after a rejection. This biases the chain.
- Using the unsquared form or forgetting the factor in the exponent.
- Forgetting the proposal ratio when the proposal is asymmetric.
How long your answer should be
5–6 lines with the two ratios.
Last checked on 4 December 2026.
Read this
Previous in Probabilistic models: In the chain of binary variables, , , , and . Use variable elimination to find . Why is this cheaper than summing the full joint?
Next in Probabilistic models: Three binary variables form a chain MRF with , where if and if . What are , , and ?