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.

542 <strong>Syntax</strong> <strong>Reference</strong><br />

Keyword GRID<br />

Table 2 Parameters that can be specified with EXSMOOTH models<br />

Model<br />

Smoothing parameter<br />

ALPHA DELTA GAMMA PHI<br />

NN x<br />

NA x x<br />

NM x x<br />

LN x x<br />

LA x x x<br />

LM x x x<br />

EN x x<br />

EA x x x<br />

EM x x x<br />

DN x x x<br />

DA x x x<br />

DM x x x<br />

The keyword GRID specifies a range of values to use for the associated smoothing parameter.<br />

When GRID is specified, new variables are saved only for the optimal set of parameters on<br />

the grid.<br />

• The first value on GRID specifies the start value, the second value is the end value, and<br />

the last value is the increment.<br />

• The start, end, and increment values on GRID are separated by commas or spaces and enclosed<br />

in parentheses.<br />

• If you specify any grid values, you must specify all three.<br />

• If no values are specified on GRID, the default values are used.<br />

• Grid start and end values for alpha, gamma, and delta can range from 0 to 1. The defaults<br />

are 0 for the start value and 1 for the end value.<br />

• Grid start and end values for phi can range from 0 to 1, exclusive. The defaults are 0.1 for<br />

the start value and 0.9 for the end value.<br />

• Grid increment values must be within the range specified by start and end values. The default<br />

is 0.1 for alpha, and 0.2 for gamma, delta, and phi.<br />

Example<br />

EXSMOOTH VAR1<br />

/MODEL=LA<br />

/PERIOD=12<br />

/GAMMA=0.20<br />

/DELTA=0.20.<br />

• This example uses a model with a linear trend and additive seasonality.

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

Saved successfully!

Ooh no, something went wrong!