Learn R Programming

HMM (version 1.0.1)

dishonestCasino: 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()

Arguments

Value

The function dishonestCasino returns nothing.

Format

The function dishonestCasino has no arguments.

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

Run this code
# NOT RUN {
# Dishonest casino example
dishonestCasino()
# }

Run the code above in your browser using DataLab