SAVE Subcommand (2SLS command)

SAVE saves the values of predicted and residual variables that are generated during the current session to the end of the active dataset. The default names FIT_n and ERR_n will be generated, where n increments each time variables are saved for an equation. SAVE overrides the NONE or the default CURRENT setting on NEWVAR for the current procedure.

PRED . Save the predicted value. The new variable is named FIT_n, where n increments each time a predicted or residual variable is saved for an equation.

RESSID. Save the residual value. The new variable is named ERR_n, where n increments each time a predicted or residual variable is saved for an equation.