Skip to content

Commit

Permalink
tiny typo in DDD table
Browse files Browse the repository at this point in the history
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
  • Loading branch information
donbowen authored Jun 22, 2023
1 parent c163829 commit 2c6568f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/code/06_twfe.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Let's take the difference between the two matrices or (C = 1) - (C = 0):
| | T = 0 | T = 1 | Difference |
| -------- | ----- | ----- | ----- |
| **P = 0** | $$ \beta_2 $$ | $$ \beta_2 + \beta_5 $$ | $$ \beta_5 $$ |
| **P = 1** | $$ \beta_2 + \beta_6 $$ | $$ \beta_2 + \beta_5 + \beta_6 + \beta_7 $$ | $$ \beta_6 + \beta_7 $$ |
| **P = 1** | $$ \beta_2 + \beta_6 $$ | $$ \beta_2 + \beta_5 + \beta_6 + \beta_7 $$ | $$ \beta_5 + \beta_7 $$ |
| Difference | $$ \beta_6 $$ | $$ \beta_6 + \beta_7 $$ | $$ \beta_7 $$ |

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.
Expand Down

0 comments on commit 2c6568f

Please sign in to comment.