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, is already up and running.

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

st: twoway graph, with by and combine

From   "Hoffman, George" <>
To   "" <>
Subject   st: twoway graph, with by and combine
Date   Sun, 1 May 2011 09:44:14 -0500

I've got panel data  and want to display the by(id) linear fit lines  on one graph.
         twoway (fit y x, by(id)) 
works, but gives different plots for all id's.  combine is not an option for by in this command.

Is there a quick way, or user-written way, to get the above on one graph? 
Seems simple, but I can't find it.
Thank you in advance
George Hoffman

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index