he generated quantities block.</p>
<p>After the generated quantities statements are executed, the constraints
on the declared generated quantity variables are validated.</p>
<p>All variables declared as generated quantities are printed as part of
the output. Variables declared in nested blocks are local variables,
not generated quantities, and thus won’t be printed. For example:</p>
<div class="sourceCode" id="cb213"><pre class="sourceCode stan"><code class="sourceCode stan"><span id="cb213-1"><a href="pr