Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: marginal effects for simultaneous changes in interacted variables


From   David Quinn <[email protected]>
To   [email protected]
Subject   st: marginal effects for simultaneous changes in interacted variables
Date   Wed, 31 Oct 2012 16:57:15 -0400

Hello,

I am estimating a logit model as such: Y=X1 + X2 + X1*X2 + X3.

X1 and X2 are binary predictors, and I have interacted them using
factor notation.  X3 is a
control variable.

I'd like to assess the discrete change/marginal effects in my
dependent variable when X1 and X2 simultaneously move from 0 to 1,
setting x3 asobserved.

I used the following margins command to calculate this change:

margins, dydx(X1) at(X2=(0 1))

But this is not giving me the change that I desire.  It's giving me
the following two changes: 1.) From X1=0, X2=0 to X1=1, X2=0; and 2.)


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index