BNPdensity (version 2019.9.11)

GOFplots_censored: Plot Goodness of fits graphical checks for censored data

Description

Plot Goodness of fits graphical checks for censored data

Usage

GOFplots_censored(fit, qq_plot = FALSE, thinning_to = 500)

Arguments

fit

The result of the fit, obtained through the function MixNRMI1 or MixNRMI2, MixMRMI1cens or MixMRMI2cens

qq_plot

Whether to compute the QQ-plot

thinning_to

How many iterations to compute the mean posterior quantiles

Value

A density plot, a cumulative density plot with the Turnbull cumulative distribution, and a percentile-percentile plot.

Examples

Run this code
# NOT RUN {
set.seed(150520)
data(salinty)
out <- MixNRMI1cens(salinity$left, salinity$right, extras = TRUE, Nit = 100)
BNPdensity:::GOFplots_censored(out)
# }

Run the code above in your browser using DataCamp Workspace