intervals.</p>
<p>The following pseudocode estimates 95% confidence intervals and standard errors for a generic estimate <span class="math inline">\(\hat{\theta}\)</span> that is a function of data <span class="math inline">\(y\)</span>.</p>
<div class="sourceCode" id="cb1"><pre class="sourceCode stan code-with-copy"><code class="sourceCode stan"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="cf">for</span> (m <span class="cf">in</span> <span class="dv">1</span>:M) {</sp