iv>
    </div>

    <div class="ref-description">
    <p>Computes the log-likelihood for a model. Used by
 <code><a href='https://rdrr.io/r/stats/optim.html'>optim</a></code> on occasion.</p>
    </div>

    <pre class="usage"><span class='fu'>LogLikelihood</span>(<span class='no'>beta</span>, <span class='no'>X</span>, <span class='no'>Y</span>)</pre>

    <h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a>Arguments</h2>
    <table class="ref-arguments">
    <colgroup><col class="