Exercise

# Sensitivity of Counting and Proportion Queries

You'll calculate the global sensitivity of counting and proportion queries in the context of the Male Fertility data; which is available as `fertility`

. As a reminder, here are the formulae:

**Global Sensitivity**

- Counting: 1
- Proportion: \(\dfrac{1}{n}\)

Instructions

**100 XP**

- Assign the number of observations in the
`fertility`

data set to`n`

. - Calculate the global sensitivity of counting queries for the
`fertility`

data set. - Calculate the global sensitivity of proportions for the
`fertility`

data set.