cwitools.modeling.bic

cwitools.modeling.bic(model, data, k)

Calculate the Bayesian Information Criterion for a model.

Parameters:
  • model (NumPy.ndarray) – The model data being evaluated
  • data (NumPy.ndarray) – The data being modeled
  • k (int) – The number of parameters in the model
Returns:

The Bayesian Information Criterion

Return type:

bic (float)