Quant Memo
Core

Monty Hall When the Host Behaves Differently

The famous switch-and-win-two-thirds answer to Monty Hall depends entirely on what the host knows and always does. Change the host's rule and the right answer changes with it.

Prerequisites: The Monty Hall Problem

Everyone remembers the punchline of Monty Hall — switch and you win the car two-thirds of the time — but the proof depends on three quiet assumptions about the host: he knows where the car is, he always opens a door, and he always opens a goat door. Interviewers love changing exactly one of those and watching whether you notice.

The baseline, briefly

Three doors, one car. You pick door 1. The host, who knows where the car is and must open a losing door other than yours, opens door 2 or 3 to reveal a goat, then offers a switch. Your original pick was right with probability 1/31/3; that number can't change just because the host, who was always going to find a goat, found one. So the remaining unopened door absorbs the other 2/32/3. Switching wins with probability 2/32/3.

Worked variant: the host doesn't know

Now the host opens a random door, not knowing where the car is, and it happens to reveal a goat. This looks identical to the baseline from where you're sitting, but it isn't. Condition on the actual event: "random door opened, goat shown." Using Bayes' rule on the two cases —

  • Car behind your door (prior 1/31/3): host opens a random other door, always a goat. P(goat shownyour door)=1P(\text{goat shown} \mid \text{your door}) = 1.
  • Car behind another door (prior 2/32/3): host opens one of the two remaining doors at random; it shows a goat only half the time, since half the time it reveals the car instead. P(goat shownother)=1/2P(\text{goat shown} \mid \text{other}) = 1/2.
P(your doorgoat shown)=131131+2312=1/32/3=12.P(\text{your door} \mid \text{goat shown}) = \frac{\frac13 \cdot 1}{\frac13\cdot 1 + \frac23 \cdot \frac12} = \frac{1/3}{2/3} = \frac12.

Once you condition on actually seeing a goat, the asymmetry that powered the original result is gone: switching and staying are now a coin flip. The host's ignorance is what erased the information.

host knows, always shows goat switch wins 2/3 host random, goat by luck switch wins 1/2 same visible action, different host rule, different answer
Identical door-opening event, but the host's decision procedure changes what it tells you.

The generalizable technique

Don't compute a probability from what happened; compute it from the rule that generated what happened. Write down the host's decision procedure as a conditional probability for every case (car behind your door vs. not), then run Bayes' rule across those cases — the arithmetic is only ever a weighted average, weighted by how likely each case was to produce the observed action. This is the same move needed for the two-children problem and for reading DNA-match evidence correctly: the observation alone is never enough, you also need the process that could have produced it.

Monty Hall's answer isn't a fact about doors — it's a fact about the host's algorithm. Before touching Bayes' rule, write out, for each possible truth, the probability the host's specific rule would produce the door-opening you actually saw.

"The host revealed a goat, so switching is better" is not automatically true. It's true only when the host always reveals a goat by design. If the reveal could have gone wrong (host doesn't know, or sometimes opens your door), you must recompute — don't reuse the 2/32/3 answer from memory.

Related concepts

Practice in interviews

Further reading

  • vos Savant, Ask Marilyn columns (Parade, 1990–1991)
ShareTwitterLinkedIn