The CSPATIALREG Procedure
SPATIALEFFECTS Statement
SPATIALEFFECTS <model-spatial-effect-regressors> </options>;
The SPATIALEFFECTS statement enables you to specify covariates (such as X) whose spatial lag, WX, is to be added to the MODEL statement.
PROC CSPATIALREG adds the spatially weighted model-spatial-effect-regressors to regressors that you specify in the MODEL statement. For example, if you specify q variables in the SPATIALEFFECTS statement, then each of q spatially weighted variables, as represented by each column of
, has a parameter to be included in the regression. Here,
denotes the matrix product of
and
. In addition,
is the design matrix that is formed by the q variables
. The spatial weights matrix
comes from the data table that you specify in the WMAT= option. The "Parameter Estimates" table in the displayed output shows the estimates for spatially weighted model-spatial-effect-regressors; they are labeled with the prefix "W_". For example, if you specify
z (a variable in your primary data table) as a model-spatial-effect-regressor, then the "Parameter Estimates" table labels the corresponding parameter estimate "W_z".