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 on April 23, 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   Nikolaos Pandis <npandis@yahoo.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
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 <kohler@wzb.eu>
To: statalist@hsphsun2.harvard.edu 
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index