powered by
Calculate mBIC (modified Bayesian Information Criterion).
mbic(loglik, n, k, p, const = 4)
a numeric, the log-likelihood.
an integer > 0, a number of observations.
an integer >= 0, a number of selected variables.
an integer > 0, a number of all variables or a weight.
numeric > 0, the expected number of significant variables.
A number, a value of mBIC.
# NOT RUN { mbic(loglik=10, n=100, k=5, p=50) # }
Run the code above in your browser using DataLab