I have a question regarding performing spatial regression on data which residuals are spatially correlated.
If the residuals are spatially autocorrelated due to the presence of trend, how should I account for the existence of spatial autocorrelation?
And what about if there is no trend, but rather spatial autocorrelation in random variation (in residuals left after detrending)?
And what about if there are both trend and spatially autocorrelated random variation in my data?
Can I in both cases apply this formula to account for spatial autocorrelation no matter if it is the result of trend or random variation correlation: