I've found answers to many pieces of this question on this forum, but not one that quite gets at the challenge I'm having with correctly specifying marginal effects with a multinomial logit diff-in-diff that contains interaction terms.
In short, my outcome variable is a 4-level variable describing "type" of contraceptive method currently used. My data is repeated cross-sections over four waves of the National Survey of Family Growth, and I am trying to assess whether there were significant differences in the proportion of women using specific types of contraceptive methods in those states that expanded Medicaid in Jan 2014. I cannot post the exact output here, as I'm working with restricted data in a Federal RDC. However, here is a dummy example of the code and the output I'm getting and how I would interpret it. However, in an ideal world I would try to get the diff-in-diff value from the marginal effects (that would be interpretable the same way that an interaction coefficient between treatment status and being "post" the policy implementation from a linear regression/linear probability model would be).
Here's an example of the code used (in Stata 16) and example output:
I would interpret this as: compared to states that did NOT experience Medicaid expansion (treat=0), the marginal effect of using "None/Barrier methods" at wave 1 is -0.0159945, or 1.6 percentage points lower. Then by wave 4, the marginal effect of using "None/Barrier methods" is 3.8 percentage points higher in treatment states. However, as I noted above, I don't think this output is giving me what I truly want which is the *difference* of pre and post levels in treatment states and pre and post levels in non-treatment states. I'd be grateful for any further thoughts/insight people can provide!
In short, my outcome variable is a 4-level variable describing "type" of contraceptive method currently used. My data is repeated cross-sections over four waves of the National Survey of Family Growth, and I am trying to assess whether there were significant differences in the proportion of women using specific types of contraceptive methods in those states that expanded Medicaid in Jan 2014. I cannot post the exact output here, as I'm working with restricted data in a Federal RDC. However, here is a dummy example of the code and the output I'm getting and how I would interpret it. However, in an ideal world I would try to get the diff-in-diff value from the marginal effects (that would be interpretable the same way that an interaction coefficient between treatment status and being "post" the policy implementation from a linear regression/linear probability model would be).
Here's an example of the code used (in Stata 16) and example output:
Code:
svy, subpop(analysis12mo): mlogit method4cat treat##i.wave margins, dydx(treat) at(wave=(1 2 3 4))
Code:
. margins, dydx(treat) at(wave=(1 2 3 4)) Conditional marginal effects Number of obs = 21,609 Model VCE : Linearized dy/dx w.r.t. : 1.treat 1._predict : Pr(method4cat==None_Barrier_methods), predict(pr outcome(0)) 2._predict : Pr(method4cat==Short_acting_methods), predict(pr outcome(1)) 3._predict : Pr(method4cat==LARC), predict(pr outcome(2)) 4._predict : Pr(method4cat==Permanent_methods), predict(pr outcome(3)) 1._at : wave = 1 2._at : wave = 2 3._at : wave = 3 4._at : wave = 4 ------------------------------------------------------------------------------ | Delta-method | dy/dx Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- 0.treat | (base outcome) -------------+---------------------------------------------------------------- 1.treat | _predict#_at | 1 1 | -.0159945 .0249968 -0.64 0.523 -.0652634 .0332745 1 2 | -.0057592 .0190036 -0.30 0.762 -.0432155 .031697 1 3 | .0011262 .0267605 0.04 0.966 -.0516189 .0538714 1 4 | .0379885 .0290085 1.31 0.192 -.0191875 .0951646 2 1 | .0078182 .0214355 0.36 0.716 -.0344313 .0500676 2 2 | .000771 .0182155 0.04 0.966 -.0351319 .036674 2 3 | -.0120649 .0209388 -0.58 0.565 -.0533354 .0292057 2 4 | -.0500352 .0165635 -3.02 0.003 -.082682 -.0173883 3 1 | -.007381 .0127026 -0.58 0.562 -.0324179 .0176559 3 2 | -.0147108 .0158917 -0.93 0.356 -.0460334 .0166119 3 3 | -.0182566 .0199098 -0.92 0.360 -.0574991 .0209858 3 4 | -.0066461 .0180239 -0.37 0.713 -.0421714 .0288791 4 1 | .0155573 .0222294 0.70 0.485 -.0282571 .0593717 4 2 | .0196989 .0194693 1.01 0.313 -.0186752 .0580731 4 3 | .0291953 .0237 1.23 0.219 -.0175177 .0759082 4 4 | .0186928 .0232084 0.81 0.421 -.0270511 .0644366 ------------------------------------------------------------------------------ Note: dy/dx for factor levels is the discrete change from the base level.
Comment