Top Banner
Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public Service Andrew Young School of Policy Studies • Georgia State University Spring 2020
69

Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

May 22, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Evaluation, data science, and the causal revolution

January 15, 2020PMAP 8521: Program Evaluation for Public Service

Andrew Young School of Policy Studies • Georgia State UniversitySpring 2020

Page 2: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Plan for today

Data science and public service

Evidence, evaluation, and causation

Class details

Getting staRted!

Page 3: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Data science and public service

Page 4: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public
Page 5: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

“To responsibly unleash the power of data to benefit

all Americans”

Data and government

Page 6: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public
Page 7: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public
Page 8: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public
Page 9: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public
Page 10: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public
Page 11: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

How do you use all this data to make the world better?

Page 12: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Collecting and analyzing data from a representative sample in order to make

inferences about a whole population

What is “statistics”?

Page 13: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

What is “data science”?

Big data

Machine learning

Artificial intelligence

Data mining

PR-speak for

“statistics”

Cloud computing

Algorithms

Neural networks

Page 14: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Turning raw data into understanding, insight,

and knowledge

Collect Analyze Communicate

What is “data science”?

Page 15: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Collect

Analyze

Communicate

Stat

istic

s

What’s the difference?

Page 16: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

What is “program evaluation”?

Measuring the effect of social programs on society

Data and statistics Communication Causal inference (econometrics)

Page 17: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Evidence, evaluation, and causation

Page 18: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

What is the relationship between social science research and

public policy & administration?

Page 19: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Evidence-based medicine

Page 20: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Modern evidence-based medicine

Apply evidence to clinical treatment decisions

Move away from clinical judgment and “craft knowledge”

Is this good?

Page 21: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Can we find and measure evidence for

policies and programs?

Page 22: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Evidence-based policy

RAND health insurance study

Oregon Medicaid expansion

HUD’s Moving to Opportunity

Tennessee STAR

Page 23: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Policy evidence industry

Jameel Poverty Action Lab (J-PAL)

Campbell Collaboration

Page 24: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Should we have evidence for every policy or program?

No!

Science vs. art/craft/intuition

Page 25: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public
Page 26: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Where does program evaluation fit with all this?

It’s a method for collecting evidence for policies and programs

Page 27: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Types of evaluationNeeds assessment

Design and theory assessment

Process evaluation and monitoring

Impact evaluation

Efficiency evaluation (CBA)

Page 28: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

to all schools in the district

PSD Attendance Court (K–10)

4th District Juvenile Court (9–10)

Meet with district social worker (11–12)

No truancyReduced risk factors

for delinquency

Judges

PSD distributes truancy information to all families

# of people

who know expectations

1st citation mailed home# of

1st citations mailed

3rd citation mailed home + referral to truancy court

# of 3rd citations

mailed# of

court attendees

Alternative plan created*

2nd citation mailed home + referral to truancy school

PowerPoint presentation + Explanation of state law +

Instruction on PowerSchool

Students and parents attend truancy school

# of 2nd citations

mailed

# of truancy school

attendees

Increased commitment to school

Better grades

Law, parents,

students, teachers, and administrators

Grants

Truancy

Activity Outcome

Input OutputLogic Model Legend

Adapted from Provo School District, “Truancy Program Logic Model: FY 2011–2012.”

5 unexcused absences(5 total)

5 unexcused absences(10 total)

5 unexcused absences(15 total)

* Because 11th and 12th graders who receive 3rd citations are generally unable to graduate from high school, district social workers no longer attempt to increase their commitment to school. As such, any outcomes that occur as a result of the alternative plans made for these students (work study programs, career development assistance, etc.) are only tangentially related to the outcomes of the truancy program itself. The system for creating alternative plans is an entirely separate program with its own logic model, goals, and outcomes.

% increase in grades and attendance

Page 29: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

No truancy Reduced risk factors

Increased commitment to school

Better grades

Three phases of truancy intervention

Theories of change

Impact evaluation!

Page 30: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public
Page 31: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Theory → impactGr

