.generate_plots | R Documentation |
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)
result |
A list containing model fit results from TMB or Newton-Raphson, must include a 'coefficients' element with named parameters. |
data |
Numeric vector with values in the (0, 1) interval. |
family |
Character string specifying the distribution family. Supported values: "gkw", "bkw", "kkw", "ekw", "mc", "kw", "beta". |
silent |
Logical; if TRUE, suppresses messages. Default is FALSE. |
A list of ggplot2 objects:
histogram |
Histogram with fitted density overlay |
pp_plot |
Probability-Probability plot |
qq_plot |
Quantile-Quantile plot |
profile_* |
Profile likelihood plots for each parameter (if available) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.