Roadmap Start learning
QT04IntermediateQuant TraderMedium
Random Walks and Optimal Stopping
Gambler's ruin, Markov chains, hitting times, branching processes and stopping rules: the dynamic probability that trading interviews love.
1.4 h of lessons~1.6 h of practice across 13 problems
Prerequisites not done
Lessons0 / 4 lessons
Mastery · target 80%0 / 13 solved
Completing the lessons finishes the module. Mastery also needs 80% of its problems solved.
What you will be able to do
- Solve gambler's ruin for fair and biased walks, for both probabilities and expected durations
- Compute stationary distributions and absorption probabilities of small Markov chains
- Use martingales and optional stopping to shortcut hitting-time problems
- Find optimal stopping thresholds by backward induction
- Analyse a branching process with generating functions
Before you start
Prerequisites: this module uses their material directly.
Helpful but not essential.
Lessons
1.Random Walks & Markov ChainsTransition matrices, stationary distributions, absorption, recurrence and branching processes.30m2.Optimal Stopping and the Secretary ProblemDecide when to stop: continuation values, threshold rules, backward induction over a finite horizon, the one-step lookahead rule, and the secretary problem with its 1/e answer.18m3.Hitting Times via MartingalesBuild martingales from random walks, apply the optional stopping theorem (and know when it fails), and use it with Wald's identities to get ruin probabilities, expected durations and variances in a few lines.18m4.Backward Induction for Games of ChanceSolve single-player games of chance by computing a value for every state from the end backwards: limited-reroll dice games, rerolls with a cost, and card games with a value table.17m
Practice problems (13)
- Regime-Switching Stationary DistributionEasy
- One Dollar Against TwoEasy
- Up Ten Before Down FiveEasy
- Waiting for HHTEasy
- Roll Once, Maybe RerollMedium
- Gambler's Ruin with an EdgeMedium
- Die Game with Two RerollsMedium
- Best of Three or Win by Two?Medium
- Paint the Second BallMedium
- Three Consecutive Hidden CardsMedium
- Expected Flips Until HTHHard
- 100-Sided Die, Rerolls Cost a DollarHard
- Will the Amoebas Die Out?Hard
Where this module fits
- Quant Trader: Required
- Quant Researcher: Recommended; optional for Machine Learning Research