Skip to content

minor improvements#220

Closed
marcelortizv wants to merge 4 commits intobcallaway11:masterfrom
marcelortizv:nt-units-faster-mode-debug
Closed

minor improvements#220
marcelortizv wants to merge 4 commits intobcallaway11:masterfrom
marcelortizv:nt-units-faster-mode-debug

Conversation

@marcelortizv
Copy link
Copy Markdown
Contributor

@marcelortizv marcelortizv commented Feb 13, 2025

This PR implements two minor improvements in did:
1. Handling Missing Never-Treated Groups:
When no never-treated group is available in data and the user impose "nevertreated" as control group, did now issues a warning instead of throwing an error. In this scenario, the last treated cohort (as defined by gname) is used as a "synthetic" never-treated group. We drop all the data from periods >= max_g. This is working with regular and faster mode.
2. Suppressing Warnings for Unbalanced Panels/RCS:
To resolve weird warnings that occur with unbalanced panels or repeated cross-sections, I've added a fill=TRUE argument when constructing the influence function matrix.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant