ard along the expression graph. The gradient calculations
account for the majority of the cycles consumed by a Stan program.</p>
</div>
<div id="metropolis-acceptreject" class="section level3 unnumbered">
<h3>Metropolis accept/reject</h3>
<p>A standard Metropolis accept/reject step is required to retain detailed
balance and ensure draws are marginally distributed according to the
probability function defined by the model. This Metropolis adjustment
is based on comparing log probabilities, here defined by th