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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

APPLY Subcommand<br />

P Periodogram values.<br />

S Spectral density estimate values.<br />

SPECTRA 1531<br />

RC Real part values of the cross-periodogram. Applies only to bivariate analyses.<br />

IC Imaginary part values of the cross-periodogram. Applies only to bivariate analyses.<br />

CS Cospectral density estimate values. Applies only to bivariate analyses.<br />

QS Quadrature spectrum estimate values. Applies only to bivariate analyses.<br />

PH Phase spectrum estimate values. Applies only to bivariate analyses.<br />

A Cross-amplitude values. Applies only to bivariate analyses.<br />

G Gain values. Applies only to bivariate analyses.<br />

K Squared coherency values. Applies only to bivariate analyses.<br />

Example<br />

SPECTRA VARIABLES=STRIKES RUNS<br />

/SAVE= FREQ (FREQ) P (PGRAM) S (SPEC).<br />

• This example creates five variables: FREQ, PGRAM_1, PGRAM_2, SPEC_1, and SPEC_2.<br />

APPLY allows you to use a previously defined SPECTRA model without having to repeat the<br />

specifications. For general rules on APPLY, see the APPLY subcommand on p. 1737.<br />

• The only specification on APPLY is the name of a previous model in quotes. If a model<br />

name is not specified, the model specified on the previous SPECTRA command is used.<br />

• To change one or more model specifications, specify the subcommands of only those portions<br />

you want to change after the APPLY subcommand.<br />

• If no series are specified on the command, the series that were originally specified with<br />

the model being reapplied are used.<br />

• To change the series used with the model, enter new series names before or after the<br />

APPLY subcommand. If a variable name is specified before APPLY, the slash before the<br />

subcommand is required.<br />

• The SAVE specifications from the previous model are not reused by APPLY. They must be<br />

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

Examples<br />

SPECTRA VAR01<br />

/WINDOW=DANIELL (3)<br />

/CENTER<br />

/PLOT P S BY FREQ.<br />

SPECTRA APPLY<br />

/PLOT P S.

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

Saved successfully!

Ooh no, something went wrong!