Learn R Programming

MixStable (version 0.1.0)

run_all_estimations: Run all EM-based estimations without Gibbs sampling (CRAN-safe)

Description

Executes multiple EM algorithms (recursive ECF, kernel ECF, weighted OLS, CDF-based) on the input data. Optionally saves mixture plots to a temporary directory.

Usage

run_all_estimations(X1, bw_sj, max_iter = 200, tol = 1e-04, save_plots = FALSE)

Value

Invisibly returns a list containing fitted parameters for each EM method.

Arguments

X1

Numeric vector of data.

bw_sj

Numeric. Bandwidth value (e.g., Silverman's rule).

max_iter

Integer. Maximum number of EM iterations.

tol

Numeric. Convergence tolerance.

save_plots

Logical. Whether to save PNG plots to tempdir().