Skip to content

Commit

Permalink
Merge pull request #320 from r-causal/po
Browse files Browse the repository at this point in the history
Update seed for confounding demo
  • Loading branch information
LucyMcGowan authored Feb 11, 2025
2 parents 9b9ef75 + 43be075 commit f7bec06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapters/03-po-counterfactuals.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ Let's say, instead, we allowed each participant to select their own ice cream fl
80% of the time, participants chose the flavor that made them happiest---their preference.

```{r}
set.seed(11)
set.seed(113)
data_observed_exch <- data |>
mutate(
prefer_chocolate = y_chocolate > y_vanilla,
Expand Down

0 comments on commit f7bec06

Please sign in to comment.