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: 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:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/