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.

D Order of differencing.<br />

Q Moving-average order.<br />

SP Seasonal autoregressive order.<br />

SD Order of seasonal differencing.<br />

ARIMA 157<br />

SQ Seasonal moving-average order.<br />

• The specification on P, Q, SP, or SQ indicates which lags are to be fit and can be a single<br />

positive integer or a list of values in parentheses.<br />

• A single value n denotes lags 1 through n.<br />

• A single value in parentheses, for example (n), indicates that only lag n should be fit.<br />

• A list of values in parentheses (i, j, k) denotes lags i, j, and k only.<br />

• You can specify as many values in parentheses as you want.<br />

• D and SD indicate the degrees of differencing and can be specified only as single values,<br />

not value lists.<br />

• Specifications on P, D, Q, SP, SD, and SQ override specifications for the corresponding<br />

parameters on the MODEL subcommand.<br />

Example<br />

ARIMA SALES<br />

/P=2<br />

/D=1.<br />

ARIMA INCOME<br />

/MODEL=LOG NOCONSTANT<br />

/P=(2).<br />

ARIMA VAR01<br />

/MODEL=(1,1,4)(1,1,4)<br />

/Q=(2,4)<br />

/SQ=(2,4).<br />

ARIMA VAR02<br />

/MODEL=(1,1,0)(1,1,0)<br />

/Q=(2,4)<br />

/SQ=(2,4).<br />

• The first command fits a model with autoregressive parameters at lags 1 and 2 (P=2) and<br />

one degree of differencing (D=1) for the series SALES. This command is equivalent to:<br />

ARIMA SALES<br />

/MODEL=(2,1,0).<br />

• In the second command, the series INCOME is log transformed and no constant term is estimated.<br />

There is one autoregressive parameter at lag 2, as indicated by P=(2).<br />

• The third command specifies a model with one autoregressive parameter, one degree of<br />

differencing, moving-average parameters at lags 2 and 4, one seasonal autoregressive parameter,<br />

one degree of seasonal differencing, and seasonal moving-average parameters at<br />

lags 2 and 4. The 4’s in the MODEL subcommand for moving average and seasonal moving<br />

average are ignored because of the Q and SQ subcommands.

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

Saved successfully!

Ooh no, something went wrong!