/span></span></code></pre></div>
<div class="section level2">
<h2 id="simply-adding-a-random-effect-structure">Simply adding a random effect structure<a class="anchor" aria-label="anchor" href="#simply-adding-a-random-effect-structure"></a>
</h2>
<p>For this example, we use the package <code>lme4</code> and more
specifically the function <code><a href="https://rdrr.io/pkg/lme4/man/lmer.html" class="external-link">lmer()</a></code> to estimate the multilevel
model (more complex models such as poisson or nega