Lecture 24
Interpreting Confidence
DATA 8
Fall 2018
Slides created by John DeNero (denero@berkeley.edu) and Ani Adhikari (adhikari@berkeley.edu)
Announcements
The Bootstrap
Key to Resampling
Why the Bootstrap Works
population
sample
resamples
All of these look pretty similar, most likely.
Why We Need the Bootstrap
population
sample
resamples
What we wish we could get
What we really get
Each line here is a confidence interval from a fresh sample from the population
95% Confidence Interval
(Demo)
Use Methods Appropriately
Can You Use a CI Like This?
By our calculation, an approximate 95% confidence interval for the average age of the mothers in the population is (26.9, 27.6) years.
True or False:
Answer: False. We’re estimating that their average age is in this interval.
Is This What a CI Means?
An approximate 95% confidence interval for the average age of the mothers in the population is (26.9, 27.6) years.
True or False:
Answer: False. The average age of the mothers in the population is unknown but it’s a constant. It’s not random. No chances involved.
When Not to Use The Bootstrap
(Demo)
Confidence Intervals For Testing
Using a CI for Testing
(Demo)