Session Ready
Exercise

Prepping for the DP Normal Distribution

Finally, you can generate differentially private synthetic data from a normal distribution. In this exercise, you'll be assigning epsilon and calculating the global sensitivity of your queries. Your queries are:

  1. What is the average age?
  2. What is the variance in age?

Recall that age is normalized from 0 to 1.

Instructions
100 XP

fertility is available in your workspace.

  • Set the value of epsilon using the initial privacy budget of 0.1 and taking into account the differentially private properties.
  • Assign n as the number of observations, a and b as the lower and upper bounds of age, respectively.
  • Calculate the global sensitivity of the mean and variance for age.