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: margins / over / dydx


From   Richard Williams <richardwilliams.ndu@gmail.com>
To   statalist@hsphsun2.harvard.edu, statalist@hsphsun2.harvard.edu
Subject   Re: st: margins / over / dydx
Date   Wed, 04 Jan 2012 14:25:11 -0500

At 01:59 PM 1/4/2012, Jeff Pitblado, StataCorp LP wrote:
Robert Duval <rduval@gmail.com> wants to compute a comparison of the results
from -margins- with the -over()- option:

...
In Stata 12, -margins- has new options for computing contrasts of margins.
These new features are documented in -[R] margins, contrast-.

For Robert's example above, simply add a contrast operator in the -over()-
option:

        . margins , over(r.sex) contrast

Very good. But the contrast option doesn't seem to add anything in this case, i.e

margins , over(r.sex)

seems to produce the exact same output as your command. Or am I missing something?



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