Dear @FernandoRios,
I hope this message finds you well. I have a few questions regarding the CSDID command, and I would greatly appreciate your assistance.
1. Is there a method to access the coefficient of the interaction term in CSDID? Specifically, suppose I execute the following code:
where the “size” is a time-invariant variable, the “policy” is a dummy variable.
2. Can I simultaneously estimate the heterogeneity effect (the coefficient of the variable "interaction") and the main effect (the coefficient of the variable "policy")?
3. I observed an unusual occurrence when running the following code:
I try to run the following
Code:
The coefficient of the variable "policy" is exactly the same as the variable "interaction," even though these two variables are distinct. Could you shed light on why the coefficients are identical? is the consistency between the coefficients of the interaction term and the dummy variable purely coincidental due to the data, or does it stem from the inherent nature of the code?
Thank you very much in advance for your help!
Best,
Jiangyuan
I hope this message finds you well. I have a few questions regarding the CSDID command, and I would greatly appreciate your assistance.
1. Is there a method to access the coefficient of the interaction term in CSDID? Specifically, suppose I execute the following code:
Code:
gen interaction=policy*size csdid y interaction policy $controls, ivar(id) time(year) gvar(cohort) notyet cluster(clsvar) agg(simple)
2. Can I simultaneously estimate the heterogeneity effect (the coefficient of the variable "interaction") and the main effect (the coefficient of the variable "policy")?
3. I observed an unusual occurrence when running the following code:
I try to run the following
Code:
Code:
csdid y policy $controls, ivar(id) time(year) gvar(cohort) notyet cluster(clsvar) agg(simple)
Thank you very much in advance for your help!
Best,
Jiangyuan
Comment