Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • sdid with jackknife inference - conformability error

    Hi everyone!
    I am trying to use the stata command sdid to estimate synthetic difference-in-differences. I have a balanced panel (restaurant-period) with treatment occurring at the same time for all (many) units. DID takes value one for treated restaurants only starting from a given time period (the same for all treated restaurant). I have run the following code, to estimate sdid respectively with bootstrap, placebo or jackknife inference:

    sdid n_visit_tr Restaurant_ID period_n DID, vce(bootstrap) reps(100) seed(123) graph g1_opt(xtitle("")) g2_opt(ylabel(0(10)50))
    sdid n_visit_tr Restaurant_ID period_n DID, vce(placebo) reps(100) seed(123) graph g1_opt(xtitle("")) g2_opt(ylabel(0(10)50))
    sdid n_visit_tr Restaurant_ID period_n DID, vce(jackknife) graph g1_opt(xtitle("")) g2_opt(ylabel(0(1)4))

    With bootstrap and placebo, the command works well; while with jackknife I got this error message:

    synthdid(): 3200 conformability error
    <istmt>: - function returned error
    r(3200);

    any idea of what could be the source of error?
    Thanks in advance.
    Bests,
    Giulia
Working...
X