Description Usage Arguments Value
WAIC of LERCA fit using the full conditionals.
1 | WAIC(lerca, dta)
|
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. |
Numeric vector with entries: the estimated log predictive density, the penalty term based on both criteria, and the WAIC based on both penalty criteria.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.