uantile(theta_hat, <span class="fl">0.025</span>),</span>
<span id="cb1-7"><a href="#cb1-7" aria-hidden="true" tabindex="-1"></a>               quantile(theta_hat, <span class="fl">0.975</span>) ]</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<p>The <code>sample_uniform</code> function works by independently assigning each element of <code>y_rep</code> an element of <code>y</code> drawn uniformly at random. This produces a sample <em>with rep