BNPdensity (version 2023.3.8)

qq_plot_noncensored: Plot the quantile-quantile graph for non 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.

Usage

qq_plot_noncensored(fit, thinning_to = 500)

Value

quantile-quantile plot for non censored data.

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

Examples

Run this code


### Not run
# set.seed(150520)
# data(acidity)
# out <- MixNRMI1(acidity, extras = TRUE, Nit = 100)
# BNPdensity:::qq_plot_noncensored(out)

Run the code above in your browser using DataLab