Skip to contents

Compute Bayesian Information Criterion of a model

Usage

calc_bic(results, daisie_data)

Arguments

results

A data frame containing model results as created by run_daisie_ml(). These results are the DAISIE::DAISIE_ML_CS() and the bic, and they're saved as an RDS file by run_daisie_ml().

daisie_data

A list, conforming to the DAISIE object format. Usually preprocessed by DAISIE::DAISIE_dataprep(), see it's documentation for details. Otherwise it may be generated via simulations, using DAISIE::DAISIE_sim_cr() and friends.

Value

Numeric value with BIC

Author

Joshua W. Lambert, Pedro Santos Neves