CSPATIALREG Procedure
Functional Summary
Table 1 summarizes the statements and options available in the CSPATIALREG procedure. The sections that follow provide detailed syntax information about each of these statements, beginning with the PROC CSPATIALREG statement. The remaining statements are covered in alphabetical order.
Table 1: Functional Summary
| Description | Statement | Option |
|---|---|---|
| Data Table Options | ||
| Specifies the input data table | PROC CSPATIALREG | DATA= |
| Specifies the spatial weights input data table | PROC CSPATIALREG | WMAT= |
| Suppresses normalization of the spatial weights | PROC CSPATIALREG | NONORMALIZE |
| Writes estimates of | OUTPUT | OUT= |
| Approximation Control Options | ||
| Specifies the approximation-related options | PROC CSPATIALREG | APPROXIMATION= |
| Declaring the Role of Variables | ||
| Specifies BY-group processing | BY | |
| Specifies classification variables | CLASS | |
| Specifies a spatial ID variable | SPATIALID | |
| Impact Estimation Control Option | ||
| Specifies options that are related to impact estimation | PROC CSPATIALREG | IMPACT |
| Printing Control Options | ||
| Prints the correlation matrix of the estimates | MODEL | CORRB |
| PROC CSPATIALREG | CORRB | |
| Prints the covariance matrix of the estimates | MODEL | COVB |
| PROC CSPATIALREG | COVB | |
| Suppresses the normal printed output | MODEL | NOPRINT |
| PROC CSPATIALREG | NOPRINT | |
| Prints all available output | MODEL | PRINTALL |
| PROC CSPATIALREG | PRINTALL | |
| Prints timing information | PROC CSPATIALREG | PRINTTIMING |
| Prints the names used internally for the parameters | PROC CSPATIALREG | PRINTINTERNALNAMES |
| Options to Control the Optimization Process | ||
| Specifies the maximum number of iterations | MODEL | MAXITER= |
| PROC CSPATIALREG | MAXITER= | |
| Selects the iterative minimization method to use | MODEL | METHOD= |
| PROC CSPATIALREG | METHOD= | |
| Specifies the maximum number of function calls | MODEL | MAXFUNC= |
| PROC CSPATIALREG | MAXFUNC= | |
| Specifies the upper limit of CPU time in seconds | MODEL | MAXTIME= |
| PROC CSPATIALREG | MAXTIME= | |
| Sets boundary restrictions on parameters | BOUNDS | |
| Sets initial values of parameters | INIT | |
| Sets linear restrictions on parameters | RESTRICT | |
| Model Estimation Options | ||
| Specifies the spatial lag of covariate effect | SPATIALEFFECTS | |
| Specifies the type of model | MODEL | TYPE= |
| PROC CSPATIALREG | TYPE= | |
| Specifies the type of covariance matrix | MODEL | COVEST= |
| Suppresses the intercept parameter | MODEL | NOINT |
| Output Control Options | ||
| Specifies the ODS tables to display | DISPLAY | |
| Specifies the ODS tables to save as output tables | DISPLAYOUT | |
| Outputs SAS variables to the output data table | OUTPUT | COPYVAR= |
| Outputs the residual | OUTPUT | RESID= |
| Outputs the expected value of the response variable | OUTPUT | PRED= |
| Outputs estimates of | OUTPUT | XBETA= |
Last updated: November 24, 2025