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