Compares the true mixture density with the estimated one by overlaying both on the histogram of the observed data.
plot_fit_vs_true(true_params, est_params, data, bins = 100)NULL (plot is displayed)
List of true mixture components with alpha, beta, gamma, delta, pi.
List of estimated mixture components.
Numeric vector of observations.
Number of histogram bins.