DIC_cmp: DIC of the regression model

View source: R/DIC_cmp.R

DIC_cmpR Documentation

DIC of the regression model

Description

This function used an approach similar to the presented by Benson & Friel (2021) to calculate the BIC. We select S a sample size of the posterior samples to speed up computation

Usage

DIC_cmp(fit, S = 100)

Arguments

fit

An object from the mcmc_cmp_mh

S

Number of iterations used to calculate the DIC

Value

Vector of approximated DIC


MultRegCMP documentation built on June 22, 2024, 9:47 a.m.