qq_plot_censored: Plot the quantile-quantile graph for censored data.

View source: R/GOFplots.R

qq_plot_censoredR Documentation

Plot the quantile-quantile graph for censored data.

Description

This function may be rather slow for many iterations/many data because it relies on numerical inversion of the mixture Cumulative Distribution Function. set.seed(150520) data(salinity) out <- MixNRMI1cens(xleft = salinity$left, xright = salinity$right, extras = TRUE, Nit = 100) BNPdensity:::qq_plot_censored(out)

Usage

qq_plot_censored(fit, thinning_to = 500)

Arguments

fit

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

thinning_to

How many iterations to compute the mean posterior quantiles

Value

quantile-quantile plot for non censored data.


BNPdensity documentation built on April 1, 2023, 12:10 a.m.