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.

Trends Options: Special Considerations 1737<br />

• Second, if the periodicity has not been specified within the command, the procedure<br />

uses the periodicity established on TSET PERIOD.<br />

• Third, if periodicity is not defined within the procedure or on TSET PERIOD, the periodicity<br />

established by the DATE variables is used.<br />

If periodicity is required for execution of the procedure (SEASON) or a subcommand of<br />

a procedure (SDIFF) and the periodicity has not been established anywhere, the procedure<br />

or subcommand will not be executed.<br />

APPLY Subcommand<br />

On most Trends procedures (and on some Base system and Regression Models procedures)<br />

you can specify the APPLY subcommand. APPLY allows you to use specifications<br />

from a previous execution of the same procedure. This provides a convenient shorthand<br />

for developing and modifying models. Specific rules and examples on how to use<br />

APPLY with a given procedure are described under the individual procedures. The<br />

following are some general rules about using the APPLY subcommand:<br />

• In general, the only specification on APPLY is the name of the model to be reapplied in<br />

quotes. If no model is specified, the model and series from the previous specification<br />

of that procedure is used.<br />

• For procedures AREG and ARIMA, three additional keywords, INITIAL, SPECIFICA-<br />

TIONS, and FIT, can be specified on APPLY. These keywords are discussed under those<br />

procedures.<br />

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

APPLY. If series names are specified before APPLY, a slash is required to separate the<br />

series names and the APPLY subcommand.<br />

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

those portions you want to change before or after the keyword APPLY.<br />

• Model names are either the default MOD_n names assigned by Trends or the names<br />

assigned on the MODEL NAME command.<br />

• Models can be applied only to the same type of procedure that generated them. For<br />

example, you cannot apply a model generated by ARIMA to the AREG procedure.<br />

• The following procedures can generate models and apply models: AREG, ARIMA,<br />

EXSMOOTH, SEASON, and SPECTRA in SPSS Trends; ACF, CASEPLOT, CCF,<br />

CURVEFIT, NPPLOT, PACF, and TSPLOT in the SPSS Base system; and WLS and<br />

2SLS in SPSS Regression Models.

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

Saved successfully!

Ooh no, something went wrong!