Hi, I am trying to run a staggered synthetic diff-in-diff framework, using the sdid package created by Daniel-Pailanir available at https://github.com/Daniel-Pailanir/sdid.
When I define my panel it is strongly balanced:
I then get the error:
This is in contradiction to stata's earlier assessment. Any ideas what might be causing the issue? Many thanks and much appreciated.
When I define my panel it is strongly balanced:
Code:
. xtset id year panel variable: id (strongly balanced) time variable: year, 1968 to 2003 delta: 1 unit
Code:
. sdid total_hours_per_year id year treatment if total_hours_per_year != ., vce(placebo) method(sdid) Panel is unbalanced. r(451);
Comment