.BG
.VE $Header: /usr3/s/current/s/.help/RCS/monthplot,v 1.2 83/12/30 19:30:50 rab Exp $
.FN monthplot
.TL
monthplot: Seasonal Subseries Plot
.CS
monthplot(y, labels, prediction)
.PP
.AG y
a time-series, typically the seasonal component of a seasonal
adjustment procedure such as `sabl'.
The series `y' is broken into `nper(y)' subseries, e.g.,
the January subseries, the February subseries, ....
.AG labels
optional vector of labels for each subseries.
Default values are:
(1) month names if `nper(y)' is 12;
(2) quarter number, if `nper(y)' is 4;
(3) digits from 1 to `nper(y)', for all other cases.
.AG prediction
number of years at the end of the series which are predictions.
These are drawn as dotted lines (graphical parameter `lty=2').
Default 1.
.GR
.SH EFFECT
For each subseries,
the plot shows variation about the subseries midmean (25% trimmed mean).
.SH REFERENCE
William S. Cleveland and Irma J. Terpenning,
"Graphical Methods for Seasonal Adjustment",
.ul
Journal of the American Statistical Association,
Vol. 77, No. 377, pp. 52-62, 1982.
.PP
.EX
fit <- sabl(ship)
monthplot(fit$seasonal,
      main="Seasonal Component of Manufacturing Shipments")
.PI
.KW plot*
.KW ts*
.KW seasonal adjustment
.KW hplot*
.WR
