Skip to content
LeetQuant
QT03 Expected Value and Decision Theory

QT03 · Expected Value and Decision Theory · Lesson 2 of 5

Pricing a Game

The fair price of a game is the expected payoff under optimal play: how to value fees, rerolls, stop-or-continue choices and the option to choose after seeing information.

15 min

Objective

"What would you pay to play this game?" is the most common opening question in a trading interview. By the end of this lesson you should be able to price any small game by writing its payoff as a random variable, solving the player's choices from the last one backwards, and taking the expectation. You should also be able to say exactly how much each choice inside the game is worth.

Fair price is expected payoff

A game that pays a random amount XX has fair price E[X]\mathbb{E}[X]: at that price, neither side expects to make money. If you must pay an entry fee cc, the game's value to you is E[X]−c\mathbb{E}[X] - c, and you play when that is positive. A trader quotes a market around the fair price: buy the game below E[X]\mathbb{E}[X], sell it above.

Three habits keep the answer right:

  1. Define the payoff exactly. Is the fee refunded? Is the payout the face value, the face value minus the fee, or the face value only when some condition holds? Ask before computing.
  2. Price under optimal play. If the game contains choices, the price assumes the player makes each choice well. A game with a choice is worth at least as much as the same game with that choice fixed.
  3. Fees already paid are sunk. Once you have paid to roll, the decision to stop or continue compares only future payoffs. Fees that you would pay in the future do count.

Choices are options

Suppose at some point you may take payoff AA or payoff BB, and you choose after seeing them. You collect max⁡(A,B)\max(A, B), so the value of that node is E[max⁡(A,B)]\mathbb{E}[\max(A, B)]. If instead you had to commit in advance, you would pick the better average and collect max⁡(E[A],E[B])\max(\mathbb{E}[A], \mathbb{E}[B]). Since max⁡\max is convex,

E[max⁡(A,B)]  ≥  max⁡(E[A],E[B]),\mathbb{E}[\max(A, B)] \;\ge\; \max\big(\mathbb{E}[A], \mathbb{E}[B]\big),

and the difference is the value of the option to choose late. It is zero only when the same choice is optimal in every outcome. This is the same reason a call option is worth more than its intrinsic value: the right to decide after seeing the outcome is worth paying for.

The comparison against a fixed threshold is the workhorse. If you hold a random payoff XX and can swap it for something worth vv on average, you keep XX when X>vX > v and swap otherwise, so the node is worth E[max⁡(X,v)]\mathbb{E}[\max(X, v)].

Worked example

a reroll that costs a dollar

Roll a fair die and be paid the face value in dollars. After seeing the roll, you may pay $1 to roll once more, in which case you are paid the second roll instead (the first is forfeited). What is the game worth, and how much of that is the reroll option?

Show solution

Solve the last choice first. If you reroll, you receive a fresh die worth 3.53.5 on average and pay 11, so rerolling is worth 2.52.5. Keep the first roll when its face beats 2.52.5, i.e. on 3, 4, 5 or 6; reroll on 1 or 2.

Take the expectation over the first roll:

V=3+4+5+66+26×2.5=3+56=236≈3.83.V = \frac{3 + 4 + 5 + 6}{6} + \frac{2}{6}\times 2.5 = 3 + \frac{5}{6} = \frac{23}{6} \approx 3.83 .

Without the reroll the game is worth 3.53.5, so the option is worth 236−3.5=13≈0.33\tfrac{23}{6} - 3.5 = \tfrac13 \approx 0.33. Note the threshold logic: you compare the face with the value of continuing net of the future fee, not with 3.53.5.

Sanity checks worth saying aloud: the value lies between 3.53.5 (never reroll) and 66, and the option is worth little because the fee is large relative to the gain from replacing a 1 or 2.

Worked example

paid the sum or the product, your choice

Roll two fair dice. After seeing them you choose to be paid either their sum or their product. What is the fair price? How does it compare with the best you could do if you had to choose before rolling?

Show solution

Committing in advance. E[sum]=7\mathbb{E}[\text{sum}] = 7 and, by independence, E[product]=3.52=12.25\mathbb{E}[\text{product}] = 3.5^2 = 12.25. You would always pick the product: value 12.2512.25.

Choosing after the roll. Compare a+ba + b with abab. Their difference is

(a+b)−ab=1−(a−1)(b−1),(a + b) - ab = 1 - (a - 1)(b - 1),

which is positive only when (a−1)(b−1)=0(a-1)(b-1) = 0, i.e. when at least one die shows a 1. In that case the sum beats the product by exactly 11 (for a=1a = 1: 1+b1 + b versus bb). Otherwise the product is at least as large (they tie at 2,22, 2).

So choosing late adds 11 in each of the 1111 outcomes containing a 1:

E[max⁡(sum,product)]=12.25+1136=1139≈12.56.\mathbb{E}[\max(\text{sum}, \text{product})] = 12.25 + \frac{11}{36} = \frac{113}{9} \approx 12.56 .

The late-choice option is worth 1136≈0.31\tfrac{11}{36} \approx 0.31. The structure of the answer generalises: write the value as "the default choice, plus the expected improvement in the states where you switch".

Games that feed back into themselves

Some games restart part of themselves. Write the value VV as an equation in itself, as in first-step analysis. For "roll a die, receive the face; on a 6 you also roll again and add the next result",

V=3.5⏟this roll+16 V⟹V=3.55/6=4.2.V = \underbrace{3.5}_{\text{this roll}} + \frac16\,V \quad\Longrightarrow\quad V = \frac{3.5}{5/6} = 4.2 .

Check that the equation is legitimate: the game ends with probability 1 and VV is finite (it is, since the chance of kk consecutive sixes falls geometrically).

How to answer out loud

  1. Restate the payoff, including fees and what happens on each branch.
  2. Identify every choice, and when it is made relative to the information revealed.
  3. Solve the last choice first, as a comparison with a threshold.
  4. Take the expectation, simplify, and sanity-check against bounds (never choose, always choose, the best possible payout).
  5. Quote a price: the fair value, then a bid below and an offer above if asked to make a market.

Knowledge check

Roll a fair die and receive the face value. If it shows 6 you roll again and add the new result, repeating for as long as you roll sixes. What is the fair price?

Knowledge check

You may take 3 dollars in cash or the face value of a fair die roll. How much more is the game worth if you may decide after seeing the die rather than before?

Knowledge check

In a game you may stop or continue, and continuing costs a fee each time. Which statement is correct?

Key takeaways

  • Fair price is the expected payoff under optimal play; a fee simply subtracts.
  • A choice made after information is revealed is worth E[max⁡]−max⁡E≥0\mathbb{E}[\max] - \max\mathbb{E} \ge 0.
  • Solve choices from the last one backwards, as comparisons with the value of continuing net of future costs.
  • Self-referential games give a linear equation in VV.
  • Express the answer as "default value plus the expected improvement where you switch": it is quicker and easier to check.

Practice problems

Finished reading?

Answer the 3 knowledge checks to complete this lesson (0 done).