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 at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: combine 2 margnisplot


From   Ulrich Kohler <kohler@wzb.eu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: combine 2 margnisplot
Date   Sun, 16 Sep 2012 20:02:18 +0200

Am Samstag, den 15.09.2012, 11:25 -0700 schrieb Nikolaos Pandis:
> Hi to all,
> 
> I am running the following commands: 
> 
> margins,at( wire=(1) irprtx=(2.68(1)13.11))
> marginsplot
> 
> margins,at( wire=(0) irprtx=(2.68(1)13.11))
> marginsplot
> 
> I was wondering if I could possibly combine the 2 graphs in one graph. Either both lines in one graph or the 2 graphs next to each other so that the slopes of the lines may be visually compared.

Something like this

. sysuse auto
. reg mpg i.for##c.weight
. margin foreign, at(weight=(1760(80)4840) )
. marginsplot, by(foreign)

Uli


*
*   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