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: combine 2 margnisplot


From   Ulrich Kohler <[email protected]>
To   [email protected]
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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index