APPLY Subcommand (CASEPLOT command)

APPLY allows you to produce a caseplot using previously defined specifications without having to repeat the CASEPLOT subcommands.

  • The only specification on APPLY is the name of a previous model in quotes. If a model name is not specified, the specifications from the previous CASEPLOT command are used.
  • If no variables are specified, the variables that were specified for the original plot are used.
  • To change one or more plot specifications, specify the subcommands of only those portions you want to change after the APPLY subcommand.
  • To plot different variables, enter new variable names before or after the APPLY subcommand.

Example

CASEPLOT VARIABLES = TICKETS
  /LN
  /DIFF=1
  /SDIFF=1
  /PER=12.
CASEPLOT VARIABLES = ROUNDTRP
  /APPLY.
CASEPLOT APPLY
  /NOLOG. 
  • The first command produces a plot of TICKETS after a natural log transformation, differencing, and seasonal differencing.
  • The second command plots ROUNDTRP using the same transformations specified for TICKETS.
  • The third command produces a plot of ROUNDTRP but this time without any natural log transformation. The variable is still differenced once and seasonally differenced with a periodicity of 12.