powered by
Calculate BIC (Bayesian Information Criterion).
bic(loglik, k, n)
A number, a value of BIC.
A numeric, the log-likelihood.
An integer >= 0, the number of selected variables.
An integer > 0, the number of observations.
bic(10, 5, 100)
Run the code above in your browser using DataLab