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.

540 <strong>Syntax</strong> <strong>Reference</strong><br />

Example<br />

EXSMOOTH VAR1.<br />

PERIOD Subcommand<br />

SEASFACT Subcommand<br />

• This example uses the default model NN for series VAR1.<br />

Example<br />

EXSMOOTH VAR2<br />

/MODEL=LN.<br />

• This example uses model LN (linear trend with no seasonality) for series VAR2.<br />

PERIOD indicates the periodicity of the seasonal component for seasonal models.<br />

• The specification on PERIOD indicates how many observations are in one period or season<br />

and can be any positive integer.<br />

• PERIOD is ignored if it is specified with a nonseasonal model.<br />

• If PERIOD is not specified, the periodicity established on TSET PERIOD is in effect. If<br />

TSET PERIOD is not specified, the periodicity established on the DATE command is used.<br />

If periodicity was not established anywhere and a seasonal model is specified,<br />

EXSMOOTH will terminate.<br />

Example<br />

EXSMOOTH VAR1<br />

/MODEL=LA<br />

/PERIOD=12.<br />

• This example specifies a periodicity of 12 for the seasonal VAR1 series.<br />

SEASFACT specifies initial seasonal factor estimates for seasonal models.<br />

• The specification on SEASFACT is either a value list enclosed in parentheses or a variable<br />

name.<br />

• If a value list is specified, the number of values in the list must equal the periodicity. For<br />

example, if the periodicity is 12, then 12 initial values must be specified.<br />

• For multiplicative models, the sum of the values in the list should equal the periodicity.<br />

For additive models, the sum of the values should equal 0.<br />

• A variable specification on SEASFACT indicates the name of a variable in the working<br />

data file containing the seasonal factor estimates (see SEASON).<br />

• If the model is seasonal and SEASFACT is not specified, EXSMOOTH calculates the initial<br />

seasonal factors.<br />

• The seasonal factor estimates of a SEASFACT subcommand are not used when the model<br />

is respecified using the APPLY subcommand (see the APPLY subcommand on p. 544).

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

Saved successfully!

Ooh no, something went wrong!