APPLY Subcommand (TSPLOT command)
APPLY
allows
you to produce a plot using previously defined specifications without
having to repeat the TSPLOT
subcommands.
- The only specification on
APPLY
is the name of a previous model enclosed in quotes. If a model name is not specified, the specifications from the previousTSPLOT
command are used. - To change one or more specifications of the plot,
specify the subcommands of only those portions you want to change
after the subcommand
APPLY
. - If no variables are specified, the variables that were specified for the original plot are used.
- To plot different variables, enter new variable names
before or after the
APPLY
subcommand.
Example
TSPLOT VARIABLES = TICKETS
/LN
/DIFF=1
/SDIFF=1
/PERIOD=12.
TSPLOT VARIABLES = ROUNDTRP
/APPLY.
TSPLOT APPLY
/NOLOG.
- The first command produces a plot of TICKETS after a natural log transformation, differencing, and seasonal differencing have been applied.
- The second command plots the values for ROUNDTRP using the same subcommands specified for TICKETS.
- The third command produces another plot of ROUNDTRP but this time without a log transformation. ROUNDTRP is still differenced once and seasonally differenced with a periodicity of 12.