CASEPLOT

CASEPLOT produces a plot of one or more time series or sequence variables. You can request natural log and differencing transformations to produce plots of transformed variables. Several plot formats are available.

CASEPLOT VARIABLES=varlist

 [/DIFF={1}]
        {n}

 [/SDIFF={1}]
         {n}

 [/PERIOD=n]

 [/{NOLOG**}]
   {LN     } 

 [/ID=varname]

 [/MARK={varname           }] 
        {date specification}  

 [/SPLIT {UNIFORM**}]
         {SCALE    } 

 [/APPLY [='model name']] 

For plots with one variable:

 [/FORMAT=[{NOFILL**}]  [{NOREFERENCE**     }]]
           {LEFT    }    {REFERENCE[(value)]}

For plots with multiple variables:

 [/FORMAT={NOJOIN**}]
          {JOIN    } 
          {HILO    } 

**Default if the subcommand is omitted.

This command reads the active dataset and causes execution of any pending commands. See the topic Command Order for more information.

Release History

Release 14.0

  • For plots with one variable, new option to specify a value with the REFERENCE keyword on the FORMAT subcommand.

Example

CASEPLOT VARIABLES = TICKETS
  /LN
  /DIFF
  /SDIFF
  /PERIOD=12
  /FORMAT=REFERENCE
  /MARK=Y 55 M 6.