Statalist


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

st: combine two graphs of kernel local polynomial


From   Ana Gabriela Guerrero Serdan <[email protected]>
To   stata listserve <[email protected]>
Subject   st: combine two graphs of kernel local polynomial
Date   Fri, 6 Feb 2009 10:35:58 -0800 (PST)

Dear all, 

I want to do a graph of two kernel local polynomial smoothing regressions. 

I have done the following: 

.lpoly zscoresha2 Ageinmonths if treated==1 [aweight= expweigh], noscatter ci
.graph copy Graph treated=1
.lpoly zscoresha2 Ageinmonths if treated==0 [aweight = expweigh], noscatter ci
.graph copy Graph nontreated
.graph combine treated nontreated, ycommon xcommon


But I get two graphs next to each other. I see the same query in Statalist but for twoway graphs. How can I combine the kernel polynomial graphs into one? 

Thanks, 

Gaby 



----------------------------
Gaby Guerrero Serdán 

Department of Economics
Royal Holloway, University of London
TW20 OEX
Egham, Surrey
England, UK
http://www.rhul.ac.uk/Economics/For-Staff/postgrads.html

http://ag.guerreroserdan.googlepages.com/gabyguerrero%27swebpage
http://www.flickr.com/photos/49939890@N00/show/



      

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index