[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: -cycleplot- updated on SSC
Thanks to Kit Baum, the -cycleplot- package
has been updated on SSC. This requires Stata 8
-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.
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-.
* For searches and help try: