Series of posts on implementing Hamiltonian Monte Carlo

Thanks for the quick response.

But shouldn’t this be the posterior probability? I see no multiplication of the prior and the likelihood in what you cited.

My parallel is the simplified code I wrote to explain to myself how the Metropolis algo works.

It’s likely I’m missing something conceptually.