PenalisedLikelihoods# class PenalisedLikelihoods[source]# Bases: object static BIC(likelihood, n, k, **kwargs)[source]# Calculate the Bayesian Information Criterion (BIC). Parameters: likelihoodfloatThe log likelihood value. nintThe number of data points. kintThe number of parameters. Returns: floatThe BIC value. static AIC(likelihood, n, k, **kwargs)[source]# Calculate the Akaike Information Criterion (AIC). Parameters: likelihoodfloatThe log likelihood value. nintThe number of data points. kintThe number of parameters. Returns: floatThe AIC value. See also 3. Model recovery and model comparison