-
Notifications
You must be signed in to change notification settings - Fork 0
/
lecturelab.Rmd
119 lines (70 loc) · 5.01 KB
/
lecturelab.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
---
title: "Lecture & Lab Materials"
author: "Andrew MacDonald"
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
# Lectures
## Unit 1: Distributions
### Class Welcome
* Recording: [Class 1](https://duke.zoom.us/rec/share/P63Iyay_3X-RQ1aixtu4xV0cYVllbvh8KyYrpqEY0sglGTBt7hFMOh2YeF6-5HNR.kNFMe07lvFiQW3Rb?startTime=1641811488000)
### Characteristics of Distributions
* Lecture webpage: [Characteristics of distributions](https://andrewm.shinyapps.io/spr2022distributions)
* Recording: [Class 2](https://duke.zoom.us/rec/share/-ZCftywyQVABVGi3myZHE3S-Dry3RV-diMDomS2-m1V_m5tA2ibQms7zF-MSerBL.KA0UhVWsOAejLJSD?startTime=1641984674000)
* Quality YouTube content: [Tidyverse music video](https://www.youtube.com/watch?v=p8Py9C8iq2s&ab_channel=TheRaf)
### Comparing distributions and the Normal distribution
* Lecture webpage: [Advanced distributions](https://andrewm.shinyapps.io/spr2022advanceddistributions/)
* Recording: [Class 3](https://duke.zoom.us/rec/share/XxjQSOejfWjRibeiQTTljfoOd8okrgmiRRS9bVFzWlmtUsOwQEOwhZk1fTg1W0-e.ofozZZ1JiknM6TEq?startTime=1642416412000)
## Unit 2: Relationships Between Variables
### Association and Correlation
* Lecture webpage: [Association and correlation](https://andrewm.shinyapps.io/spr2022association/)
* Recording: [Class 4](https://duke.zoom.us/rec/share/AtrlFuAlWsJlcWkHJ_5E_ZCxqN9i5Ye7PMHLUxtGvMc4ISNK-P22lkgvavxBY5ok.-3wn3tFAcYr08WiE?startTime=1642589659000)
### Simple Linear Regression
* Lecture webpage: [Simple linear regression](https://andrewm.shinyapps.io/spr2022simpleregression/)
* Recording: [Class 5](https://duke.zoom.us/rec/share/47sjFFlJubTm5FDii_5RVt_nNiVf0auQjDTTwdeHRgn6qaApDkto-pD3cboQtXNG.xBapqGn3f1mYYf2H?startTime=1643021638000)
### Regression Wisdom
* Lecture webpage: [Regression wisdom](https://andrewm.shinyapps.io/spr2022regressionwisdom/)
* Recording: [Class 6](https://duke.zoom.us/rec/share/1lrWijzPrrS5BAh_saWi21jlAtw_9oIILSx-4x-uJU9P29r14gRhv36mIMnZNyNm.uyNTvSpHVBcdf58D?startTime=1643194206000)
### Multiple Regression
* Lecture webpage: [Multiple regression](https://andrewm.shinyapps.io/spr2022multipleregression/)
* Recording: [Class 7](https://duke.zoom.us/rec/share/Qc7X7W0a04lT7-AxtwYccF0bHTeDf-6dHG8sfBwDhAUcVZhvSlCkHaSmx6cJm4XW.I-cnLGi5IaNp4Hio?startTime=1644231216000)
## Unit 3: Measuring Uncertainty
### Confidence Intervals - Proportions
* Lecture webpage: [Confidence intervals - proportions](https://andrewm.shinyapps.io/spr2022confintprop/)
* Recording: [Class 8](https://duke.zoom.us/rec/share/pxtjQoSHpgYlKKGgu1sOylGSuhHSXNipa5D7JFgtMUifI10iPB3ENPpOTTzHzvGt.BcHQIFgqS1lHV096
)
### Confidence Intervals - Means
* Lecture webpage: [Confidence intervals - means](https://andrewm.shinyapps.io/spr2022confintmean/)
* Recording: [Class 9](https://duke.zoom.us/rec/share/_gXqcr66EtMFASBqcEBJQTr63NGdeHMmpVle1SMKsuhajvQaACwhDV1KiaWJ9k5t.SO_rJ2rPSBMbHu9V?startTime=1644835735000)
### Hypothesis Testing
* Lecture webpage: [Hypothesis testing](https://andrewm.shinyapps.io/spr2022hyptesting/)
* Recording: [Class 10](https://duke.zoom.us/rec/share/UcXAhHqfDH1B8o8xmt4RQiCgRtkgNkqJn8bk170PedAGJE3ygMW1K_3zUXiN_pCQ.MEMWO803xmzmDvN7?startTime=1645008914000)
### Hypothesis Testing Wisdom
* Lecture webpage: [Hypothesis testing wisdom](https://andrewm.shinyapps.io/spr2022hyptestwisdom/)
* Recording: [Class 11 part 1](https://duke.zoom.us/rec/share/imJ5VLS6mnzj8XIGxys9OoMFQHLcZnirvnjTHRGu2v0FO2fC6z7QBBEGRCT31wFw.wBfH5ByVzOSmX6ng?startTime=1645440684000) [Class 11 part 2](https://duke.zoom.us/rec/share/q5xhxgNJRS5CHqw6o4XlIh_wZwWow96ShfrvOHrAluKqcRrjGgTYjZCXetqTam89.2qw4TBGbi3m2uJu-?startTime=1645442573000)
## Unit 4: Statistical Inference
### Comparing Groups
* Lecture webpage: [Comparing groups](https://andrewm.shinyapps.io/spr2022comparinggroups/)
* Recording: [Class 12](https://duke.zoom.us/rec/share/qJqPoAzCVPsINkOQ5EuRMp3gUOYaZvOQuO49k6-9AhCK7cQKkSULwoyIfi2nnuUG.zcQKqTB-wz4mJKSz?startTime=1645612358000)
### Returning to Regression
* Lecture webpage: [Returning to regression](https://andrewm.shinyapps.io/spr2022return2regression/)
* Recording: [Class 13](https://duke.zoom.us/rec/share/9mpawY4e2I3KSz6NCuNYJqe21DqhpxP71THgTyiBb8FF6G9Jjtjdl2IFVnl4O7tW.v3kCUgAjvenpA8vg?startTime=1646045527000)
### Interpretation Activity
* Lecture activity: [Sleep study analysis](lectures/lecture14-interpretation/lecture14.zip)
# Labs
## Week 1: R and RMarkdown
* Lab files: [Lab 1 - R Markdown](labs/wk1/lab1.zip)
+ Make sure to extract (unzip) the lab files before attempting to modify them!
## Week 2: Exploratory Data Analysis
* Lab files: [Lab 2 - Exploratory data analysis](labs/wk2/lab2.zip)
## Week 3: Regression Interpretation
* Lab files: [Lab 3 - Association and correlation](labs/wk3/lab3.zip)
## Week 4: Model Building
* Lab files: [Lab 4 - Model building](labs/wk4/lab4.zip)
## Week 5: Sampling Distribution
* Lab files: [Lab 5 - Sampling distribution](labs/wk5/lab5.zip)
## Week 6: Hypothesis Testing
* Lab files: [Lab 6 - Hypothesis testing](labs/wk6/lab6.zip)
## Week 7: Model Building Part 2
* Lab files: [Lab 7 - Model building part 2](labs/wk7/lab7.zip)