Skip to content

Commit 5cb66a2

Browse files
committed
update
1 parent 1d2ffeb commit 5cb66a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exercises/09-outcome-model-exercises.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ library(rsample)
1313
library(propensity)
1414
1515
seven_dwarfs <- seven_dwarfs_train_2018 |>
16-
filter(hour == 9)
16+
filter(wait_hour == 9)
1717
```
1818

1919
We are interested in examining the relationship between whether there were "Extra Magic Hours" in the morning (the **exposure**) and the average wait time for the Seven Dwarfs Mine Train the same day between 9am and 10am (the **outcome**).
@@ -59,7 +59,7 @@ ipw_results |>
5959
boot_fits,
6060
# pull the `estimate` for `extra_magic_morning` for each fit
6161
\(.fit) .fit |>
62-
filter(term == "extra_magic_morning") |>
62+
filter(term == "park_extra_magic_morning") |>
6363
pull(estimate)
6464
)
6565
) |>

0 commit comments

Comments
 (0)