+ - 0:00:00
Notes for current slide
Notes for next slide

In-person
session 2

January 18, 2024

PMAP 8521: Program evaluation
Andrew Young School of Policy Studies

1 / 26

Plan for today

2 / 26

Plan for today

Files, folders, and projects

2 / 26

Plan for today

Files, folders, and projects

Transforming data with {dplyr}

2 / 26

Plan for today

Files, folders, and projects

Transforming data with {dplyr}

Regression, p-values, and null worlds

2 / 26

Files, folders,
and projects

3 / 26

Why so much content
these first two weeks?

4 / 26

Everything is a little scattered at the beginning because you're all coming from different backgrounds and skill levels. Some have been using R for months+years, some haven't. Some have been doing regression and stats for years, some haven't. So these first two weeks involve throwing a bunch of stuff at you and seeing what you'll take and what you need.

In the future, it'll be a lot more consolidated: content on the content page, assignment instructions on the assignments page, example walk through on the examples page. That's it. Content, assignment, example, over and over again.

How much should I be reading?

5 / 26

File paths, working directories,
and RStudio projects

6 / 26

.zip files

7 / 26

The hyperliterality of computers

Warnings and messages

8 / 26

Quarto tips

9 / 26

Transforming
data with {dplyr}

10 / 26

Regression with R

11 / 26
Sliders and switches

From slides

12 / 26
Mixer board
13 / 26

Regression equations

And is the intercept ever useful,
or should we always ignore it?

14 / 26

Why use two steps to create a regression in R?
(i.e. assigning it to an object with <-?)

Why use tidy()
from the broom package?

15 / 26

Show model with lm(); show t-test with t.test(); show both through tidy()

Use marginaleffects

How was the 0.05 significance
threshold determined?

Could we say something is significant
if p > 0.05, but just note that it is at
a higher p-value?
Or does it have to fall under 0.05?

16 / 26

Why all this convoluted
logic of null worlds?

17 / 26
Oatmeal ratings
18 / 26
Oatmeal ratings
19 / 26

Do we care about the actual coefficients
or just whether or not they're significant?

How does significance relate to causation?

If we can't use statistics to assert causation
how are we going to use this information
in program evaluation?

20 / 26

What counts as a "good" R²?

21 / 26
Euler diagram
22 / 26
R2 prediction
23 / 26
R2 estimation
24 / 26
R2 estimation vs prediction
25 / 26

R time!

26 / 26

Plan for today

2 / 26
Paused

Help

Keyboard shortcuts

, , Pg Up, k Go to previous slide
, , Pg Dn, Space, j Go to next slide
Home Go to first slide
End Go to last slide
Number + Return Go to specific slide
b / m / f Toggle blackout / mirrored / fullscreen mode
c Clone slideshow
p Toggle presenter mode
t Restart the presentation timer
?, h Toggle this help
oTile View: Overview of Slides
Esc Back to slideshow