Empirical Probability Lab
Run repeated random experiments and compare the observed relative frequency with the theoretical probability. Watch how the empirical estimate behaves as the number of trials increases.
Experiment setting
Theoretical probability p
0.50
Simulation size
Number of trials n
100
Observed successes
—
Empirical probability
—
Theoretical probability
0.500
Absolute difference
—
Convergence graph
Empirical probability
Theoretical probability
Earlier runs at this p
What is happening?
Empirical probability = successes / trials
Key idea: In small samples, the empirical probability can
fluctuate substantially. As more trials are observed, the estimate often
becomes more stable around the theoretical probability.
Choose a probability and a number of trials, then run the experiment.
Try the same theoretical probability with 10, 100, and 1000 trials and compare the graphs.