Optimal Stopping & Thresholds
Threshold Strategies
Overview
Threshold strategies are optimal for any i.i.d. sequential sampling problem with replacement: at every draw, you compare the current value to a fixed threshold ฯ and stop if and only if the current draw exceeds ฯ. The threshold equals the NET continuation value โ the expected prize you'd get if you kept playing forever, minus the expected cost. The derivation: write total value V(ฯ) as a function of ฯ, differentiate, set to zero. The elegant self-consistency: the optimal threshold is exactly the value of the game rounded up to the nearest integer. This makes sense: stop when the current draw beats your outside option (keeping playing).
How to Recognize
- โDraw from a distribution (with or without replacement) and decide to stop
- โ'What is the optimal strategy?' or 'what is the fair value of this game?'
- โGame involves a cost per round and a prize equal to the last accepted value
- โSampling continues until you 'accept' โ with replacement problems
- โKeywords: 'play as many rounds as you want', 'each round costs X'
Step-by-Step Approach
- 1.With replacement: threshold ฯ is the SAME every round (stationary problem)
- 2.V(ฯ) = E[prize | X โฅ ฯ] โ (cost per draw) ร E[# draws to get X โฅ ฯ]
- 3.E[prize | X โฅ ฯ] = (ฯ + max) / 2 for discrete uniform
- 4.E[# draws] = 1/P(X โฅ ฯ) since each draw is geometric
- 5.Optimize V(ฯ) analytically: dV/dฯ = 0, then verify it's a maximum
Key Formulas
Worked Examples
Problem
A hat contains the numbers 1โ100. Each round, AJ draws a number (with replacement), writes it down, and pays $1. The prize is the last number written. With optimal play, what is the fair value of this game?
Solution
STRATEGY STRUCTURE: Since draws are i.i.d. (with replacement), the optimal strategy is a threshold ฯ: stop if and only if current draw โฅ ฯ.
VALUE FUNCTION: P(stop each round) = (101โฯ)/100. Expected # draws = 100/(101โฯ). E[prize | stop] = mean of {ฯ, ฯ+1, ..., 100} = (ฯ+100)/2.
V(ฯ) = (ฯ+100)/2 โ 1 ร 100/(101โฯ) = (ฯ+100)/2 โ 100/(101โฯ).
OPTIMIZE: dV/dฯ = 1/2 โ 100/(101โฯ)ยฒ = 0 โ (101โฯ)ยฒ = 200 โ 101โฯ = 10โ2 โ 14.14 โ ฯ* โ 86.86.
ROUND to integer: compare V(86) and V(87).
V(86) = 186/2 โ 100/15 = 93 โ 20/3 โ 86.33.
V(87) = 187/2 โ 100/14 = 93.5 โ 50/7 = 1209/14 โ 86.36.
V(88) = 188/2 โ 100/13 = 94 โ 100/13 โ 86.31.
Optimal ฯ* = 87. SELF-CONSISTENCY CHECK: V โ 86.36 < 87 = ฯ* โ (stop when draw exceeds current value).
Answer
V^* = \frac{1209}{14} \approx \86.36\approx 7.193.50. Expected cost โ $7.14.
Common Mistakes
- !
Using the WRONG threshold: the threshold is โV*โ, not E[X] or max/2 or any other naive guess.
- !
Forgetting the per-draw COST when computing continuation value. More costs โ lower V โ lower threshold โ stop sooner.
- !
For WITHOUT-replacement problems: the distribution changes each draw (state is what's been seen), so a single static threshold is NOT optimal โ you need to update.
- !
Checking only integer thresholds without deriving the continuous optimum first. Always differentiate, find ฯ_continuous, then check ฯ_floor and ฯ_ceil.
- !
Misidentifying the problem type: if it says 'with replacement', use static threshold. If 'without replacement', use backwards induction.
Practice Problems
Click "Show Answer" to revealA hat has numbers 1โ6 (uniform, with replacement). Each draw costs $0.25. What is the optimal threshold and expected value?
Same hat (1โ6) but NOW each draw costs $1 (expensive!). What changes?
You're playing a game: draw uniformly from [0,1] (continuous), costs $c per draw, with replacement. What is the optimal threshold ฯ* and expected value V*?