50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

MetabolAnalyze (version 1.3.1)

Aitken: Assess convergence of an EM algorithm.

Description

This function assesses convergence of the EM algorithm using Aitken's acceleration method, when fitting a PPCA based model.

Usage

Aitken(ll, lla, v, q, epsilon)

Arguments

ll

A vector of log likelihoods from the current and previous iterations.

lla

A vector containing the asympototic estimates of the maximized log likelihoods from the current and previous iterations.

v

Iteration number.

q

The dimension of the latent principal subspace for the PPCA based model currently being fitted.

epsilon

The value on which convergence of the EM algorithm is based.

Value

A list containing:

tol

The absolute difference between contiguous estimates of the asymptotic maximized log likelihood.

la

The asymptotic estimate of the maximized log likelihood at the current iteration.

Details

This function assesses convergence of the EM algorithm using Aitken's acceleration method in which an estimate of the maximized log likelihood at each iteration is evaluated. Convergence is achieved when the absolute difference between contiguous estimates, tol, is less than some user defined level, epsilon.

References

McLachlan, G.J. and Krishnan, T. (1997) The EM algorithm and Extensions. Wiley, New York.

See Also

ppca.metabol, ppcca.metabol, mppca.metabol