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.

1456 <strong>Syntax</strong> <strong>Reference</strong><br />

SAVE MODEL<br />

Overview<br />

Options<br />

Basic Specification<br />

Subcommand Order<br />

SAVE MODEL is available in the Trends option.<br />

SAVE MODEL OUTFILE=’filename’<br />

[/KEEP={ALL** }]<br />

{model names}<br />

{procedures }<br />

[/DROP={model names}]<br />

{procedures }<br />

[/TYPE={MODEL**}]<br />

{COMMAND}<br />

**Default if the subcommand is omitted.<br />

Example:<br />

SAVE MODEL OUTFILE=’ACFMOD.DAT’<br />

/DROP=MOD_1.<br />

SAVE MODEL saves the models created by Trends procedures into a model file. The saved<br />

model file can be read later on in the session or in another session with the READ MODEL<br />

command.<br />

You can save a subset of models into the file using the DROP and KEEP subcommands. You<br />

can control whether models are specified by model name or by the name of the procedure<br />

that generated them using the TYPE subcommand.<br />

The basic specification is the OUTFILE subcommand followed by a filename.<br />

• By default, SAVE MODEL saves all currently active models in the specified file. Each<br />

model saved in the file includes information such as the procedure that created it, the<br />

model name, the variable names specified, subcommands and specifications used, and parameter<br />

estimates. The names of the models are either the default MOD_n names or the<br />

names assigned on the MODEL NAME command. In addition to the model specifications,<br />

the TSET settings currently in effect are saved.<br />

• Subcommands can be specified in any order.

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

Saved successfully!

Ooh no, something went wrong!