Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: computing correct marginal effect in xtlogit model


From   ramesh <ramesh.ghim@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: computing correct marginal effect in xtlogit model
Date   Tue, 25 Oct 2011 14:03:38 -0700 (PDT)

Hello,
I am using xtlogit model with an interaction term (e.g., y=
b0+b1.x1+b2.x1*x1+b3.x3). I want to compute the marginal effect of 'x1'.
However stata 'mfx compute, predict(pu0)' code treated 'x1' and 'x1*x1' as
two separate variables (in fact they are not) and gives two marginal effect
(marginal effect of 'x1', 'x1*x1'). I want to find the correct marginal
effect of variable 'x1'. Is there any way to to do this in stata?

Thanking in advance for your kind response!
Ramesh  

--
View this message in context: http://statalist.1588530.n2.nabble.com/computing-correct-marginal-effect-in-xtlogit-model-tp6930474p6930474.html
Sent from the Statalist mailing list archive at Nabble.com.
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index