gr: Example Data Set: Gambler's ruin on 4 states

Description Examples

Description

Motivating example, random walk with absorbing boundaries on 4 states. Analogous to a gambler at a casino. The 4 states represent a range of wealth. States 1 and 4 are absorbing with state 1="Broke", state 4="wealthy enough to walk away" and the intermediate states 2 and 3 are transitory. It is assumed that he bets of all his winnings in the intermediate states and has equal probability of winning and losing

Examples

1
2
3

DTMCPack documentation built on May 2, 2019, 2:06 a.m.