Skip to content

Commit 9805862

Browse files
missing lib
1 parent 94fe9f4 commit 9805862

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

exercises/09-outcome-model-exercises.qmd

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ library(tidyverse)
1010
library(broom)
1111
library(touringplans)
1212
library(rsample)
13+
library(propensity)
1314
1415
seven_dwarfs <- seven_dwarfs_train_2018 |>
1516
filter(hour == 9)
@@ -56,9 +57,9 @@ ipw_results |>
5657
mutate(
5758
estimate = map_dbl(
5859
boot_fits,
59-
# pull the `estimate` for `qsmk` for each fit
60+
# pull the `estimate` for `extra_magic_morning` for each fit
6061
\(.fit) .fit |>
61-
filter(term == "qsmk") |>
62+
filter(term == "extra_magic_morning") |>
6263
pull(estimate)
6364
)
6465
) |>
@@ -73,6 +74,8 @@ Calculate the confidence interval
7374
#| eval: false
7475
boot_estimate <- ____(____, ____) |>
7576
filter(term == ____)
77+
78+
boot_estimate
7679
```
7780

7881

0 commit comments

Comments
 (0)