[R-sig-Geo] How to check model assumptions of a weighted spdep::spautolm?

Guido Schulz gosz at gmx.de
Thu Jul 2 11:15:56 CEST 2015

I would like to check the model assumptions of a weighted
spdep::spautolm model.

i.e., I would like to check if the (marginal) residuals, defined as Y -
(Signal Trend + Signal Stochastic) are homoscedastic, independent and

Unfortunately spdep::bptest.sarlm does not accept spautolm objects,
hence I cannot carry out a Breusch-Pagan test - unless there is a

The only ideas I had so far:

- qqnorm & qqline plot of the residuals
- visual check of a map of the residuals (to identify obvious remaining
heteroscedasticity or autocorrelation)

Any suggestions?



More information about the R-sig-Geo mailing list