Plots the true mixture density and compares it with two estimated densities obtained from different methods (e.g., MLE vs ECF).
plot_fit_vs_true_methods(
data,
true_params,
method1 = "MLE",
method2 = "ECF",
bins = 100
)NULL (plot is displayed)
Numeric vector of observations.
List of true mixture components.
First estimation method ("MLE", "ECF", etc.).
Second estimation method.
Number of histogram bins.