Open rperezartica opened 1 year ago
Hi, I assume you are using the github version. I'm going to replicate this data and find the bug, but for now you can solve this by creating another id variable using egen newID = group(idpanel)
and run the sdid
command with the graph
option but with this new id.
Hi @Daniel-Pailanir, Yes, I was already using the github version. Thank you very much for your suggestion. I tried it and it worked.
You're welcome @rperezartica. For the record and future work, what does your idpanel
variable look like? numeric? what ranks do you have?
Thank you!
Hi @Daniel-Pailanir , It was a numeric variable. A codebook of the variable follows
codebook idpanel
idpanel (unlabeled) type: numeric (double) range: [2.008e+10,3.456e+10] units: 1 unique values: 836 missing .: 0/24,179 mean: 3.1e+10 std. dev: 1.4e+09 percentiles: 10% 25% 50% 75% 90% 3.1e+10 3.1e+10 3.1e+10 3.1e+10 3.1e+10
Hi,
I am running
sdid
with a panel of 836 units, 127 treated units and a staggered adoption treatment. I made sure no issues with thextset
exist, and the panel is balanced.xtset idpanel quarter
When running
sdid
with the graph option the following error comes out:sdid y idpanel quarter treatment, vce(noinference) graph
Any idea of which is the source of the error and how I can deal with it?
I appreciate your kind help.