When calculating event study coefficients, the coefficients using DuckMundlakEventStudy differ from those in feols by a constant number.
I expected them to be the same. Perhaps this is my misunderstanding of the method.
Replication
- Use event study notebook
- reduce sample size to 100_000 and 50_000 treated (working on a small machine)
- add this to cell prior to staggered adoption header
mundlak_estimates['evstudy_coefs'] = evstudy_coefs
mundlak_estimates['diff'] = mundlak_estimates['est'] - mundlak_estimates['evstudy_coefs']
mundlak_estimates
notice constant difference. it's small for seed 42, which could be numerical. but big enough for 421, and big enough in my use case that prompted the investigation.
When calculating event study coefficients, the coefficients using
DuckMundlakEventStudydiffer from those infeolsby a constant number.I expected them to be the same. Perhaps this is my misunderstanding of the method.
Replication
notice constant difference. it's small for seed 42, which could be numerical. but big enough for 421, and big enough in my use case that prompted the investigation.