Gamber’s Ruin

game. Gambler’s Ruin. Gambler starts out with units. They have probability of earning one unit, losing one unit, iid per round. Game ends when gambler reaches either (lose) or a preset (win). What’s the probability the gambler wins/loses the game? let . Then:

  1. ,
  2. Then identity: rearrange the second into the following:

Summing all and canceling:

Try substituting for boundary condition :

  • if
  • if Thus the general formula:

Hypothesis Testing For a Drug

This can totally be used to construct a hypothesis test in the following way: