powered by
Calculate AIC (Akaike Information Criterion).
aic(loglik, k)
A number, a value of AIC.
A numeric, the log-likelihood.
An integer >= 0, the number of selected variables.
aic(10, 5)
Run the code above in your browser using DataLab