Skip to content

DiD Event Study Code in Python Interactions in the Wrong Order #195

@sbecon

Description

@sbecon

The diff-in-diff event study code in Python generate the interactions in the wrong order INX_0, INX_1, INX_10, INX_11, INX_12, ... instead of INX_0, INX_1, INX_2, ... INX_11, ...

The resulting figure also has evidence of this
Unknown-2

I think the best place to reorder these variables in the df is right before running the regression, but I have been getting tripped up with the factors.union line.

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