SDIFF Subcommand (CCF command)
If the series exhibits seasonal or periodic patterns,
you can use SDIFF to seasonally
difference the series before obtaining cross-correlations.
- The specification on
SDIFFindicates the degree of seasonal differencing and can be 0 or any positive integer. - If
SDIFFis specified without a value, the degree of seasonal differencing defaults to 1. - The number of seasons used in the calculations decreases by 1 for each degree of seasonal differencing.
- The length of the period used by
SDIFFis specified on thePERIODsubcommand. If thePERIODsubcommand is not specified, the periodicity established on theTSETorDATEcommand is used (see thePERIODsubcommand).
Example
CCF VARIABLES = VAR01 WITH VAR02 VAR03
/SDIFF=1.
- In this example, one degree of seasonal differencing
using the periodicity established on the
TSETorDATEcommand is applied to the three series. - Two cross-correlation functions are then plotted, one for the pair VAR01 and VAR02, and one for the pair VAR01 and VAR03.