library(tidyverse)
library(infer)
Consider 20 1 bedroom apartments that were randomly selected on Craigslist Manhattan from apartments listed as “by owner”.
manhattan <- read_csv("data/manhattan.csv")
Create a 98% bootstrap confidence interval for the population median price of 1 bedroom apartments in Manhattan.
Create a 98% bootstrap confidence interval for the population mean price of 1 bedroom apartments in Manhattan. Write out an appropriate interpretation of this interval.
Compare the two confidence intervals. Which interval is wider?
Can we use these intervals to make an accurate statement about the mean/median price of 1 bedroom apartments in the Bronx?