I have a dataset of about 77,000 points of which I want to test autocorrelation. I have tried to compute the test statistic using the testSpatialAutocorrelation tool in the DHARMa package, which uses "a simulation-based approach to create readily interpretable scaled (quantile) residuals for fitted (generalized) linear mixed models." However when I try to run the test, I run into a memory error. What is a way to easily calculate Moran's I for a large dataset?

  • Tried moran from spdep, which computes Moran's I and nothing much else? What's your adjacency list like? – Spacedman Aug 1 '18 at 6:45
  • What datatype and values you use as weigths? – Matte Aug 1 '18 at 6:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.