Learn R Programming

MSTest (version 0.1.5)

HMmdl_em: Estimation of Hidden Markov model by EM Algorithm

Description

Estimate Hidden Markov model by EM algorithm. This function is used by HMmdl which organizes the output and takes raw data as input.

Usage

HMmdl_em(theta_0, mdl, k, optim_options)

Value

List with model results.

Arguments

theta_0

vector with initial values for parameters.

mdl

List with model attributes.

k

Integer determining the number of regimes.

optim_options

List with optimization options.

References

Dempster, A. P., N. M. Laird, and D. B. Rubin. 1977. “Maximum Likelihood from Incomplete Data via the EM Algorithm.” Journal of the Royal Statistical Society. Series B 39 (1): 1–38.