Obtain marginal effects
a. Direct effect in the second equation (if X1 is dummy):
mfx compute, at(mean Y2=1, X1=1) predict(pmarg1)
Î To save time, use “nose” command if you don’t need to get S.E.
b. Direct/Indirect effects in the first equation: Since the way of obtaining these effects
by using “mfx” commands is not clear, I recommend to read the Stata manual or
write your own “do-file”. Also refer to Greene’s “Economic Analysis” and his
article, “Gender Economics Courses in Liberal Arts Colleges: Comment”, from his
web site.