WAIC: WAIC of LERCA fit using the full conditionals.

Description Usage Arguments Value

Description

WAIC of LERCA fit using the full conditionals.

Usage

1
WAIC(lerca, dta)

Arguments

lerca

The LERCA output including cutoffs, coefficients and variances of the exposure and outcome models.

dta

The full data set including the confounders as C1, C2, ..., the outcome as Y and the exposure as X.

Value

Numeric vector with entries: the estimated log predictive density, the penalty term based on both criteria, and the WAIC based on both penalty criteria.


gpapadog/LERCA documentation built on June 4, 2019, 11:40 a.m.