Learn R Programming

MixStable (version 0.1.0)

em_estimation_mixture: EM algorithm for two-component Gaussian mixture

Description

Estimates parameters of a Gaussian mixture using the EM algorithm.

Usage

em_estimation_mixture(data, max_iter = 100, tol = 1e-06)

Value

A list containing estimated mixture parameters: pi, mu1, mu2, sigma1, sigma2.

Arguments

data

Numeric vector of observations.

max_iter

Integer. Maximum number of EM iterations.

tol

Numeric. Convergence tolerance.