="section level3">
<h3>Algorithm Summary</h3>
<p>The Hamiltonian Monte Carlo algorithm starts at a specified initial
set of parameters <span class="math inline">\(\theta\)</span>; in Stan, this value is either
user-specified or generated randomly. Then, for a given number of
iterations, a new momentum vector is sampled and the current value of
the parameter <span class="math inline">\(\theta\)</span> is updated using the leapfrog integrator with
discretization time <span class="math inline">\(\epsilon\)</sp