Statalist


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

st: scatter by group as one liner...


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: scatter by group as one liner...
Date   Fri, 20 Nov 2009 17:26:46 +0100

<>

I thought I should share with the list this neat trick that Bill Rising
showed us at the Italian UGM today - while in turn giving credit to Vince
Wiggins. It provides a one line solution to the problem recently posed in
http://www.stata.com/statalist/archive/2009-09/msg00590.html. You really
have to think outside of the box for this one...


*************
sysuse auto, clear

xtline price, i(rep78) t(mpg) overlay ///
recast(scatter)
*************


HTH
Martin



*
*   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   |   What's new   |   Site index