Exercise

# Generate bootstrap distribution for median

When building a bootstrap distribution for a single statistic, we first generate a series of bootstrap resamples, and then record the relevant statistic (in this case, the median) of each distribution.

In this exercise, the `tidyverse`

packages, including `ggplot2`

have been loaded for you, as has `infer`

.

Instructions 1/2

**undefined XP**

Generate 15000 bootstrap distributions of `rent`

in the `manhattan`

data frame and record the median of each bootstrap distribution.

- Specify that
`rent`

is the response variable. - Generate 15000 bootstrap replicates.
- Calculate the median of each distribution.