Loading [MathJax]/jax/output/CommonHTML/jax.js
+ - 0:00:00
Notes for current slide
Notes for next slide

Propensity Scores

Lucy D’Agostino McGowan

Wake Forest University

2020-07-29 (updated: 2020-07-29)

1 / 19

Observational Studies

Goal: To answer a research question

2 / 19

Observational Studies

Goal: To answer a research question

3 / 19

Observational Studies

Randomized Controlled Trial

4 / 19

Observational Studies

Randomized Controlled Trial

5 / 19

Observational Studies

6 / 19

7 / 19

8 / 19

Confounding

9 / 19

Confounding

10 / 19

Propensity scores

Rosenbaum and Rubin showed in observational studies, conditioning on propensity scores can lead to unbiased estimates of the exposure effect

  1. There are no unmeasured confounders
  2. Every subject has a nonzero probability of receiving either exposure
11 / 19

Propensity scores

  • Fit a logistic regression predicting exposure using known covariates

Pr(exposure=1)=11+exp(Xβ)

  • Each individuals' predicted values are the propensity scores
12 / 19

Propensity scores

library(tidyverse)
library(broom)
13 / 19

Propensity scores

glm(exposure ~ confounder_1 + confounder_2 + confounder_3 + ...,
data = df,
family = binomial())
14 / 19

Propensity scores

glm(exposure ~ confounder_1 + confounder_2 + confounder_3 + ...,
data = df,
family = binomial()) %>%
augment(type.predict = "response", data = df)
15 / 19

Propensity scores

glm(exposure ~ confounder_1 + confounder_2 + confounder_3 + ...,
data = df,
family = binomial()) %>%
augment(type.predict = "response", data = df)
16 / 19

Propensity scores

17 / 19

18 / 19

Your turn

05:00
  1. Using the confounders identified in the previous DAG, fit a propensity score model for qsmk
  2. Stretch: Create two histograms, one of the propensity scores for those that quit smoking and one for those that do not
19 / 19

Observational Studies

Goal: To answer a research question

2 / 19
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
Esc Back to slideshow