><i class="bi"></i></button></pre></div>
<p>The posterior mean of <code>tilde_y</code> calculated by Stan is the Bayesian estimate <span class="math inline">\(\hat{\tilde{y}}.\)</span> The posterior median may also be calculated and used as an estimate, though square error and the posterior mean are more commonly reported.</p>
</section>
</section>
<section id="cross-validation" class="level2">
<h2 class="anchored" data-anchor-id="cross-validation">Cross-validation</h2>
<p>Cross-validation involves choosing