Skip to content

Commit 4cbe8c9

Browse files
missing lib
1 parent 7a0d4eb commit 4cbe8c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

exercises/13-bonus-selection-bias-exercises.qmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ library(tidyverse)
99
library(broom)
1010
library(propensity)
1111
library(causaldata)
12+
library(rsample)
1213
```
1314

1415
In this example, we'll consider loss to follow-up in the NHEFS study. We'll use the binary exposure we used earlier in the workshop: does quitting smoking (`smk`) increase weight (`wt82_71`)? This time, however, we'll adjust for loss to followup (people who dropped out of the study between observation periods) using inverse probability of censoring weights.

0 commit comments

Comments
 (0)