 The predictor and outcome vectors remain aligned, with both elements of the pair <code>x[1]</code> and <code>y[1]</code> repeated twice.</p>
<p>With the model defined this way, if <code>resample</code> is 1, the model is fit to a bootstrap subsample of the data. If <code>resample</code> is 0, the model is fit to the original data as given. By running the bootstrap fit multiple times, confidence intervals can be generated from quantiles of the results.</p>
</section>
<section id="error-statistics-from-the-b