er, BUGS parses its model to determine the posterior density and then decides on a sampling scheme. In contrast, the statements in a Stan model are directly executable: they translate exactly into C++ code that is used to compute the log posterior density (which in turn is used to compute the gradient).</p>
</section>
<section id="differences-in-statement-order" class="level3 unnumbered">
<h3 class="unnumbered anchored" data-anchor-id="differences-in-statement-order">Differences in statement order</h3>
<p>I