Lecture 21
Dr. Elijah Meyer + Konnie Huang
Duke University
STA 199 - Fall 2022
November 9th, 2022
– Clone ae-20
– HW 5 (Due Thursday)
– Small typo on HW 5 (see Slack)
– You may see some hints posted as well….
– Drop 1 Peer Feedback
– Compare two proportions, and do a hypothesis test
– Compare two means, and do a bootstrap interval
– Prediction and bootstrap interval for the slope
– What assumption do we need to make about our data in order to trust results from our bootstrap methods?
– What is independence?
– 50 Airbnb listings in 2020 for Asheville, NC.
– Random Sample - Every observation has an equal probability of being selected
– A random sample ensures that our sample is representative of the entire population
– Our results are hard to trust
– Good models and procedures can not fix bad data
– Today, we go through how to bootstrap for a slope coefficient
– Can use other bootstrap methods for other questions you may be interested in
– Do not use if data are not representitative