Session Ready
Exercise

Sensitivity of Mean and Variance Queries

Now, you'll calculate the global sensitivity of the mean and proportion queries for Hours_Sitting in the Male Fertility data set.

Remember that you've already calculated the number of observations n, and that the Hours_Sitting is normalized from 0 to 1, so the lower and upper bounds of Hours_Sitting are 0 and 1, respectively.

Global Sensitivity

  • Mean: \(\dfrac{b - a}{n}\)
  • Variance: \(\dfrac{(b - a)^2}{n}\) where a is the lower bound of the data, and b is the upper bound.
Instructions
100 XP
  • Calculate the global sensitivity of the mean for Hours_Sitting.
  • Calculate the global sensitivity of the variance for Hours_Sitting.