Bookmark and Share

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]

Re: st: Marginal effect at each category of dependent variable after ologit using margins command


From   Richard Williams <[email protected]>
To   [email protected]
Subject   Re: st: Marginal effect at each category of dependent variable after ologit using margins command
Date   Sat, 27 Aug 2011 11:32:58 -0500

At 11:30 PM 8/26/2011, Urmi Bhattacharya wrote
As instructed in Cameron and Trivedi ( Microeconometrics using Stata),
I do the following:

mfx, predict (outcome(1))

This gives me the marginal effect of the explanatory variables on the
probability of test_math_score =1

But how do I do the same thing using the margins command?

If all you want are the marginal effects at the means, it is easier to use the user-written commands -margeff- or -mfx2-, as they will get you the marginal effects for each outcome with only one command. -margins- offers several additional features (e.g. you can get average marginal effects) that may make it worth the hassle of doing a separate command for each outcome.


-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME:   (574)289-5227
EMAIL:  [email protected]
WWW:    http://www.nd.edu/~rwilliam

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index