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: Nostalgia for old example - bring back the bacon
From
"Allan Reese (Cefas)" <[email protected]>
To
<[email protected]>
Subject
Re: st: Nostalgia for old example - bring back the bacon
Date
Fri, 1 Jul 2011 10:04:14 +0100
On Thu, Jun 30, 2011 at 12:24 PM, Allan Reese (Cefas) wrote:
>> There used to be an example in Stata books of an X-Y plot of the
annual
>> production of pig meat against the size of the stock on farms, points
>> connected in time sequence. ...
>> Are there any other good examples of time-ordered connection as the
>> counterpoint to sorting by X?
Austin Nichols <[email protected]> provided the reference
> Stata 5, manual entry on graph twoway, p.167,
and asked
> What do you mean by "good examples of time-ordered connection as the
counterpoint to sorting by X?"
Usually the command -scatter y x, c(l)- creates a jumble of lines unless
the data have been sorted on the X variable or the -sort- option is
added. [G, v11 p423] connect-options: "in general you want the point
sorted into ascending order of their x variable".
The pig meat graph showed a cyclic pattern that you could interpret.
Apart from the vague reference to "special effects" (ibid) there is no
example now, and all line graphs in [G] appear to endorse the Excel
blinkering that connected line graph are only for when X=time.
Well done for keeping the V5 manuals - I haven't the shelf space, and
love PDF.
Allan
*
* 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/