akaikeInfoCriterion

fun akaikeInfoCriterion(sampleSize: Int, numParameters: Int, lnMax: Double): Double

Computes the AIC based on the sample size sampleSize, the number of parameters estimated for the model numParameters, and the maximized value lnMax of the log-likelihood function of the model. Implementation based on Vose