MathProbabilityProbabilistic modeling

Probabilities as frequencies

Proven or not proven?

Report a typo

When we discussed the probability that a coin toss of 30 will land on heads at least 20 times, we ran the following code:

# imagine doing it yourself and not in python
NUMBER_OF_TRIALS = 100000
for i in range(10):
    occurrences = 0
    for j in range(NUMBER_OF_TRIALS):
        if at_least_20_heads(flip_coin_30_times()):
            occurrences += 1
    print(occurrences / NUMBER_OF_TRIALS, end=' ')
0.04935 0.04981 0.04911 0.048 0.04919 0.05057 0.0494 0.04827 0.04954 0.04883 

Can we say that we have proven that this probability is close to 0.05 (say, from 0.04 to 0.06)?

Select one option from the list
___

Create a free account to access the full topic