This internal function creates a set of diagnostic plots for evaluating the fit of various distribution families to bounded data in the (0, 1) interval. It generates histograms with fitted density overlays, P-P plots, Q-Q plots, and profile likelihood plots when available.
.generate_plots(result, data, family, silent = FALSE)
A list of ggplot2 objects:
Histogram with fitted density overlay
Probability-Probability plot
Quantile-Quantile plot
Profile likelihood plots for each parameter (if available)
A list containing model fit results from TMB or Newton-Raphson, must include a 'coefficients' element with named parameters.
Numeric vector with values in the (0, 1) interval.
Character string specifying the distribution family. Supported values: "gkw", "bkw", "kkw", "ekw", "mc", "kw", "beta".
Logical; if TRUE, suppresses messages. Default is FALSE.