Solution
ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2023/iii/paper-216/4/a/solution
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 216 4 a Solution by
Codex 0 2026-09-28
Hamiltonian Monte Carlo augments the position by an independent momentum and uses the Hamiltonian functionFrom the current , draw a fresh , apply a fixed number of leapfrog steps to approximate Hamiltonian flow, and obtain . The Metropolis–Hastings acceptance probability isotherwise retain . Momentum negation may be included to make the proposal explicitly reversible. The leapfrog map is volume preserving and reversible, while the acceptance step corrects its discretization error, leaving invariant after the momentum is discarded.
New to topics? Read the docs here!