<code>diagnose</code> warnings and recommendations</h2>
<div id="divergent-transitions-after-warmup" class="section level3" number="17.3.1">
<h3><span class="header-section-number">17.3.1</span> Divergent transitions after warmup</h3>
<p>Stan uses Hamiltonian Monte Carlo (HMC) to explore the target
distribution — the posterior defined by a Stan program + data — by
simulating the evolution of a
<a href="https://en.wikipedia.org/wiki/Hamiltonian_system">Hamiltonian system</a>.
In order to approximate the 