Displays the estimated mixture density and optionally its individual components over a histogram of the data.
plot_mixture_fit(
data,
estimated_params,
bins = 200,
plot_components = TRUE,
save_path = NULL,
show_plot = TRUE,
title = "Mixture of Alpha-Stable Distributions"
)Invisibly returns the file path to the saved plot (if save_path is provided), or NULL otherwise.
Numeric vector of observations.
List with weights, alphas, betas, gammas, deltas.
Number of histogram bins.
Logical, whether to show individual components.
Optional PNG filename.
Logical, whether to display the plot.
Plot title.