Skip to content

Commit

Permalink
one more time for spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
LucyMcGowan committed Feb 13, 2025
1 parent 9b95dd5 commit eca211d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chapters/06-stats-models-ci.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -624,15 +624,15 @@ Whether increasing the update frequency to daily for everyone is beneficial depe

- If 50% of the customers are premium and 50% are free, the average effect of switching to daily updates would be:

$(0.5 * 5) + (0.5 * -5) = 0$
$(0.5 * 5) + (0.5 * -5) = 0$

- If 100% of the customers are premium, the average effect would be:

$(1 * 5) + (0 * -5) = 5$
$(1 * 5) + (0 * -5) = 5$

- If 100% of the customers are free, the average effect would be:

$(0 * 5) + (1 * -5) = -5$
$(0 * 5) + (1 * -5) = -5$

Marginalization tells us the average effect for the distribution of covariates in the data.
Of course, we might want to estimate the causal effect *by* customer type; we'll discuss interaction effects in depth in @sec-interaction.
Expand Down

0 comments on commit eca211d

Please sign in to comment.