Calculate model fit

model_fit(object, type = "bic", ...)

Arguments

object

A model object of class 'cmdlr'

type

A character string indicating the fit statistic to calculate. Has to be one of: "adj_rho_sqrd", "aic", "aic3", "caic", "caic_star", "ht_aic", bic", "bic_star", "dbic" or "hqic". The default is "bic".

...

Additional parameters passed to the function

Value

A named numeric