ps://rdrr.io/r/stats/Logistic.html" class="external-link">plogis</a></span><span class="op">(</span> <span class="va">theta1</span> <span class="op">-</span> <span class="va">b</span><span class="op">[</span><span class="va">ii</span>,<span class="fl">1</span><span class="op">]</span>  <span class="op">)</span> <span class="op">)</span><span class="op">^</span><span class="va">Q</span><span class="op">[</span><span class="va">ii</span>,<span class="fl">1</span><span class="op">]</span></span>
<span><span cl