Skip to content

Constant difference between DuckMundlakEventStudy and feols #13

@patrick-dd

Description

@patrick-dd

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions