SPATIALREG Procedure
Functional Summary
Table 1 summarizes the statements and options that you can use with the SPATIALREG procedure.
Table 1: PROC SPATIALREG Functional Summary
| Description | Statement | Option |
|---|---|---|
| Data Set Options | ||
| Specifies the input primary data set | PROC SPATIALREG | DATA= |
| Specifies the input spatial weights data set | PROC SPATIALREG | WMAT= |
| Suppresses normalization of the spatial weights | PROC SPATIALREG | NONORMALIZE |
| Writes parameter estimates to an output data set | PROC SPATIALREG | OUTEST= |
| Writes estimates of | OUTPUT | OUT= |
| Approximation Control Options | ||
| Specifies the approximation-related options | PROC SPATIALREG | APPROXIMATION= |
| Declaring the Role of Variables | ||
| Specifies BY-group processing | BY | |
| Specifies classification variables | CLASS | |
| Specifies a spatial ID variable | SPATIALID | |
| Printing Control Options | ||
| Prints the correlation matrix of the estimates | MODEL | CORRB |
| Prints the covariance matrix of the estimates | MODEL | COVB |
| Prints a summary iteration listing | MODEL | ITPRINT |
| Suppresses the normal printed output | PROC SPATIALREG | NOPRINT |
| Prints all available output | MODEL | PRINTALL |
| Optimization Process Control Options | ||
| Specifies maximum number of iterations allowed | MODEL | MAXITER= |
| Selects the iterative minimization method to use | PROC SPATIALREG | METHOD= |
| Sets boundary restrictions on parameters | BOUNDS | |
| Sets initial values for parameters | INIT | |
| Sets linear restrictions on parameters | RESTRICT | |
| Sets the number of threads to use | PERFORMANCE | NTHREADS= |
| Specifies the optimization options | NLOPTIONS | See Chapter 6, Nonlinear Optimization Methods. |
| Model Estimation Options | ||
| Specifies the spatial lag of covariate effect | SPATIALEFFECTS | |
| Specifies the type of model | MODEL | TYPE= |
| Specifies the type of covariance matrix | MODEL | COVEST= |
| Suppresses the intercept parameter | MODEL | NOINT |
| Output Control Options | ||
| Includes covariances in the OUTEST= data set | PROC SPATIALREG | COVOUT |
| Outputs the residual | OUTPUT | RESID= |
| Outputs the expected value of the response variable | OUTPUT | PRED= |
| Outputs estimates of | OUTPUT | XBETA= |
Last updated: June 19, 2025