Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: margins / over / dydx

From   Richard Williams <>
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 <> 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()-

        . margins , over( 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:  Richard.A.Williams.5@ND.Edu

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index