viterbi.msm {msm}R Documentation

Calculate the most likely path through underlying stages

Description

For a fitted multi state model with misclassification, the Viterbi algorithm recursively constructs the path through the underlying stages with the highest probability.

Usage

viterbi.msm(x)

Arguments

x A fitted multi-state model with misclassification, as produced by msm

Value

A data frame with columns:
subject = subject identification numbers
time = times of observations
observed = corresponding observed states
fitted = corresponding fitted states found by Viterbi recursion.

Author(s)

C. H. Jackson chris.jackson@imperial.ac.uk

References

Durbin, R., Eddy, S., Krogh, A. and Mitchison, G. Biological sequence analysis, Cambridge University Press, 1998.

See Also

msm


[Package Contents]