EM Algorithm
Expectation-Maximization Algorithm · Also known as: EM, Expectation-Maximization, Maximum Likelihood via Incomplete Data, BM Algoritması
The Expectation-Maximization (EM) algorithm is an iterative optimization procedure for finding maximum likelihood or maximum a posteriori estimates of parameters in statistical models with latent variables or missing data. Introduced by Dempster, Laird, and Rubin in their landmark 1977 paper, EM alternates between computing the expected complete-data log-likelihood (E-step) and maximizing it with respect to the parameters (M-step), guaranteeing monotone non-decreasing likelihood at each iteration.
Read the full method
Sign in with a free account to read this section.
Method map
The neighbourhood of related methods — select a node to explore.
When to use it
Use the EM algorithm when data contain missing values, hidden states, or latent variables and you need maximum likelihood estimates. It is well-suited to Gaussian mixture models, hidden Markov models, factor analysis, and missing-data imputation. Key assumptions include that missing data are missing at random (MAR) and that the complete-data model is tractable. Limitations include sensitivity to initialization, possible convergence to local maxima, and slow convergence near saddle points. Alternatives include gradient-based optimization with numerical integration, variational inference, or MCMC methods.
Strengths & limitations
- Guaranteed monotone increase in observed-data likelihood at every iteration, ensuring stable convergence
- Converts a hard missing-data problem into a sequence of tractable complete-data optimizations
- Broadly applicable across exponential-family models, mixture models, and latent-variable frameworks
- Closed-form M-step updates are available for many standard models, making implementation efficient
- Convergence to a local maximum rather than the global maximum when the likelihood surface is multimodal
- Can exhibit very slow (linear) convergence when the fraction of missing information is large
- Requires the analyst to specify the complete-data model and the distribution of latent variables
- Standard EM does not directly provide the observed-data covariance matrix of the estimates; a supplementary step (e.g., Louis's method or the SEM algorithm) is needed for standard errors
Frequently asked
Does the EM algorithm always converge to the global maximum?
No. EM is guaranteed only to find a local maximum (or saddle point) of the observed-data likelihood. When the likelihood surface has multiple modes, the final solution depends on initialization. Running the algorithm from several different starting points and retaining the solution with the highest log-likelihood is the standard practical remedy.
How is EM different from direct maximum likelihood optimization?
Direct MLE maximizes the observed-data log-likelihood, which may involve intractable integrals over latent variables. EM sidesteps this by iteratively maximizing the expected complete-data log-likelihood, which is often analytically tractable. The trade-off is that EM may converge slowly, whereas gradient-based methods can be faster when gradients of the marginal likelihood are available.
When should I prefer MICE imputation over the EM algorithm?
MICE (Multiple Imputation by Chained Equations) is preferable when the data include variables of mixed types, non-linear relationships, or complex interaction structures that are difficult to encode in a single parametric complete-data model. EM is more natural when a well-specified joint model for all variables exists and inference targets the model parameters rather than imputed datasets.
Sources
- Dempster, A. P., Laird, N. M., & Rubin, D. B. (1977). Maximum likelihood from incomplete data via the EM algorithm. Journal of the Royal Statistical Society: Series B, 39(1), 1–38. DOI: 10.1111/j.2517-6161.1977.tb01600.x ↗
How to cite this page
ScholarGate. (2026, June 2). Expectation-Maximization Algorithm. ScholarGate. https://scholargate.app/en/statistics/em-algorithm
Which method?
Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.
- Maximum Likelihood EstimationStatistics↔ compare
- MICEStatistics↔ compare