Skip to content

Commit 2c6568f

Browse files
authored
tiny typo in DDD table
Under "Let’s take the difference between the two matrices or (C = 1) - (C = 0):" The P=1 row's Diff should be B5+B7
1 parent c163829 commit 2c6568f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/code/06_twfe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Let's take the difference between the two matrices or (C = 1) - (C = 0):
8080
| | T = 0 | T = 1 | Difference |
8181
| -------- | ----- | ----- | ----- |
8282
| **P = 0** | $$ \beta_2 $$ | $$ \beta_2 + \beta_5 $$ | $$ \beta_5 $$ |
83-
| **P = 1** | $$ \beta_2 + \beta_6 $$ | $$ \beta_2 + \beta_5 + \beta_6 + \beta_7 $$ | $$ \beta_6 + \beta_7 $$ |
83+
| **P = 1** | $$ \beta_2 + \beta_6 $$ | $$ \beta_2 + \beta_5 + \beta_6 + \beta_7 $$ | $$ \beta_5 + \beta_7 $$ |
8484
| Difference | $$ \beta_6 $$ | $$ \beta_6 + \beta_7 $$ | $$ \beta_7 $$ |
8585

8686
where we end up with the main difference of $$ \beta_7 $$. Note that this table logic is also far simpler than having a long list of expectations defined for each combination.

0 commit comments

Comments
 (0)