Learn R Programming

CopulaDTA (version 0.0.2)

summary.cdtafit: Function to generate a summary a cdtafit object.

Description

Function to generate a summary a cdtafit object.

Usage

## S3 method for class 'cdtafit':
summary(object, digits = 3, ...)

Arguments

Value

The posterior mean and 95 percent credible intervals, n_eff, Rhat and WAIC.

References

{Watanabe S (2010). Asymptotic Equivalence of Bayes Cross Validation and Widely Applicable Information Criterion in Singular Learning Theory. Journal of Machine Learning Research, 11, 3571-3594.}

{Vehtari A, Gelman A (2014). WAIC and Cross-validation in Stan. Unpublished, pp. 1-14.}

Examples

Run this code
fit1 <- fit(data=telomerase,
             SID = "ID",
             copula="fgm",
             iter = 400,
             warmup = 100,
             seed=1,
             cores=1)

ss <- summary(fit1)

Run the code above in your browser using DataLab