ogistic regression, adjusted odds ratio is consistent against of these confounders but adjusted relative risk is not.</p>
<div class="sourceCode" id="cb4"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb4-1" data-line-number="1"><span class="kw">levels</span>(dat<span class="op">$</span>W)</a>
<a class="sourceLine" id="cb4-2" data-line-number="2"><span class="co">#&gt; [1] &quot;0&quot; &quot;1&quot; &quot;2&quot;</span></a>
<a class="sourceLine" id="cb4-3" data-line-number=