I have two questions:
1) I am trying to estimate the marginal effects using gsem, with probit as the option, do you know which command shall I use?
2) I also want to control for year and country fixed effects, can we directly put in the country or year dummies? Is there any problem in doing so?
My detailed problem is as follows:
I want to know whether international media shaming has effects on improving political rights, and whether government increases terror to offset the improvement in political rights, so I specified my models below:
- global X = "l.cat_rat l.ccpr_rat l.democratic l.C_lgdppc l.C_lpop l.Civilwar2 l.War"
- gsem (PIRI_2_increase <- l.Media_ai_tot l(1/3).PIRI_2 \$X i.year i.idcode, family(binomial) link(probit))(polrt_decline <- l(2).Media_ai_tot l.polrt \$X i.year i.idcode, family(binomial) link(probit)) (PIRI_2_increase <- l.polrt l(1/3).PIRI_2 \$X i.year i.idcode, family(binomial) link(probit)) (Media_ai_tot <- l.polrt i.year i.idcode, regress) (polrt_decline <- l(1/3).PIRI_2 l.polrt \$X i.year i.idcode, family(binomial) link(probit)), nocaps
PIRI_2_increase is an indicator for whether terror has increased, Media_ai_tot is the level of international media shaming, polrt_decline is an indicator for whether political rights has improved (higher scores of PIRI and polirt mean worse cases). X are other covariates.
The first equation is to estimate the effects of media shaming on terror (probit model), the second is to estimate the effects of media shaming on political rights (probit model), the third is to estimate the effects of political rights on terror (probit model), the fourth is to estimate the effects of previous political rights on the amount of shaming (OLS), and the fifth is to estimate the effects of terror on political rights (probit).
I am particularly interested in knowing the marginal effects of media shaming in equation 1 and 2. I have figured out how to get the marginal effects for single equations.
For example, for equation 1:
- estpost margins, dydx(l.Media_ai_tot) atmeans predict(pr outcome(PIRI_2_increase))
I don't know how to get the joint probability of equation 1 and equation 2, that is, I want to know the marginal effects of shaming (l.Media_ai_tot) on the joint probability of terror increase (PIRI_2_increase=1 in equation 1) and political rights improvement (polrt_decline=1 in equation 2).
I would appreciate any help you could offer.



雷达卡



京公网安备 11010802022788号







