="TOC" role="doc-toc" class="toc-active">
    <h2 id="toc-title">On this page</h2>
   
  <ul>
  <li><a href="#diagnosing-hmc-by-comparison-of-gradients" id="toc-diagnosing-hmc-by-comparison-of-gradients" class="nav-link active" data-scroll-target="#diagnosing-hmc-by-comparison-of-gradients">Diagnosing HMC by Comparison of Gradients</a></li>
  </ul>
<div class="toc-actions"><ul><li><a href="https://github.com/stan-dev/docs/edit/master/src/cmdstan-guide/diagnose_config.qmd" class="toc-action"><i class="bi bi-