MFX2: Stata module to enhance mfx command for obtaining marginal effects or elasticities after estimation
mfx2 obtains marginal effects or elasticities after estimation. It is probably most useful after multiple-outcome commands like ologit, oprobit, gologit2, slogit, mlogit, oglm, and mprobit, but it works with other commands as well. mfx2 offers two key enhancements to Stata's mfx compute command: (a) after multiple- outcome commands mfx2 automates the calling of mfx and saves the marginal effects for all outcomes in a single matrix; and (b) marginal effects are stored in a way that makes them easy to use with post-estimation table formatting commands like outreg2 and estout. mfx2 is inspired, in part, by Tamas Bartus's margeff command. margeff is often quicker than mfx2 and offers powerful additional options but mfx2 works with a wider range of commands. Presumably/hopefully, mfx2 will work whenever mfx will work (and will not work whenever mfx doesn't), but not all possible commands have been tested. In order to fully understand mfx2 you should also understand mfx; see help mfx.
In order to set up a list of libraries that you have access to,
you must first login
or sign up.
Then set up a personal list of libraries from your profile page by
clicking on your user name at the top right of any screen.