Probability an Ad Bidding Agent Doubles Its Budget Before Going Broke
Last updated: November 29, 2026
Quick Overview
An automated bidder starts with 10 units of budget and each auction it wins 1 unit with probability 0.55 or loses 1 unit with probability 0.45. What is the probability it reaches 20 units before hitting 0?
0
0
0 solved
An automated bidder starts with 10 units of budget and each auction it wins 1 unit with probability 0.55 or loses 1 unit with probability 0.45. What is the probability it reaches 20 units before hitting 0?
This gambler's ruin framing fits Google Ads discussions about budget pacing and risk of exhaustion. The interviewer checks whether you can set up a boundary value recursion, solve it in closed form, and reason about how a small edge compounds.
What the Interviewer Expects
- Set up the recursion P_i = p P_{i+1} + q P_{i-1} with boundaries
- Solve with the ratio r = q/p
- Compute about 0.88 for the given numbers
- Contrast with the fair case i/N = 0.5
- Discuss expected duration or sensitivity to p
Key Topics to Cover
How to Approach This
- Define your hypotheses (H0 and H1) clearly before performing any test.
- Calculate required sample size BEFORE running an experiment, using power analysis.
- Remember the Central Limit Theorem: sample means become approximately normal with large n.
- Watch for Simpson's paradox. Always segment data by key dimensions.
- Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
- What is the expected number of auctions until the process stops?
- What happens to the ruin probability as the upper target goes to infinity?
- How would variable bet sizes change the model?
- If p is estimated from data with uncertainty, how would you report the answer?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
States are budget levels with , start at , step up with , down with , absorbed at 0 and . Steps are independent. We want , the probability of hitting...
Approach
First-step analysis: with , . The characteristic equation has roots and , so . Boundaries fix the consta...