tabindex="-1"></a><span class="co"># simulate continuous outcomes</span></span>
<span id="cb2-21"><a href="#cb2-21" aria-hidden="true" tabindex="-1"></a>y <span class="ot">&lt;-</span> <span class="fu">drop</span>(xbeta) <span class="sc">+</span> <span class="fu">rnorm</span>(n.obs, <span class="at">sd =</span> <span class="dv">3</span>)</span></code></pre></div>
</div>
<div id="propensity-score-utilities" class="section level1" number="2">
<h1><span class="header-section-number">2</span> Propensity score
u