Session Ready
Exercise

Prepping for the Laplace sanitizer

As always, you'll first be calculating the global sensitivity of your queries in the context of the Laplace sanitizer, then correctly assigning the value of epsilon. For the Male Fertility data set (fertility), you'll be revisiting a previous exercise, where your queries were:

  1. How many participants were evaluated in winter?
  2. How many participants were evaluated in spring?
  3. How many participants were evaluated in summer?
  4. How many participants were evaluated in fall?
Instructions
100 XP
  • Load the dplyr and smoothmest packages.
  • Set the value of epsilon such that your initial privacy budget is 0.1 while taking into account the future application of the Laplace sanitizer.
  • Calculate the global sensitivity of counts for Season.
  • Find the number of participants in each of the four seasons.