Bookmark and Share

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

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

st: margins after heckprob result in changing signs

From   [email protected]
To   [email protected]
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:

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