We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94fe9f4 commit 9805862Copy full SHA for 9805862
exercises/09-outcome-model-exercises.qmd
@@ -10,6 +10,7 @@ library(tidyverse)
10
library(broom)
11
library(touringplans)
12
library(rsample)
13
+library(propensity)
14
15
seven_dwarfs <- seven_dwarfs_train_2018 |>
16
filter(hour == 9)
@@ -56,9 +57,9 @@ ipw_results |>
56
57
mutate(
58
estimate = map_dbl(
59
boot_fits,
- # pull the `estimate` for `qsmk` for each fit
60
+ # pull the `estimate` for `extra_magic_morning` for each fit
61
\(.fit) .fit |>
- filter(term == "qsmk") |>
62
+ filter(term == "extra_magic_morning") |>
63
pull(estimate)
64
)
65
) |>
@@ -73,6 +74,8 @@ Calculate the confidence interval
73
74
#| eval: false
75
boot_estimate <- ____(____, ____) |>
76
filter(term == ____)
77
+
78
+boot_estimate
79
```
80
81
0 commit comments