ass="co"># Example 1: Calculate AIC for a sample dataset</span></span></span>
<span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/base/Random.html" class="external-link">set.seed</a></span><span class="op">(</span><span class="fl">123</span><span class="op">)</span></span></span>
<span class="r-in"><span><span class="va">x</span> <span class="op">&lt;-</span> <span class="fu"><a href="tidy_generalized_beta.html">tidy_generalized_beta</a></span><span class="op">(</span><span class="fl">100</