You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a problem that I have discussed with Brant via Email. I want to leave the emails between us as an issue here and hope this can be addressed in the near future.
Question: The aggregation of the dynamic treatment effects works well on the base_period = "varying"; When I change the option of base_period = “universal”, the att_gt works; but when it aggregates to the dynamic treatment effects, it reports error of “Error in inffunc1[, whichones] %*% weights.agg : invalid object passed to as_cholmod_sparse”
dynamic_base <- did::aggte(Exp_CSDID, type = "dynamic")
**Error in inffunc1[, whichones] %*% weights.agg : invalid object passed to as_cholmod_sparse**
Brant's reply: Thanks for the message. This is a surprising issue to me --- I expect them to work in the same cases. If you look at the ATT(g,t)'s themselves, are there any differences in terms of which ones are computed?
My reply: Please see the att_gt() results below.
Brant's reply: Yes, this is helpful. It looks like the year 2020 is not included in your data (is that correct?). I'm guessing that is the source of the issues here. I suspect that this is an actual bug in our code (though note that this is a pretty hard case as "event time" is rather complicated here). I can add this as an issue on GitHub, but it may take a while for us to fully resolve this.
The text was updated successfully, but these errors were encountered:
This is a problem that I have discussed with Brant via Email. I want to leave the emails between us as an issue here and hope this can be addressed in the near future.
Question: The aggregation of the dynamic treatment effects works well on the base_period = "varying"; When I change the option of base_period = “universal”, the att_gt works; but when it aggregates to the dynamic treatment effects, it reports error of “Error in inffunc1[, whichones] %*% weights.agg : invalid object passed to as_cholmod_sparse”
Exp_CSDID <- did::att_gt(yname = "share_income",
gname = "T_Timing",
idname = "id",
tname = "year",
xformla = ~ NULL,
data = Expenditure,
allow_unbalanced_panel = T,
control_group = "notyettreated",
base_period = "universal",
clustervars = "ID_VILLAGE")
Brant's reply: Thanks for the message. This is a surprising issue to me --- I expect them to work in the same cases. If you look at the ATT(g,t)'s themselves, are there any differences in terms of which ones are computed?
My reply: Please see the att_gt() results below.
Brant's reply: Yes, this is helpful. It looks like the year 2020 is not included in your data (is that correct?). I'm guessing that is the source of the issues here. I suspect that this is an actual bug in our code (though note that this is a pretty hard case as "event time" is rather complicated here). I can add this as an issue on GitHub, but it may take a while for us to fully resolve this.
The text was updated successfully, but these errors were encountered: