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?
Best Answer
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:
- Solved – What does residual map explain
- Solved – Spatial autocorrelation in GAM model residuals in R
- Solved – the difference between spatial dependence and spatial (auto)correlation
- Solved – Mixed effects models for nested study design and time-series
- Solved – spatial autocorrelation for time series data