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 <[email protected]>
To
[email protected], [email protected]
Subject
Re: st: margins / over / dydx
Date
Wed, 04 Jan 2012 14:34:25 -0500
At 01:59 PM 1/4/2012, Jeff Pitblado, StataCorp LP wrote:
Robert Duval <[email protected]> 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
Following up on my own post, the Stata reference manual (p. 1085)
confirms that you don't need the contrast option in this case. But it
adds that "The contrast option is useful mostly for its suboptions,
which control the output and how contrasts are estimated in more
complicated situations." I won't even try to explain those
sub-options -- see the manual for more.
-------------------------------------------
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/