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