Closed Constantino-Carreto-Romero closed 3 months ago
@Constantino-Carreto-Romero Make sure to merge from main here before adding extra commits here since we just closed #203 and #206
@jorpppp in https://github.com/JMSLab/xtevent/commit/359645066af4c4598785006f88066e2fa7c5d074 I implemented an exact check of the event-time dummies, event-time variable, trend variable, and interaction variables, so if required, the program drops only the variables that exactly match specific names. in https://github.com/JMSLab/xtevent/commit/9d5bb89445dd541ee11d8c693b8c4e0839681117 I uploaded a do-file with examples to test the implementation. I also ran the test file without inconvenience.
Looks good, thanks @Constantino-Carreto-Romero. I'll start a PR.
Summary: In this issue we fixed a bug where some variables were being dropped due to inexact variable name matches.
Thread continues in #209
Per comment: https://github.com/JMSLab/xtevent/issues/203#issuecomment-2111173670
Check the following example
the variable
aa_evtime_myvar
was erroneously dropped. In general, we should check all the inexact variable matches done withunab
.