Learn R Programming

ctsem (version 2.6.5)

ctStanPostPredict: Compares model implied density and values to observed, for a ctStanFit object.

Description

Compares model implied density and values to observed, for a ctStanFit object.

Usage

ctStanPostPredict(fit, legend = TRUE, wait = FALSE)

Arguments

fit

ctStanFit object.

legend

Logical, whether to plot a legend.

wait

Logical, if TRUE, waits for input before plotting next plot.

Value

Nothing, only plots.

Details

This function relies on the data generated during each iteration of fitting to approximate the model implied distributions -- thus, when limited iterations are available, the approximation will be worse.

Examples

Run this code
# NOT RUN {
ctStanPostPredict(ctstantestfit)
# }

Run the code above in your browser using DataLab