Hi!
I need help with comparing two ATT coefficients between two separate Difference-in-difference models. I run the following regressions:
reg score i.countryDiD##i.post_treatment escs gender lang_home [aw=w_fstuwt] if (cnt=="POL" | cnt == "CZE") & escs_low1==1, cluster(schoolid)
reg score i.countryDiD##i.post_treatment escs gender lang_home [aw=w_fstuwt] if (cnt=="POL" | cnt == "CZE") & escs_high1==1, cluster(schoolid)
The first one conditions on being part of the lowest 10% of the socioeconomic spectrum, while the second one conditions on being in the top 10%.
I wish to test for the equality of 'i.countryDiD##i.post_treatment' coefficients (which represent the average treatment effect for each group). As I am using clustering, which is necessary in the context of my data set, I struggle to find a command that would allow me to compare the coefficients in STATA, and not manually.
I get the comment:
're-estimate without the cluster() option, and
specify the cluster() option with suest'
'option eststo not allowed'.
I would be grateful for your suggestions.
I need help with comparing two ATT coefficients between two separate Difference-in-difference models. I run the following regressions:
reg score i.countryDiD##i.post_treatment escs gender lang_home [aw=w_fstuwt] if (cnt=="POL" | cnt == "CZE") & escs_low1==1, cluster(schoolid)
reg score i.countryDiD##i.post_treatment escs gender lang_home [aw=w_fstuwt] if (cnt=="POL" | cnt == "CZE") & escs_high1==1, cluster(schoolid)
The first one conditions on being part of the lowest 10% of the socioeconomic spectrum, while the second one conditions on being in the top 10%.
I wish to test for the equality of 'i.countryDiD##i.post_treatment' coefficients (which represent the average treatment effect for each group). As I am using clustering, which is necessary in the context of my data set, I struggle to find a command that would allow me to compare the coefficients in STATA, and not manually.
I get the comment:
're-estimate without the cluster() option, and
specify the cluster() option with suest'
'option eststo not allowed'.
I would be grateful for your suggestions.
Comment