COUNTREG Procedure

SPATIALEFFECTS Statement

  • SPATIALEFFECTS <model-spatial-effect-regressors> </options>;

The SPATIALEFFECTS statement adds the spatially weighted model-spatial-effect-regressors to regressors that are specified in the MODEL statement. For example, if you specify q variables z 1 comma ellipsis comma z Subscript q Baseline in the SPATIALEFFECTS statement, then each of q spatially weighted variables bold upper W z 1 comma ellipsis comma bold upper W z Subscript q Baseline has a parameter to be estimated in the regression. Here, bold upper W z 1 comma ellipsis comma bold upper W z Subscript q Baseline denotes the matrix and vector product between bold upper W and a column vector whose entries are the values of z 1 comma ellipsis comma z Subscript q Baseline, respectively. The spatial weights matrix bold upper W comes from the data set that is specified in the WMAT= option in the PROC COUNTREG statement.

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 data set) as a spatial effect explanatory variable, then the "Parameter Estimates" table labels the corresponding parameter estimate "W_z".

You can specify the following option after a slash (/):

SELECT=INFO=<(selection-options)>
SELECTVAR=INFO=<(selection-options)>

requests that the variable selection method be based on an information criterion. For a list of selection-options, see the section Options for Variable Selection Based on an Information Criterion. For more information about this type of variable selection, see the section Variable Selection Using an Information Criterion.

Last updated: June 19, 2025