CommencerCommencer gratuitement

Calculate bootstrap interval using both methods

Using our bootstrap distribution from an earlier exercise, we can calculate bootstrap intervals for the median price of 1 bedroom apartments in Manhattan. Remember that we saved the bootstrap distribution as rent_med_ci.

Cet exercice fait partie du cours

Inference for Numerical Data in R

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Calculate bootstrap CI as lower and upper quantiles
rent_med_ci %>%
  summarize(
    l = quantile(___, ___),
    u = ___
  ) 
Modifier et exécuter le code