Calculate information criteria (DIC, BPIC), effective number of parameters and constituent posterior deviance (D) summaries (meanD = mean of D, Dmean = D for mean of posterior parameters and minD = minimum of D).
IC(
emc,
stage = "sample",
filter = 0,
use_best_fit = TRUE,
print_summary = TRUE,
digits = 0,
subject = NULL,
group_only = FALSE
)
Table of DIC, BPIC, EffectiveN, meanD, Dmean, and minD
emc object or list of these
A string. Specifies which stage you want to plot.
An integer or vector. If it's an integer, iterations up until the value set by filter
will be excluded.
If a vector is supplied, only the iterations in the vector will be considered.
Boolean, default TRUE use best of minD and Dmean in calculation otherwise always use Dmean
Boolean (default TRUE) print table of results
Integer, significant digits in printed table
Integer or string selecting a single subject, default NULL returns sums over all subjects
Boolean. If TRUE
will calculate the IC for the group-level only