Description Usage Arguments Value Examples
This function returns the model fit for the given model as either an AIC or BIC score. We compensating for logtransformation so that the model scores of logtransformed and non-logtransformed models can be compared with each other directly. This compensation is implemented by subtracting the logtransformed data from the log-likelihood score and using the result as log-likelihood score for the AIC/BIC calculations.
1 | model_score(varest, criterion, logtransformed)
|
varest |
A |
criterion |
A character string being either |
logtransformed |
A boolean, either |
This returns a floating point that is either the AIC or BIC criterion for the model. A lower number corresponds to a better model fit.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.