Get startedGet started for free

Exercise 5. Probability of 1 SD from average

Compute the probability that the height of a randomly chosen female is within 1 SD from the average height.

This exercise is part of the course

HarvardX Data Science - Probability (PH125.3x)

View Course

Exercise instructions

  • Calculate the values for heights one standard deviation taller and shorter than the average.
  • Calculate the probability that a randomly chosen woman will be within 1 SD from the average height.

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Assign a variable 'female_avg' as the average female height.
female_avg <- 64

# Assign a variable 'female_sd' as the standard deviation for female heights.
female_sd <- 3

# To a variable named 'taller', assign the value of a height that is one SD taller than average.


# To a variable named 'shorter', assign the value of a height that is one SD shorter than average.


# Calculate the probability that a randomly selected female is between the desired height range. Print this value to the console.
Edit and Run Code