 only in the generated
quantities block and transformed data block, or within the bodies of
user-defined functions ending in <code>_rng</code>. An attempt to use such
a function elsewhere results in a compile-time error.</p>
</div>
<div id="log-probability-access-in-functions" class="section level3 unnumbered">
<h3>Log probability access in functions</h3>
<p>Functions that include sampling statements or log probability
increment statements must have a name that ends in <code>_lp</code>.
Attempts to use samp