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