Learn R Programming

MixStable (version 0.1.0)

em_alpha_stable: EM algorithm for alpha-stable mixture

Description

Estimates parameters of an alpha-stable mixture using EM with optional random initialization.

Usage

em_alpha_stable(
  data,
  n_components = 2,
  max_iter = 100,
  tol = 1e-04,
  random_init = TRUE,
  debug = TRUE
)

Value

List with estimated weights and parameters (alpha, beta, gamma, delta).

Arguments

data

Numeric vector of observations.

n_components

Integer. Number of mixture components.

max_iter

Integer. Maximum number of EM iterations.

tol

Numeric. Convergence tolerance.

random_init

Logical. Whether to use random initialization.

debug

Logical. Whether to print debug information.