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, 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

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–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index