/span>y <span class="op">=</span> <span class="st">"LS level-1 residuals"</span>, title <span class="op">=</span> <span class="st">"LS residuals against standardized LRT score"</span><span class="op">)</span></code></pre></div>
<p>The addition of the quadratic and cubic terms seems to have improved the level-1 residuals. Additionally, there don’t appear to be any large outliers that might need to be removed. We double check the LS level-1 residuals for <code>fm1</code>, plotting them against the LS fitted