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.

1526 <strong>Syntax</strong> <strong>Reference</strong><br />

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

Operations<br />

Limitations<br />

Example<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 />

• SPECTRA cannot process series with missing observations. (You can use the RMV command<br />

to replace missing values, and USE to ignore missing observations at the beginning<br />

or end of a series. See RMV and USE in the SPSS <strong>Syntax</strong> <strong>Reference</strong> Guide for more information.)<br />

• If the number of observations in the series is odd, the first case is ignored.<br />

• If the SAVE subcommand is specified, new variables are created for each series specified.<br />

For bivariate analyses, new variables are created for each series pair.<br />

• SPECTRA requires memory both to compute variables and to build plots. Requesting fewer<br />

plots may enable you to analyze larger series.<br />

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

on the list.<br />

SPECTRA HSTARTS<br />

/CENTER<br />

/PLOT P S BY FREQ.<br />

• This example produces a plot of the periodogram and spectral density estimate for series<br />

HSTARTS.<br />

• CENTER adjusts the series to have a mean of 0.<br />

• PLOT specifies that the periodogram (P) and the spectral density estimate (S) should be<br />

plotted against frequency (BY FREQ).<br />

VARIABLES Subcommand<br />

VARIABLES specifies the series names and is the only required subcommand. The actual keyword<br />

VARIABLES can be omitted.<br />

• VARIABLES must be specified before the other subcommands.<br />

• Each series specified is analyzed separately unless the CROSS subcommand is specified.<br />

• The series must contain at least six cases.

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

Saved successfully!

Ooh no, something went wrong!