Skip to content

Add Class for Repeated Cross-Sectional Data #330

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 39 commits into
base: main
Choose a base branch
from

Conversation

SvenKlaassen
Copy link
Member

@SvenKlaassen SvenKlaassen commented Jun 2, 2025

Adds a analog to DoubleMLDIDMulti for repeated cross-sectional data.

The changes include:

  • make_did_cs_CS2021 data generator
  • DoubleMLDIDCSBinary class
  • Update DoubleMLDIDMulti class to support repeated cross-sections
  • Updated plot_effects() method to color anticipation periods

Reference to Issues or PRs

See #317

Comments

PR Checklist

Please fill out this PR checklist (see our contributing guidelines for details).

  • The title of the pull request summarizes the changes made.
  • The PR contains a detailed description of all changes and additions.
  • References to related issues or PRs are added.
  • The code passes all (unit) tests.
  • Enhancements or new feature are equipped with unit tests.
  • The changes adhere to the PEP8 standards.

@SvenKlaassen SvenKlaassen added this to the Release 0.10.1 milestone Jun 2, 2025
@SvenKlaassen SvenKlaassen self-assigned this Jun 2, 2025
@SvenKlaassen SvenKlaassen added the new feature new feature label Jun 2, 2025
@SvenKlaassen SvenKlaassen linked an issue Jun 2, 2025 that may be closed by this pull request
3 tasks
@SvenKlaassen SvenKlaassen requested a review from PhilippBach June 11, 2025 13:58
@SvenKlaassen SvenKlaassen linked an issue Jun 13, 2025 that may be closed by this pull request
@SvenKlaassen
Copy link
Member Author

@PhilippBach
Maybe you can check specifically the argument naming.
Further, I have updated plot_effects() to highlight anticipation periods.

@SvenKlaassen SvenKlaassen marked this pull request as ready for review June 13, 2025 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update plot for anticipation [Feature Request]: Multi-Period DiD for Repeated Cross-Sectional Data
1 participant