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   Nikolaos Pandis <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: combine 2 margnisplot
Date   Mon, 17 Sep 2012 04:23:34 -0700 (PDT)

Ulrich,
many thanks-it worked
i tried also option -over- but it does not seem that it is allwed.
BW,
Nick



________________________________
From: Ulrich Kohler <[email protected]>
To: [email protected] 
Sent: Sunday, September 16, 2012 9:02 PM
Subject: Re: st: combine 2 margnisplot

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?searchhttp://www.stata.com/support/statalist/faqhttp://www.ats.ucla.edu/stat/stata/

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