Payout of Rolling Until a Six Ends the Game

Last updated: November 29, 2026

Quick Overview

You roll a fair die repeatedly. Each roll that is not a 6 adds its face value to your payout; the game ends the first time you roll a 6, which pays nothing. What is the expected payout, and what is a fair entry fee?

Meta
Statistics & Math
Data Scientist
Meta
November 29, 2026
Data Scientist
Onsite
Statistics & Math
Medium

0

0

0 solved


You roll a fair die repeatedly. Each roll that is not a 6 adds its face value to your payout; the game ends the first time you roll a 6, which pays nothing. What is the expected payout, and what is a fair entry fee?

Meta onsite statistics rounds often include a game like this to test conditioning and Wald's identity. The interviewer checks that you separate the number of scoring rolls from their values and avoid using 3.5 as the value of a scoring roll.

What the Interviewer Expects
  • Number of scoring rolls is geometric with mean 5
  • Each scoring roll has conditional mean 3
  • Use Wald's identity or a recursion to get 15
  • Set the fair fee at 15
  • Compute or simulate the variance
Key Topics to Cover
Wald's identity
Geometric distribution
Conditional expectation
Recursion
How to Approach This
  1. Define your hypotheses (H0 and H1) clearly before performing any test.
  2. Calculate required sample size BEFORE running an experiment, using power analysis.
  3. Remember the Central Limit Theorem: sample means become approximately normal with large n.
  4. Watch for Simpson's paradox. Always segment data by key dimensions.
  5. Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
  • What is the expected payout if a 6 ends the game but still pays 6?
  • What if you may stop at any time and keep your total?
  • What is the variance of the payout?
  • What if the game ends on either a 5 or a 6?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Browse Statistics Questions
Sample Answer
Clarify

Rolls are iid fair dice. Let NN be the number of rolls before the first 6 (scoring rolls). Payout P=∑i=1NYiP = \sum_{i=1}^{N} Y_i where YiY_i are the scoring faces, each uniform on {1,…,5}\{1, \dots, 5\}....

Approach

Two routes. Recursion on the first roll: E=16⋅0+56(3+E)E = \frac16 \cdot 0 + \frac56 (3 + E), since a non-six has conditional mean 3 and the game restarts. Or Wald: E[P]=E[N]⋅E[Y]E[P] = E[N] \cdot E[Y]....


Submit Your Answer
Markdown supported