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. [EMAIL PROTECTED] -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . _______________________________________________ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo