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
Jeffrey Pitblado <[email protected]>
To
[email protected]
Subject
Re: st: margins / over / dydx
Date
Wed, 04 Jan 2012 13:39:32 -0600
Richard Williams <[email protected]> had a follow-up question
regarding the new contrast features in -margins-:
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
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?
The -contrast- option could be left off, it adds nothing. It was a left-over
from the first draft of my response.
--
--Jeff Pitblado
[email protected]
*
* 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/