Visualizes and compares mixture fits from EM, ECF (kernel and empirical), and Gibbs sampling.
compare_methods_with_gibbs(
data,
em_params,
ecf_kernel_params,
ecf_empirical_params,
fig_dir = tempdir()
)NULL (plots are saved to fig_dir)
Numeric vector of observations.
List of EM-estimated parameters.
List of kernel ECF-estimated parameters.
List of empirical ECF-estimated parameters.
Optional path to save plots. Defaults to tempdir().