Monte Carlo, Python, Simulation, Data.
by author You may now wonder how the result will vary with increase number of samples. To check that see the graph below showing the gap width estimation with 95% confidence interval, depending on the sample size (from 100 to 7000 samples): An estimated gap width with 95% confidence interval; Image