statsmodels.gam.generalized_additive_model.GLMGamResults.bic

property GLMGamResults.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: Jun 14, 2024