statsmodels.genmod.generalized_linear_model.GLMResults.bic¶
- property GLMResults.bic¶
Bayes Information Criterion
deviance - df_resid * log(nobs)
Warning
The current definition is based on the deviance rather than the log-likelihood. This is not consistent with the AIC definition, and after 0.13 both will make use of the log-likelihood definition.
Notes
The log-likelihood version is defined -2 * llf + (df_model + 1)*log(n)
Last update:
Dec 16, 2024