Conditional hitting time Created 2026-09-24 Updated 2026-11-05
A Conditional hitting time describes a target-passage time after conditioning on a specified successful outcome. Let a Finite Markov chain hit disjoint sets almost surely, put , and let . For states with , the conditional mean is
The weighting matters: conditioning changes the probabilities of the next state. The successful conditional transition kernel, a Doob h-transform, is outside . Transitions into receive weight zero and is the terminal target. Therefore on and
Equivalently, the weighted moments satisfy , with zero boundary values.
For symmetric random walk on absorbed at zero or three, condition on reaching three first. Since , the conditioned chain moves from one to two with Probability one, and from two to one or three with probabilities and . Its means satisfy and , giving . The unconditioned absorption mean from one is two. A successful path need not have the same waiting-time distribution as an unconditioned path.
Gambler's ruin Created 2026-09-24 Updated 2026-11-05
Gambler's ruin is the absorption problem for a fortune that changes by one unit per game. Let , with independent wins of Probability and losses of Probability . Stop when the fortune reaches zero or the target . Zero is ruin; reaching is success.
The success Probability has boundary values , and satisfies . Solving this second-order recurrence gives
Finite-interval exit times have geometric tails, so absorption occurs almost surely and ruin has Probability . The fair case is linear because the fortune itself is harmonic; the biased case uses the harmonic exponential .
For a fair game with initial fortune three and target ten, success has Probability . The Expected duration of symmetric gambler's ruin is , giving 21 steps in this example. The same local first-step method produces expected durations, discounted absorption probabilities and conditional durations; their different boundary conditions encode different questions about the same paths.