Learn R Programming

sBIC (version 0.2.0)

emMain: EM-algorithm for latent forests.

Description

Uses the EM-algorithm (with multiple random restarts) to compute an approximate maximum likelihood estimate for a given latent forest model.

Usage

emMain(this, model, starts, maxIter, tol)
"emMain"(this, model, starts=5, maxIter=1000, tol=1e-4)

Arguments

this
the LatentForests object.
model
the model for which to compute the approximate MLE.
starts
the number of random restarts.
maxIter
the maximum number of iterations to complete in the algorithm.
tol
the tolerance to use a convergence criterion.