bic {bigstep} | R Documentation |
Calculate BIC (Bayesian Information Criterion).
bic(loglik, k, n)
loglik |
A numeric, the log-likelihood. |
k |
An integer >= 0, the number of selected variables. |
n |
An integer > 0, the number of observations. |
A number, a value of BIC.
bic(10, 5, 100)