Learn R Programming

MixStable (version 0.1.0)

em_fit_alpha_stable_mixture: EM algorithm for two-component alpha-stable mixture using MLE

Description

Estimates parameters of a two-component alpha-stable mixture using MLE and EM.

Usage

em_fit_alpha_stable_mixture(
  data,
  max_iter = 200,
  tol = 1e-04,
  return_trace = FALSE
)

Value

List with estimated parameters and optional trace.

Arguments

data

Numeric vector of observations.

max_iter

Integer. Maximum number of EM iterations.

tol

Numeric. Convergence tolerance on log-likelihood.

return_trace

Logical. Whether to return trace of responsibilities and log-likelihoods.