Thanks to Kit Baum, the -cycleplot- package
has been updated on SSC. This requires Stata 8
at least.
-cycleplot- is for showing time series data
with seasonal structure, typically when reporting
is monthly or quarterly. The conventional graph
naturally shows January 2004 next to February 2004,
but a reordering such that January 2004 is next
to January 2005, and more generally such that
all the Januaries, Februaries, ..., Decembers
are plotted in batches can be useful for looking
at seasonality. What is true for months can be
true of quarters or other coarse subdivisions.
With variables
response month year
you can get there in a single line of official Stata
twoway line response year, by(month, row(1))
and the purpose of -cycleplot- is just to add
some bells and whistles to, and to remove some
awkward details from, that one-liner.
The update adds an option -mylabels()- to ease
labelling of the time (really time of year) axis
in -cycleplot-. A question from Aurelio Tobias
stimulated this: thanks to him for the question and
for feedback on an initial implementation (meaning,
he tripped over a silly bug of mine).
For users of Stata 6 and Stata 7 the predecessor
of -cycleplot- remains on SSC as -sssplot-.
Nick
[email protected]
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/