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.

APPLY Subcommand<br />

AREG 149<br />

• Iteration stops either when the convergence criterion is met or when the maximum is<br />

reached, whichever occurs first. The convergence criterion is set on the TSET CNVERGE<br />

command. The default is 0.001.<br />

Example<br />

AREG VARY WITH VARX<br />

/MXITER=5.<br />

• In this example, AREG generates Prais-Winsten estimates and associated statistics with a<br />

maximum of 5 iterations.<br />

APPLY allows you to use a previously defined AREG model without having to repeat the specifications.<br />

For general rules on APPLY, see the APPLY subcommand on p. 1737.<br />

• The specifications on APPLY can include the name of a previous model in quotes and one<br />

of three keywords. All of these specifications are optional.<br />

• If a model name is not specified, the model specified on the previous AREG command is<br />

used.<br />

• To change one or more specifications of the model, specify the subcommands of only<br />

those portions you want to change after the APPLY subcommand.<br />

• If no series are specified on the AREG command, the series that were originally specified<br />

with the model being reapplied are used.<br />

• To change the series used with the model, enter new series names before or after the<br />

APPLY subcommand. If a series name is specified before APPLY, the slash before the subcommand<br />

is required.<br />

• APPLY with the keyword FIT sets MXITER to 0. If you apply a model that used FIT and want<br />

to obtain estimates, you will need to respecify MXITER.<br />

The keywords available for APPLY with AREG are:<br />

SPECIFICATIONS Use only the specifications from the original model. AREG should create<br />

the initial values. This is the default.<br />

INITIAL Use the original model’s final estimates as initial values for<br />

estimation.<br />

FIT No estimation. Estimates from the original model should be applied<br />

directly.

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

Saved successfully!

Ooh no, something went wrong!