I estimated the following recursive bivariate probit model
y1 = x1 + x2 + x3 + y2
y2 = x1 + x2
y1, y2, x1 and x3 are binary, x2 is a metric variable. I want to use the -margeff- ado-file to compute marginal effects and the corresponding standard errors. The syntax for -margeff- should be
margeff compute, at(mean x1 = 1 , x3 = 1) model(biprobit)
However, stata produces "invalid syntax r(198);". -margeff- after a simple probit model produced correct marginal effects.
Does anybody have an idea, why -margeff- is not running after -biprobit-?
Thanks in advance, Jan
--
Jan Sauermann mailto:[email protected]
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/