Skip to main content
. Author manuscript; available in PMC: 2016 Feb 11.
Published in final edited form as: Ann Appl Stat. 2010 Jun;4(2):764–790. doi: 10.1214/09-AOAS314

Algorithm 3.

Alternating Conditional Expectations Algorithm.

  1. Initialize X^i,j(0)=ν^i+μ^j for Xi,jXm.

  2. For each row, i, with missing values:
    1. Set X^i,mi(k+1)=E(Xi,mi|Xi,oi(k),Xi,r(k)).
  3. For each column, j, with missing values:
    1. Set X^mj,j(k+1)=E(Xmj,j|Xoj,j(k),Xc,j(k)).
  4. Repeat Steps 1 and 2 until convergence.