Skip to content

Commit fa0daba

Browse files
add data pkg
1 parent b7b2a0d commit fa0daba

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
@@ -8,6 +8,7 @@ format: html
88
library(tidyverse)
99
library(broom)
1010
library(propensity)
11+
library(causaldata)
1112
```
1213

1314
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)