[R-sig-Geo] Moran test on residuals of a logistic regression

guis at teledetection.fr guis at teledetection.fr
Tue Sep 19 17:39:43 CEST 2006


Hi

I have a logistic regression model, and I would like to see if the
residuals of this model are spatially autocorrelated. I saw that the
lm.morantest function could be used to test for autocorrelation in
residuals from a linear model (lm). Does a similar function exist for
residuals of a logistic regression models? (one of the arguments of the
lm.morantest is an lm object: x.lm)
I thought of extracting the residuals of my model (with the residuals
function) and then applying a moran.test, but I read that this wasn't
correct as there was no correction for the fact that these were residuals
(I didn't understand why). Is there a way to specify that the moran.test is
applied to residuals, making it possible to use this function in my case? 
I have a last question : if I extract residuals of the logistic models,
what type of residuals should I choose : deviance, pearson, working,
response, partial...?
I would be grateful for any help
Thanks

Helene Guis
PhD student CIRAD - University of Franche-Comté, France.
guis at teledetection.fr

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .




More information about the R-sig-Geo mailing list