Skip to content
Prev 8718 / 29559 Next

Pseudo R^2 in spatial regressions

On Tue, 6 Jul 2010, J. Sebastian Tello wrote:

            
Really? There is no update() method for sarlm objects. so do not expect 
anything sensible. Do however see the Nagelkerke=TRUE argument to the 
summary() methos for sarlm objects:

library(spdep)
data(oldcol)
COL.errW.eig <- errorsarlm(CRIME ~ INC + HOVAL, data=COL.OLD,
  nb2listw(COL.nb, style="W"))
summary(COL.errW.eig, Nagelkerke=TRUE)

Hope this helps,

Roger