Dear users,
I am researching the behavior of same-sex marriages, and I would like to apply a differences-in-differences design according to the election results by cities. My treated units would be the cities where the president won the elections. On the other hand, the control units would be where he lost them. The dashed red line represents the election day. Therefore, I want to know if the DiD would apply here. I have parallel trends, but I do not know if the increase in the number of marriages would only be proportional and not a causal effect due to the elections.
I obtained the following figure after running the commands:

I am researching the behavior of same-sex marriages, and I would like to apply a differences-in-differences design according to the election results by cities. My treated units would be the cities where the president won the elections. On the other hand, the control units would be where he lost them. The dashed red line represents the election day. Therefore, I want to know if the DiD would apply here. I have parallel trends, but I do not know if the increase in the number of marriages would only be proportional and not a causal effect due to the elections.
I obtained the following figure after running the commands:
Code:
collapse (mean) marriage_women marriage_men marriage_straight, by(ano month treated year_month)
Code:
graph twoway (line marriage_women year_month if treated==1) (line marriage_women year_month if treated==0), /// legend(label(1 President won) label(2 President lost)) xline(2018 10, lpattern(dash))
Comment