27.03.2013 Views

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Subcommand Order<br />

• Subcommands can be specified in any order.<br />

<strong>Syntax</strong> Rules<br />

CASEPLOT 173<br />

• VARIABLES can be specified only once.<br />

• Other subcommands can be specified more than once, but only the last specification of<br />

each one is executed.<br />

Operations<br />

• Subcommand specifications apply to all variables named on the CASEPLOT command.<br />

• If the LN subcommand is specified, any differencing requested on that CASEPLOT command<br />

is done on the log-transformed variables.<br />

• Split-file information is displayed as part of the subtitle and transformation information<br />

is displayed as part of the footnote.<br />

Limitations<br />

Example<br />

• Maximum 1 VARIABLES subcommand. There is no limit on the number of variables<br />

named on the list.<br />

CASEPLOT TICKETS<br />

/LN<br />

/DIFF<br />

/SDIFF<br />

/PERIOD=12<br />

/FORMAT=REFERENCE<br />

/MARK=Y 55 M 6.<br />

• This example produces a plot of TICKETS after a natural log transformation, differencing,<br />

and seasonal differencing have been applied.<br />

• LN transforms the data using the natural logarithm (base e) of the variable.<br />

• DIFF differences the variable once.<br />

• SDIFF and PERIOD apply one degree of seasonal differencing with a period of 12.<br />

• FORMAT=REFERENCE adds a reference line at the variable mean.<br />

• MARK provides a marker on the plot at June 1955. The marker is displayed as a horizontal<br />

reference line in a high-resolution plot.<br />

VARIABLES Subcommand<br />

VARIABLES specifies the names of the variables to be plotted and is the only required subcommand.<br />

The actual keyword VARIABLES can be omitted.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!