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 at the end of May, and its replacement, statalist.org is already up and running.


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

st: margins after heckprob result in changing signs


From   lange@uni-trier.de
To   statalist@hsphsun2.harvard.edu
Subject   st: margins after heckprob result in changing signs
Date   Sat, 03 Sep 2011 17:56:52 +0200

Hello everyone,

I hope anyone can help.

So I ran a heckprob and now I would like to obtain marginal effects. Once for the selection and once for the objective function.
First I ran:
 margins , predict(psel) dxdy(<<varlist>>). This works correctly. Fine.
Then I ran:
margins, predict(pcond) dxdy(<<varlist>>). And then I obtained marginal effects that partially didn't have the correct sign anymore. I mean positive coefficients from the heckprob come up with negative marginal effects.

Is that possible at all? What did I do wrong?

Thank you, Vanessa.
*
*   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