(Content Note: A recent study on race and Covid is referenced in this video.)
Educators in California are concerned that high school students do not get enough sleep. They collect data about 300 students, and calculate a 99% confidence interval for the average hours of sleep a night to be \((7.0, 7.5)\).
Which of the following is a correct interpretation of the confidence interval?
You don’t need to carefully read every word in this chapter, but please look over it. In particular, you’ll find some shortcuts from the infer
package that make the bootstrapping process even easier and cleaner!
Fun Fact:
The term “bootstrap” comes from the phrase “pull yourself up by your bootstraps!” meaning, essentially, that you should take responsibility for your own life improvement.
This is kind of a joke - of course, you can’t fly through the air by grabbing your shoelaces and pulling up!
Similarly, the bootstrap procedure in statistics feels a bit like cheating; we’re magically making more samples from our original.
It’s one of my favorite terms in all of statistics!
Use the mtcars
dataset to study horsepower of cars (hp
).
Make a 95% Confidence Interval for:
The mean horsepower
The median horsepower
The variance of horsepower