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.

1332 <strong>Syntax</strong> <strong>Reference</strong><br />

<strong>Syntax</strong> Rules<br />

Operations<br />

Limitations<br />

Example<br />

FILE Subcommand<br />

• If a subcommand is specified more than once, only the last one is executed.<br />

• READ MODEL is executed immediately.<br />

• Models that are currently active are erased when READ MODEL is executed. To save these<br />

models for later use, specify the SAVE MODEL command before READ MODEL.<br />

• Model files are designed to be read by Trends only and should not be edited.<br />

• DATE specifications are not saved in model files. Therefore, the DATE specifications from<br />

the current session are applied to the restored models.<br />

• The following procedures can generate models: AREG, ARIMA, EXSMOOTH, SEASON,<br />

and SPECTRA in SPSS Trends; ACF, CASEPLOT, CCF, CURVEFIT, NPPLOT, PACF, and<br />

TSPLOT in the SPSS Base system; and WLS and 2SLS in SPSS Regression Models.<br />

• Maximum 1 filename can be specified.<br />

READ MODEL FILE=’ACFMOD.DAT’<br />

/DROP=MOD_1.<br />

• In this example, all models except MOD_1 in the model file ACFMOD.DAT are restored.<br />

FILE names the model file to be read and is the only required subcommand.<br />

• The only specification on FILE is the name of the model file.<br />

• The filename must be enclosed in apostrophes.<br />

• Only one filename can be specified.<br />

• Only files saved with the SAVE MODEL command can be read.<br />

• You can specify files residing in other directories by supplying a fully qualified filename.<br />

KEEP and DROP Subcommands<br />

DROP and KEEP allow you to restore a subset of models. By default, all models in the model<br />

file are restored.<br />

• KEEP specifies the models to be restored.<br />

• DROP specifies the models to be excluded.

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

Saved successfully!

Ooh no, something went wrong!