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: Calculating margins after biprobit


From   "Wakeman, Simon" <Simon.Wakeman@esmt.org>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: Calculating margins after biprobit
Date   Mon, 5 Dec 2011 17:43:07 +0000

I am investigating the effect of a binary variable X on a binary variable Y, where X is potentially endogenous. I estimated a biprobit:
 biprobit (Y = X ) (X = Z). 

However, when I use the following margins command
 margins, dydx(X) over(X) 
I get the error message:
"default prediction is a function of possibly stochastic quantities other than e(b)"

I also tried mfx but it does not seem to produce a marginal effect for X.

I would much appreciate if anyone can tell me how to obtain the marginal effect of X on Y.

Thanks for your help.

Simon


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