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.

1530 <strong>Syntax</strong> <strong>Reference</strong><br />

SAVE Subcommand<br />

• You can specify CROSS NO to turn off bivariate analysis when applying a previous model<br />

with APPLY.<br />

Example<br />

SPECTRA VARX VARY VARZ<br />

/CROSS.<br />

• In this example, bivariate spectral analyses of series VARX with VARY and VARX with<br />

VARZ are requested in addition to the usual univariate analyses of VARX, VARY, and<br />

VARZ.<br />

SAVE saves computed SPECTRA variables in the working data file for later use. SPECTRA displays<br />

a list of the new variables and their labels, showing the type and source of those variables.<br />

• You can specify any or all of the output keywords listed below.<br />

• A name to be used for generating variable names must follow each output keyword. The<br />

name must be enclosed in parentheses.<br />

• For each output keyword, one variable is created for each series named on SPECTRA and<br />

for each bivariate pair.<br />

• The keywords RC, IC, CS, QS, PH, A, G, and K apply only to bivariate analyses. If CROSS<br />

is not specified, these keywords are ignored.<br />

• SAVE specifications are not used when models are reapplied using APPLY. They must be<br />

specified each time variables are to be saved.<br />

• The output variables correspond to the Fourier frequencies. They do not correspond to the<br />

original series.<br />

• Since each output variable has only (n/2 + 1) cases (where n is the number of cases), the<br />

values for the second half of the series are set to system-missing.<br />

• Variable names are generated by adding _n to the specified name, where n ranges from 1<br />

to the number of series specified.<br />

• For bivariate variables, the suffix is _n_n, where the n’s indicate the two variables used in<br />

the analysis.<br />

• The frequency (FREQ) and period (PER) variable names are constant across all series and<br />

do not have a numeric suffix.<br />

• If the generated variable name is longer than maximum variable name length, or if the<br />

specified name already exists, the variable is not saved.<br />

The following output keywords are available:<br />

FREQ Fourier frequencies.<br />

PER Fourier periods.<br />

SIN Value of a sine function at the Fourier frequencies.<br />

COS Value of a cosine function at the Fourier frequencies.

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

Saved successfully!

Ooh no, something went wrong!