Skip to main content
. 2021 Jun 1;21(11):3837. doi: 10.3390/s21113837
Algorithm 1 (EM algorithm with GMMs).
  •      Input

    Y[1:M], U[1:M], M, κ, θ^(0), γ^(0) and σ^2(0).

  •      Output

    θ^, γ^ and σ^2.

  •  1:

    m0

  •  2:

    procedureE-step

  •  3:

        Compute μ¯^ir(m) and Σ¯^ir(m) from Equations (24) and (25).

  •  4:

        Compute ζ^ir(m) from Equation (23).

  •  5:

        Compute μ˜^ir(m) and Σ˜^ir(m) from Equations (31) and (32).

  •  6:

    end procedure

  •  7:

    procedureM-step

  •  8:

        Estimate γ^(m+1), σ^2(m+1) from Equations (26)–(29).

  •  9:

        Compute Bir(θ,θ(m)) from Equation (35) using γ^(m+1) and θ^(m).

  • 10:

        Estimate θ^(m+1) by solving Equation (34).

  • 11:

    end procedure

  • 12:

    if stopping criterion is not satisfied then

  • 13:

        mm+1, return to 2

  • 14:

    else

  • 15:

        θ^θ^(m+1), γ^γ^(m+1), σ^2σ^2(m+1)

  • 16:

    end if

  • 17:

    End