1. Learn
  2. /
  3. Courses
  4. /
  5. Foundations of Probability in Python

Connected

Exercise

Adults' heights example

The heights of adults aged between 18 and 35 years are normally distributed. For males, the mean height is 70 inches with a standard deviation of 4. Adult females have a mean height of 65 inches with a standard deviation of 3.5. You can see how the heights are distributed in this plot:

Adults heights distribution for male and female

Using the previous information, complete the following exercises.

For your convenience, norm has been imported from the library scipy.stats.

Instructions 1/4

undefined XP
  • 1

    Print the range of female heights one standard deviation from the mean.

  • 2

    Print the value where the tallest males fall with 0.01 probability.

  • 3

    Print the probability of being taller than 73 inches for a male and for a female.

  • 4

    Print the probability of being shorter than 61 inches for a male and for a female.