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