The CSPATIALREG Procedure

Missing Values

Missing values can occur in both the primary data table (which you specify in the DATA= option) and the secondary spatial weights data table (which you specify in the WMAT= option). The CSPATIALREG procedure does not allow missing values in the primary input data table. If any observation in the primary input data table has a missing value for one or more of the regressors or the dependent variable, PROC CSPATIALREG will not fit the model. If any observation in the primary data table has a missing value for the spatial ID variable when you specify the SPATIALID statement, PROC CSPATIALREG will not fit the model. In such cases, you get an error message.

For the secondary spatial weights data table, a missing value for the spatial ID variable is not allowed when you specify the SPATIALID statement. Moreover, missing spatial weights are not allowed if you specify the NONORMALIZE option. In these cases, PROC CSPATIALREG issues an error message and skips the model fitting.

Last updated: June 14, 2018