Skip to content
Prev 28143 / 29559 Next

How to efficiently generate data of neighboring points

On Thu, 4 Jun 2020, Lom Navanyo wrote:

            
Thanks, clarifies a good deal. Maybe look at the original localG articles 
for exploring distance relationships (Getis and Ord looked at HIV/AIDS); 
?spdep::localG or https://r-spatial.github.io/spdep/reference/localG.html.

Further note at OLS is biased as you have y = f(y) + e, so y on both 
sides. The nearest equivalent for a single band is spatialreg::lagsarlm() 
with listw=nb2listw(wd1, style="B") to get the neighbour sums through the 
weights matrix. So both your betas and their standard errors are unusable, 
I'm afraid. You are actually very much closer to ordinary kriging, looking 
at the way in which distance attenuates the correlation in value of 
proximate observations.

Hope this clarifies,

Roger

  
    

Thread (19 messages)