ure, but be careful because you can lose some important
predictors.</p>
</div>
<div id="custom-criteria" class="section level2">
<h2>Custom criteria</h2>
<p>You can easily define your own criterion. It can depend on
log-likelihood (<code>loglik</code>), the number of observations
(<code>n</code>), the number of all variables (<code>p</code>), the
number of variables currently in a model (<code>k</code>; intercept and
variables from <code>Xadd</code> are not counted), the matrix with
variables which are curr