lign: right;" data-quarto-table-cell-role="th">.coef</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td style="text-align: left;">(Intercept)</td>
<td style="text-align: right;">0.0117128</td>
</tr>
<tr class="even">
<td style="text-align: left;">X</td>
<td style="text-align: right;">-0.9975965</td>
</tr>
</tbody>
</table>
</div>
</div>
<p>Correct result. The coefficient on X is <span class="math inline">\(-1\)</span>.</p>
<div class="cell">
<div class="sourceCode cell-code" id="cb6"><pre class="sourceCode r 