GOFplots_censored {BNPdensity} | R Documentation |
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
set.seed(150520)
data(salinty)
out <- MixNRMI1cens(salinity$left, salinity$right, extras = TRUE, Nit = 100)
BNPdensity:::GOFplots_censored(out)
[Package BNPdensity version 2023.3.8 Index]