IC_compare.circGLM: Compare the information criteria of several circGLM models.

View source: R/circGLMClassFunctions.R

IC_compare.circGLMR Documentation

Compare the information criteria of several circGLM models.

Description

Compare the information criteria of several circGLM models.

Usage

IC_compare.circGLM(
  ...,
  ICs = c("n_par", "lppd", "AIC_Bayes", "DIC", "DIC_alt", "WAIC1", "WAIC2", "p_DIC",
    "p_DIC_alt", "p_WAIC1", "p_WAIC2")
)

Arguments

...

The circGLM objects to be compared.

ICs

A character vector of ICs to display.

Value

A matrix with a column of information criteria for each model.

Examples

Xcat <- c(rep(0, 5), rep(1, 5))
th <- rvmc(10, 0, 4) + Xcat

# Compare a model that includes group differences with a model that does not.
IC_compare.circGLM(circGLM(th = th), circGLM(th = th, X = Xcat))

keesmulder/CircGLMBayes documentation built on July 21, 2022, 3:43 a.m.