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.

1524 <strong>Syntax</strong> <strong>Reference</strong><br />

SPECTRA<br />

Overview<br />

Options<br />

SPECTRA is available in the Trends option.<br />

SPECTRA [VARIABLES=] series names<br />

[/{CENTER NO**}]<br />

{CENTER }<br />

[/{CROSS NO**}]<br />

{CROSS }<br />

[/WINDOW={HAMMING** [({5 })] }]<br />

{ {span} }<br />

{BARTLETT [(span)] }<br />

{PARZEN [(span)] }<br />

{TUKEY [(span)] }<br />

{UNIT or DANIELL [(span)]}<br />

{NONE }<br />

{w-p , ..., w0 , ..., wp }<br />

[/PLOT= [P] [S] [CS] [QS] [PH] [A]<br />

[G] [K] [ALL] [NONE]<br />

[BY {FREQ }]]<br />

{PERIOD}<br />

[/SAVE = [FREQ (name)] [PER (name)] [SIN (name)]<br />

[COS (name)] [P (name)] [S (name)]<br />

[RC (name)] [IC (name)] [CS (name)]<br />

[QS (name)] [PH (name)] [A (name)]<br />

[G (name)] [K (name)]]<br />

[/APPLY [=’model name’]]<br />

**Default if the subcommand is omitted.<br />

Example:<br />

SPECTRA HSTARTS<br />

/CENTER<br />

/PLOT P S BY FREQ.<br />

SPECTRA plots the periodogram and spectral density function estimates for one or more series.<br />

You can also request bivariate spectral analysis. Moving averages, termed windows, can<br />

be used for smoothing the periodogram values to produce spectral densities.<br />

Output. In addition to the periodogram, you can produce a plot of the estimated spectral density<br />

with the PLOT subcommand. You can suppress the display of the plot by frequency or<br />

the plot by period using the keyword BY on PLOT. To display intermediate values and the plot<br />

legend, specify TSET PRINT=DETAILED before SPECTRA. To reduce the range of values displayed<br />

in the plots, you can center the data using the CENTER subcommand.

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

Saved successfully!

Ooh no, something went wrong!