1. Learn
  2. /
  3. Courses
  4. /
  5. Statistical Thinking in Python (Part 1)

Exercise

What are the chances of a horse matching or beating Secretariat's record?

Assume that the Belmont winners' times are Normally distributed (with the 1970 and 1973 years removed), what is the probability that the winner of a given Belmont Stakes will run it as fast or faster than Secretariat?

Instructions

100 XP
  • Take 1,000,000 samples from the normal distribution using the rng.normal() function. The mean mu and standard deviation sigma are already loaded into the namespace of your IPython instance.
  • Compute the fraction of samples that have a time less than or equal to Secretariat's time of 144 seconds.
  • Print the result.