ades

Before Program

During Program

After Program

Post-program gradesGrades with program

Grades without program

Outco

me ch

ange

Pre-program grades Program activities

Program outcomes

Page 32: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

1.5

2.0

2.5

3.0

3.5

4.0

4.5

●●

●●

● ● ●

−10 −5 0 5

Weeks before/after truancy intervention

Aver

age

num

ber o

f abs

ence

s

Lines

Actual

Predicted

Colors

80% Confidence

95% Confidence

Truancy intervention

Page 33: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public
Page 34: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Godwin’s Law for statistics

Correlation does not imply causation

Except when it does

Even if it doesn’t, this phrase is useless and kills discussion

Page 35: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public
Page 36: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Correlation vs. causation

How do we figure out correlation?

Math and statistics

How do we figure out causation?

Philosophy. No math.

Page 37: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public
Page 38: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

How do we know if X causes Y?X causes Y if…

…we intervene and change X without changing anything else…

…and Y changes

Page 39: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Y “listens to” XX isn’t the only thing that causes Y

A light switch causes a light to go on, but not if bulb is burned out (no Y despite X) or if

the light was already on (Y without X)

Page 40: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Causal relationships?

Lighting fireworks causes noise

Getting an MPA increases your earnings

Rooster crows are followed by sunrise

Colds go away a few days after you take vitamin C

Page 41: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Causation

Causation = Correlation + time order + all other factors ruled out

How do you know if you have it right?

You need a philosophical model

That’s what this class is for!

Page 42: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

The causal revolution

Page 43: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Causal diagrams

Directed acyclic graphs (DAGs)Graphical model of the process

that generates the data

Maps your philosophical model

Fancy math (“do-calculus”) tells you what to control for to

find causation

Page 44: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public
Page 45: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public
Page 46: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public
Page 47: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public
Page 48: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public
Page 49: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Break

Set up an RStudio.cloud account if you haven’t

Go to https://andhs.co/rstudioto join the class workspace

Page 50: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Ask me anything!

Page 51: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Class details

Page 52: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public
Page 53: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public
Page 54: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

model_2sls <- iv_robust(health ~ bed_net | treatment, data = bed_nets)

Page 55: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Class technology

Page 56: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

The tidyverse

Page 57: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

The tidyverse

Page 58: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

R code, but reads like English!

strike_damages_month <- bird_strikes %>%group_by(Month) %>%summarize(total_damages = sum(Cost, na.rm = TRUE),

average_damages = mean(Cost, na.rm = TRUE))

ggplot(data = strike_damages_month,mapping = aes(x = Month, y = total_damages)) +

geom_col() +scale_y_continuous(labels = dollar) +labs(x = "Month",

y = "Total damages",title = "Really expensive collisions happen in the fall?",subtitle = "Don't fly in August or October?",source = "Source: FAA Wildlife Strike Database")

Page 59: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Sucking

There is no way to go from knowing nothing about a subject to knowing something about a

subject without going through a period of much frustration and suckiness

Push through. You'll suck less.

Hadley Wickham, author of ggplot2 and the tidyverse

Page 60: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Sucking

Page 61: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Am I making you computer scientists?

No!You don’t need to be a mechanic

to drive a car safely

You don’t need to be a computer scientist or developer to use R safely

Page 62: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Learning R

Page 63: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

You can do this.

Page 64: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Goals for the class

Speak and do causation

Design rigorous evaluations

Change the world with data

Become an expert with R

Page 65: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Prerequisites

Basic algebra

Math skills

None

Computer science skills

Regression and differences in means(ideally; you can survive without it, though)

Statistical skills

Page 66: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Miscellanea

Page 67: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Late work Technology Participation Other?

Class expectations

Page 68: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Getting staRted!

Page 69: Evaluation, data science, and the causal revolution · 1/15/2020  · Evaluation, data science, and the causal revolution January 15, 2020 PMAP 8521: Program Evaluation for Public

Goals for the class

andhs.co/survey