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.

CONSTANT and NOCONSTANT Subcommands<br />

2SLS 1589<br />

Specify CONSTANT or NOCONSTANT to indicate whether a constant term should be estimated<br />

in the regression equation. The specification of either subcommand overrides the CONSTANT<br />

setting on the TSET command for the current procedure.<br />

• CONSTANT is the default and specifies that the constant term is used as an instrument.<br />

• NOCONSTANT eliminates the constant term.<br />

SAVE Subcommand<br />

SAVE saves the values of predicted and residual variables generated during the current session<br />

to the end of the working data file. The default names FIT_n and ERR_n will be generated,<br />

where n increments each time variables are saved for an equation. SAVE overrides the NONE<br />

or the default CURRENT setting on NEWVAR for the current procedure.<br />

PRED Save the predicted value. The new variable is named FIT_n, where n increments<br />

each time a predicted or residual variable is saved for an equation.<br />

RESSID Save the residual value. The new variable is named ERR_n, where n increments<br />

each time a predicted or residual variable is saved for an equation.<br />

PRINT Subcommand<br />

PRINT can be used to produce an additional covariance matrix for each equation. The only<br />

specification on this subcommand is keyword COV. The PRINT subcommand overrides the<br />

PRINT setting on the TSET command for the current procedure.<br />

APPLY Subcommand<br />

APPLY allows you to use a previously defined 2SLS model without having to repeat the<br />

specifications.<br />

• The only specification on APPLY is the name of a previous model. If a model name is not<br />

specified, the model specified on the previous 2SLS command is used.<br />

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

APPLY subcommand.<br />

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

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

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

the model being reapplied are used.<br />

Example<br />

2SLS Y1 WITH X1 X2 / X1 WITH Y1 X2<br />

/INSTRUMENTS=X2 X3.<br />

2SLS APPLY<br />

/INSTRUMENTS=X2 X3 LAGX1.

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

Saved successfully!

Ooh no, something went wrong!