dishonestCasino {HMM} | R Documentation |
Example application for Hidden Markov Models
Description
The dishonest casino gives an example for the application of Hidden Markov Models. This example is taken from Durbin et. al. 1999: A dishonest casino uses two dice, one of them is fair the other is loaded. The probabilities of the fair die are (1/6,...,1/6) for throwing ("1",...,"6"). The probabilities of the loaded die are (1/10,...,1/10,1/2) for throwing ("1",..."5","6"). The observer doesn't know which die is actually taken (the state is hidden), but the sequence of throws (observations) can be used to infer which die (state) was used.
Usage
dishonestCasino()
Format
The function dishonestCasino
has no arguments.
Value
The function dishonestCasino
returns nothing.
Author(s)
Lin Himmelmann <hmm@linhi.com>, Scientific Software Development
References
Richard Durbin, Sean R. Eddy, Anders Krogh, Graeme Mitchison (1999). Biological Sequence Analysis: Probabilistic Models of Proteins and Nucleic Acids. Cambridge University Press. ISBN 0-521-62971-3.
Examples
# Dishonest casino example
dishonestCasino()