Computes the Bayesian Information Criterion (BIC) for an object of class "MNM"
.
BIC is a metric used for model comparison, accounting for goodness of fit and the size of the dataset.
The formula for BIC is: $$BIC = -2 \cdot \log L + \log(n) \cdot k$$ where:
\(\log L\) is the log-likelihood of the model.
\(n\) is the number of observations in the dataset.
\(k\) is the number of parameters in the model.
# S4 method for MNM
BIC(object)
A numeric value representing the BIC of the fitted model.
An object of class "MNM"
.