Trying to investigate whether the Autoregressive behaviour is as a result of Lags (SER) or errors (SEM).
Diagnistic check on the weights matrix
The output is as below
spatdiag, weights(W)
Diagnostic tests for spatial dependence in OLS regression
Fitted model
------------------------------------------------------------
logHPRICE = SPOOL + BQUARTER + WFENCE + PSIZE + NROOMS
------------------------------------------------------------
Weights matrix
------------------------------------------------------------
Name: W
Type: Distance-based (inverse distance)
Distance band: 0.0 < d