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]

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


From   Richard Williams <richardwilliams.ndu@gmail.com>
To   statalist@hsphsun2.harvard.edu
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:  Richard.A.Williams.5@ND.Edu
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index