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

Description Usage Arguments Value Examples

View source: R/circGLMClassFunctions.R

Description

Compare the information criteria of several circGLM models.

Usage

1
2
3
4
5
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

1
2
3
4
5
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))

circglmbayes documentation built on Jan. 22, 2021, 5:09 p.m.