span class="fu">exp</span>(<span class="sc">-</span>mu))</span>
<span id="cb11-25"><a href="#cb11-25" aria-hidden="true" tabindex="-1"></a>y <span class="ot">&lt;-</span> <span class="fu">rbinom</span>(n, <span class="dv">1</span>, prob)</span>
<span id="cb11-26"><a href="#cb11-26" aria-hidden="true" tabindex="-1"></a>data1 <span class="ot">&lt;-</span> <span class="fu">prepare_data</span>(y, X, <span class="at">type =</span> <span class="st">&quot;linear&quot;</span>)</span>
<span id="cb11-27"><a href="#cb