Week 6
Confidence Intervals and Hypothesis Testing
Overview of Week 6
Mon: Day 9
- Confidence intervals for one mean (single-sample):
- Sections 4.2 and 5.1.1, 5.1.2 (pgs. 238-242)
- Student’s t-distribution
Wed: Day 10
- Hypothesis testing for one mean (single-sample): Section 4.3, 5.1
- CIs vs. hypothesis tests
- Inference for two-sample paired data: Section 5.2
- R projects,
here::here()
, and loading data into R from a file- See Projects in RStudio file for more information
- Running a
t.test
in R
Slides & Recordings
- Pre-recorded lessons are on Echo Cloud (aka echo 360 or echo video).
Day | Topic | Slides: html | Slides: pdf | Slides: web-page | Slides with notes | Recording Link | Duration | Code: qmd | Code: html |
---|---|---|---|---|---|---|---|---|---|
9 | CI’s for 1 mean: 4.2 | Day 9: slides 1-12 | Day 9 Part 1 | 17 min | |||||
4.2 con’td | Day 9: slides 13-19 | same | same | Day 9 Part 2 | 17 min | same | same | ||
4.2 con’td, 5.1.1, 5.1.2 (pgs. 238-242) | Day 9: slides 20-23 | same | same | Day 9 Part 3 | 14 min | same | same | ||
10 part 1 | Hyp test 1 mean intro | Day 10 Part 1: slides 1-13 | Day 10 Part 1 | 26 min | |||||
Hyp test steps: 4.3, 5.1 | Day 10 Part 1: slides 14-25 | same | same | Day 10 Part 2 | 36 min | same | |||
R demo | Day 10 Part 1: slides 26-34 | same | same | Day 10 Part 3 | 25 min | same | |||
10 part 2 | Day 10 Part 2 | No recording |
Datasets
All datasets can be found on GitHub
Class discussion
During class you will be working in groups discussing the following:
Day 9
- Slide 15: What percent CI was being simulated in this figure?
- Slide 22: Calculate CI
- Problems from Homework 4:
- Book exercises:
- warm-up: 4.4, 4.6, 5.10
- 5.6
- R2: Youth weights Part 2 (YRBSS)
- Book exercises:
Day 10
- Work through Day 10 Part 2 slides
- There are specific questions in orange on (most) slides.
- Problems from Homework 4:
- Book exercises:
- 5.16 (warm-up)
- 5.12
- R3: Swim times
- Book exercises:
Homework
- HW 4 covers Days 8 -10 and is due on Sat, 11/9
- Check out this spreadsheet for typos in book.