Hi there,
I am working on a panel dataset with stock prices of multiple companies (control and treatment groups) to see the effect of a policy implementation. Using "xtdidregress" when I try to do the parallel trend assumption (i.e., estat trendplots) I keep getting this error: "treatment assignment times vary; not allowed with estat trendplots".
I have many missing values (stock prices) for this sample.
I very much appreciate it if you could help me.
I tried the following codes:
Regards,
Roksana
I am working on a panel dataset with stock prices of multiple companies (control and treatment groups) to see the effect of a policy implementation. Using "xtdidregress" when I try to do the parallel trend assumption (i.e., estat trendplots) I keep getting this error: "treatment assignment times vary; not allowed with estat trendplots".
I have many missing values (stock prices) for this sample.
I very much appreciate it if you could help me.
I tried the following codes:
HTML Code:
xtdidregress ( ln_ri ) ( treatment ), group( con_cod ) time( time )
HTML Code:
egen first = min(time) if treatment , by( con_cod )
Roksana
Comment