The expectation-maximization algorithm alternates conditional averaging over missing data with maximization over the parameter. Start at a parameter value for which the observed likelihood function is positive. At iteration , its E-step forms
using the current conditional law of but treating as the candidate parameter. Its M-step takes
Repeat until the parameter or observed log-likelihood stabilizes. An increase of implies an increase of the observed log-likelihood: if , then
where Kullback-Leibler divergence is nonnegative. In general this monotonicity does not guarantee a global maximum; distinct initializations may approach different stationary points. The particular observed log-likelihood below is concave, which makes a stronger conclusion possible there.
The parameter-dependent part of the complete multinomial distribution log-likelihood is
The remaining probability factors and multinomial coefficient are constant in . If , differentiating gives , whose zero is
The log-likelihood is concave. If , its maximum is at zero; if , its maximum is at one. These boundary cases are included by the same formula. If , the data lie entirely in the parameter-independent fourth cell and every is a maximum-likelihood estimator.
Within the merged third observed cell, the probability of belonging to the original fourth cell is
The allocation therefore has the conditional binomial distribution
Its conditional expectation and the filled-in missing counts are
with and .
Taking the conditional expectation of the complete log-likelihood gives the EM for merged multinomial cells E-step:
This is the parameter-dependent part of . More precisely, , where the constant is independent of the candidate , interpreting factorials of noninteger filled counts through the gamma function. The expected log-factorials are not generally the log-factorials of expected counts, so literal equality including the normalization would be false. Equality up to this constant is exactly what the M-step needs. Filling in conditional means works here because the candidate-parameter terms are linear in the missing counts; it is not a universal rule for the expectation-maximization algorithm.
Initialize . At each iteration first compute by the conditional expectation above. The M-step applies the complete-data maximum-likelihood estimator to the filled counts, giving
Repeat until convergence. If all counts are zero, the likelihood function is constant and any parameter can be retained. For a nonempty sample an interior start makes the displayed denominator positive.
Here the three observed cell probabilities are , and , so the observed log-likelihood is
For a nonempty sample its second derivative on is
Thus the maximum-likelihood estimator is unique, allowing a boundary maximum. To verify that the iteration actually finds it, let and . Then , and
If the maximum is interior, this identity moves each iterate towards it, and monotonicity of prevents crossing it. The bounded monotone iterates converge; continuity makes their limit a fixed point, and strict concavity makes that fixed point the maximum. If the maximum is at zero or one, the sign of gives the same monotone convergence towards the appropriate endpoint. In the special case , is identically one whenever its denominator is positive, so the maximum is reached in one step. An interior initialization avoids the possible spurious zero fixed point when ; starting at zero can otherwise trap the iteration even when the true maximum is positive.
Using the EM for merged multinomial cells E-step,
Applying the M-step maximum-likelihood estimator to the filled counts gives

Articles by others on the same topic (0)

There are currently no matching articles.