-
Notifications
You must be signed in to change notification settings - Fork 24
/
01-class.Rmd
323 lines (198 loc) Β· 4.94 KB
/
01-class.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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
---
title: "Class 1: Evaluation and the causal revolution"
author: "Andrew Heiss"
date: "`r Sys.Date()`"
output:
xaringan::moon_reader:
lib_dir: "libs"
chakra: "libs/remark-latest.min.js"
css: ["default", "css/ath-slides.css", "css/ath-inferno-fonts.css", "css/animate.css"]
seal: false
anchor_sections: false
nature:
highlightStyle: github
highlightLines: true
countIncrementalSlides: false
ratio: "16:9"
navigation:
scroll: false
editor_options:
chunk_output_type: console
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(warning = FALSE, message = FALSE,
fig.retina = 3, fig.align = "center")
```
```{r xaringanExtra, echo=FALSE}
xaringanExtra::use_xaringan_extra(c("tile_view"))
```
class: middle
.box-5.large[Join the Slack workspace]
.center.large.sp-after[[andhs.co/slack](<https://andhs.co/slack>)]
.box-5.large[Join the RStudio.cloud workspace]
.center.large[[andhs.co/rstudio](https://andhs.co/rstudio)]
---
class: center middle main-title section-title-3
# In-person<br>session 1
.class-info[
**August 22, 2022**
.light[PMAP 8521: Program evaluation<br>
Andrew Young School of Policy Studies
]
]
---
name: outline
class: title title-inv-8
# Plan for today
--
.box-5.medium.sp-after-half[Data science and program evaluation]
--
.box-6.medium.sp-after-half[Community building and getting help]
--
.box-1.medium.sp-after-half[Navigating the course]
--
.box-2.medium.sp-after-half[R time!]
---
layout: false
name: ds-eval
class: center middle section-title section-title-5 animated fadeIn
# Data science and<br>program evaluation
---
class: middle
.box-5.huge[Who am I?]
---
class: middle
.box-5.huge[What is<br>βdata scienceβ?]
---
class: title title-5
# What is "data science"?
.box-inv-5.medium.sp-after[Turning raw data into<br>understanding, insight,<br>and knowledge]
--
.pull-left-3[
.box-5.medium[ Collect ]
]
.pull-middle-3[
.box-5.medium[ Analyze ]
]
.pull-right-3[
.box-5.medium[Communicate]
]
---
class: title title-5
# What's the difference?
.pull-left.center[
<figure>
<img src="img/01/ds-venn.png" alt="Data science Venn diagram" title="Data science Venn diagram" width="90%">
</figure>
]
.pull-right[
.box-inv-5.medium[Collect]
.box-inv-5.medium[Analyze]
.box-5.medium[Communicate]
]
---
class: middle
.box-5.large[It's *not* scary/complex<br>machine learning,<br>artificial intelligence,<br>neural network stuff!]
---
class: middle
.center[
<figure>
<img src="img/01-class/data-science.png" alt="Data science according to R4DS" title="Data science according to R4DS" width="70%">
</figure>
]
---
class: middle
.center[
<figure>
<img src="img/01-class/ds4ps-life-cycle.png" alt="DS4PS life cycle" title="DS4PS life cycle" width="100%">
</figure>
]
---
layout: false
name: community-help
class: center middle section-title section-title-6 animated fadeIn
# Community building<br>and getting help
---
layout: true
class: title title-6
---
# Why is the R community special?
--
.box-inv-6.large[Intentionality]
--
.box-inv-6.large[\#rstats]
--
.box-inv-6.large[\#tidytuesday]
--
.box-inv-6.large[RStudio community forum]
???
- <https://www.rstudio.com/champion/community-building>
- <https://www.rstudio.com/conference/2022/talks/everything-learned-community-building-learned/>
- <https://community.rstudio.com/>
---
# Creating our own class community
--
.box-inv-6.large.sp-after-half[Work and ask questions in public]
--
.box-inv-6.large.sp-after-half[Be supportive]
--
.box-inv-6.large[**Don't suffer in silence**]
---
# Slack guidelines
--
.box-inv-6.large[Ask questions in #help]
.box-6.small[Avoid DMs with me!]
--
.box-inv-6.large.sp-before[Don't be shy or scared!]
--
.box-inv-6.large.sp-before[Respond in threads]
---
layout: false
class: middle
.box-6.huge[30 minute rule]
---
class: middle
.box-6.huge[How to<br>ask for help]
.center[[Guidelines](https://evalf22.classes.andrewheiss.com/news/2022-08-22_getting-help.html)]
---
layout: false
name: navigating
class: center middle section-title section-title-1 animated fadeIn
# Navigating the course
---
class: title title-1
# Navigating the course
--
.pull-left[
.box-inv-1.less-medium[What's on iCollege?]
- Assignment submission
- Grades
- Exams
- Answer keys
- Copyrighted materials
]
--
.pull-right[
.box-inv-1.less-medium[What's on the website?]
- Everything else!
- Forever!
]
???
- multiple links to assignments and content
- news
- links to Slack and RStudio Cloud
- zip files
- slides
---
layout: false
name: r-time
class: center middle section-title section-title-2 animated fadeIn
# R time!
---
class: title title-2
# Intro to R labs
.box-inv-2.less-medium[Lab 1: Markdown and universal writing]
.box-inv-2.less-medium[Lab 2: Getting started with R and RStudio]
.box-inv-2.less-medium[Lab 3: Data basics]
.box-inv-2.less-medium[Lab 4: Visualize data with ggplot2]
.box-inv-2.less-medium[Lab 5: Transform data with dplyr]