SPATIALREG Procedure

OUTPUT Statement

  • OUTPUT <OUT=SAS-data-set> <output-options> ;

The OUTPUT statement creates a new SAS data set that contains all the variables in the input data set and, optionally, the estimates of bold x prime Subscript i Baseline bold-italic beta, the expected value of the response variable, and the residual.

You can specify only one OUTPUT statement for each MODEL statement. You can specify the following output-options:

OUT=SAS-data-set

names the output data set.

XBETA=name

names the variable that contains estimates of bold x prime Subscript i Baseline bold-italic beta.

PRED=name
MEAN=name

assigns a name to the variable that contains the predicted value of the response variable.

RESID=name
RESIDUAL=name

assigns a name to the variable that contains the residuals (that is, the difference between the observed and predicted values of the response variable).

Last updated: June 19, 2025