CHMM_EM {CHMM}R Documentation

Perform exact inference of coupled hidden markov models.

Description

Perform exact inference of coupled hidden markov models.

Usage

CHMM_EM(X, nb.states, S, omega, meth.init = "mclust", var.equal = TRUE,
  itmax = 500, threshold = 1e-07)

Arguments

X

a data matrix of observations. Columns correspond to individuals.

nb.states

a integer specifying the numbers of states.

S

a matrix of similarity between individuals.

omega

a value of omega.

meth.init

a string specifying the initialization method ("mclust" or "kmeans"). The default method is "mclust".

var.equal

a logical variable indicating whether to treat the variances as being equal.

itmax

an integer specifying the maximal number of iterations for the EM algorithm.

threshold

a value for the threshold used for the stopping criteria.

Value

a list of 10 components

postPr

a list containing for each series the posterior probabilities.

initGb

a numeric specifying the initial state probabilities.

transGb

a matrix of the state transition probabilities.

emisGb

a list containing for each series the emission probabilities.

esAvg

a numeric of the estimated mean for each state.

esVar

a numeric of the estimated variance for each state.

ID.K

a matrix containing all combination of possible state for nbI series.

loglik

a numeric with the value of the loglikelihood.

RSS

a numeric corresponding to the Residuals Sum of Squares.

iterstop

an integer corresponding to the total number of iterations.

References

Wang, X., Lebarbier, E., Aubert, J. and Robin, S., Variational inference for coupled Hidden Markov Models applied to the joint detection of copy number variations.


[Package CHMM version 0.1.1 Index]