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.

CCF<br />

Overview<br />

Options<br />

CCF [VARIABLES=] series names [WITH series names]<br />

[/DIFF={1}]<br />

{n}<br />

[/SDIFF={1}]<br />

{n}<br />

[/PERIOD=n]<br />

[/{NOLOG**}]<br />

{LN }<br />

[/SEASONAL]<br />

[/MXCROSS={7**}]<br />

{n }<br />

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

**Default if the subcommand is omitted and there is no corresponding specification on the TSET command.<br />

Example<br />

CCF VARX VARY<br />

/LN<br />

/DIFF=1<br />

/SDIFF=1<br />

/PERIOD=12<br />

/MXCROSS=25.<br />

CCF displays and plots the cross-correlation functions of two or more time series. You can<br />

also display and plot the cross-correlations of transformed series by requesting natural log<br />

and differencing transformations within the procedure.<br />

Modifying the Series. You can request a natural log transformation of the series using the LN<br />

subcommand and seasonal and nonseasonal differencing to any degree using the SDIFF and<br />

DIFF subcommands. With seasonal differencing, you can also specify the periodicity on the<br />

PERIOD subcommand.<br />

Statistical Display. You can control which series are paired by using the keyword WITH.<br />

You can specify the range of lags for which you want values displayed and plotted with<br />

the MXCROSS subcommand, overriding the maximum specified on TSET. You can also<br />

display and plot values only at periodic lags using the SEASONAL subcommand.<br />

219

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

Saved successfully!

Ooh no, something went wrong!