Hi cool package!
I just ran into an issue when trying to use the agg() function. The result of the @did call (using dynamic treatment) has 6965 treatweights and treatcounts but only 6942 coefficients. Not sure how that happened but it leads to a BoundsError when trying to aggregate.
Any suggestions?
Thanks in advance
Edit: I set the cohort variable for the never treated group to the last t in my sample (same as in your example) and the data contains no missing values when passed to the @did function.
Hi cool package!
I just ran into an issue when trying to use the
agg()function. The result of the@didcall (using dynamic treatment) has 6965 treatweights and treatcounts but only 6942 coefficients. Not sure how that happened but it leads to aBoundsErrorwhen trying to aggregate.Any suggestions?
Thanks in advance
Edit: I set the cohort variable for the never treated group to the last t in my sample (same as in your example) and the data contains no missing values when passed to the
@didfunction.