With heads probability p, stop once two consecutive flips agree. Find the mean duration, including the two deciding…
Quant ResearchLevel: AdvancedStopping on a repeat
With heads probability p, stop once two consecutive flips agree. Find the mean duration, including the two deciding flips.
Hints
- Use separate states for the last observed side.
- Do not reset to an empty history after a mismatch.
Answer
This answer is part of mentoring
Advanced questions come with a full breakdown and a mock interview with a working quant researcher. The first call is free.
Source and licence: Lehman, Leighton & Meyer — Mathematics for Computer Science (2018-06-06) · CC-BY-SA-3.0 · answer: Quantoros editorial