Each model has:
a log likelihood (l)
a number of parameters (k)
a number of samples used for fitting (n)
AIC = 2k - 2l
Lower AIC via higher log likelihood or less parameters
BIC = ln(n)k - 2l
Lower BIC via higher log likelihood or less parameters or less samples used in fitting
20 сен 2024