Chapter 50
Can You Skillfully Ski The Slopes?
You and an evenly matched opponent each ski two runs; the lower total time wins gold. All four run times are independent draws from the same normal distribution. Your opponent skis the first run, then you ski yours and your coach signals that you were faster. Without knowing the times, what is the probability you still win after the second run? Extra credit: in the snowboarding final there are 30 finalists; you go last on the first run and are told you are in the lead. What is your chance of gold?
The Riddler, FiveThirtyEight(original post)
Solution
Write your run times as and the opponent’s as . Let and . You were faster on run one, so ; you win gold when your total is smaller, . Both and are differences of independent identical normals, so they are independent, normal, mean zero, and jointly rotationally symmetric about the origin.
By that symmetry the direction of is uniform around the circle. The event is a half-plane (a sector); the event is the half-plane above the line . Their overlap is the sector from to , a span of , so and dividing by ,
For the extra credit there is no such tidy sector. Being fastest on the first run among is strong evidence but far from decisive over a second independent run; simulating the conditional probability gives about
The computation
For each field size, draw two independent runs per skier, keep the trials where you led after the first run, and measure how often you also had the lowest total.
import numpy as np
rng = np.random.default_rng(0)
def prob_gold(n, runs=2_000_000):
first = rng.normal(0, 1, (runs, n))
total = first + rng.normal(0, 1, (runs, n))
led = first.argmin(1) == n - 1 # you (last skier) fastest run 1
won = total.argmin(1) == n - 1
return (led & won).sum() / led.sum()
print(prob_gold(2)) # ~0.75 = 3/4
print(prob_gold(30)) # ~0.31