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.

TYPE Subcommand<br />

TSET Subcommand<br />

READ MODEL 1333<br />

• Models can be specified using either individual model names or the names of the procedures<br />

that created them. To use procedure names, you must specify COMMAND on the<br />

TYPE subcommand.<br />

• Model names are either the default MOD_n names or the names assigned with MODEL<br />

NAME.<br />

• If a procedure name is specified on KEEP, all models created by that procedure are restored;<br />

on DROP, all models created by the procedure are dropped.<br />

• Model names and procedure names cannot be mixed on a single READ MODEL command.<br />

• If more than one KEEP or DROP subcommand is specified, only the last one is executed.<br />

• You can specify the keyword ALL on KEEP to restore all models in the model file. This is<br />

the default.<br />

• The stored model file is not affected by the KEEP or DROP specification on READ MODEL.<br />

Example<br />

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

/KEEP=ACF1 ACF2.<br />

• In this example, only models ACF1 and ACF2 are restored from model file ACFCCF.DAT.<br />

TYPE indicates whether models are specified by model name or procedure name on DROP<br />

and KEEP.<br />

• One keyword, MODEL or COMMAND, can be specified after TYPE.<br />

• MODEL is the default and indicates that models are specified as model names.<br />

• COMMAND indicates that models are specified by procedure name.<br />

• TYPE has no effect if KEEP or DROP is not specified.<br />

• The TYPE specification applies only to the current READ MODEL command.<br />

Example<br />

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

/KEEP=ARIMA<br />

/TYPE=COMMAND.<br />

• In this example, all models created by ARIMA are restored from model file ARIMA1.DAT.<br />

TSET allows you to restore the TSET settings that were in effect when the model was created.<br />

• The specification on TSET is either CURRENT or RESTORE.<br />

• CURRENT (the default) indicates you want to continue to use the current TSET settings.<br />

• RESTORE indicates you want to restore the TSET settings that were in effect when the<br />

model file was saved. The current TSET settings are replaced with the model file settings<br />

when the file is restored.

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

Saved successfully!

Ooh no, something went wrong!