Solved – Testing for Spatial Autocorrelation in a Negative Binomial Regression Model

Currently, I am working on a count data set measuring events in a third-order administrative unit. The frequency of events varies for each third-order administrative unit to account for the variability, I am using a negative binomial regression model.

A crude graphical analysis of the residual of the regression indicates that no spatial autocorrelation exists. I would like to find a method to assess spatial autocorrelation in a negative binomial regression model, since a regular test of spatial autocorrelation are not feasible (ex. Global Moran's I).

Do you have any suggestions?

I suspect you can use moran.mc to do a monte-carlo permutation test. Basically, it computes a measure of spatial correlation for your residuals, then randomly reassigns your residuals to your regions and recomputes the measure. Do that 999 times, see where your data measure ranks with your MC measures. If its in the far positive tail, you can say you have significant residual autocorrelation.

Similar Posts:

Rate this post

Leave a Comment