evanjflack / bacondecomp

Bacon-Goodman decomposition for differences-in-differences with variation in treatment timing.
Other
46 stars 16 forks source link

updated bacon() to use the 2x2s not beta_hat_b incorrectly #51

Closed EdJeeOnGitHub closed 4 years ago

EdJeeOnGitHub commented 4 years ago

beta_hat_DD = Sigma beta_hat_w + (1 - Sigma) sum(skl * beta_hat_2x2) but we were returning beta_hat_b_d_kl instead of 2x2s I think.

We only care about beta_hat_b_d_kl (or whatever we called it) for testing purposes I think (eqn 26).

Still doesn't fix tests but we're closer which is good I guess?