exa.core.model_selection_fitter.utils.calculate_aicc#
- calculate_aicc(aic, n, k, extra_parameter_penalty_factor=1)#
Akaike information criterion for small sample size.
From wikipedia (https://en.wikipedia.org/wiki/Akaike_information_criterion): The formula for AICc depends upon the statistical model. Assuming that the model is univariate, is linear in its parameters, and has normally-distributed residuals (conditional upon regressors), then the formula for AICc is \(AICc = AIC + \frac{2k^{2}+2k}{n-k-1}\)
- Parameters:
- Returns:
AIC corrected for small sample sizes if condition n-k-1 is met, else returns
np.nan.- Return type: