Law of Large Numbers: Rolling a Fair Die
Each face has probability 1/6 ≈ 0.1667. Roll the die again and again and watch how the relative frequency of one face settles down at 1/6.
Roll:
Face to track:
Independent runs:
Play speed (rolls/s):
x-axis:
No roll yet
0rolls so far (n)
0count of face 6
–relative frequency (run 1)
–relative freq. − 1/6
–count − n/6
Relative frequency of the tracked face
Blue: relative frequency (run 1 bold). Dashed red: 1/6. Green band: ±2 standard errors, √(p(1−p)/n), around 1/6. It narrows like 1/√n.
Absolute deviation from the expected count
Count minus n/6. Green band: ±2√(n·p·(1−p)). The band widens with n.
Take-away. The relative frequency converges to 1/6, but the absolute difference between the count and n/6 does not shrink; it typically grows like √n. The die has no memory and does not "make up" for earlier deviations. The law of large numbers works by dilution, not by compensation.