Geographic Information Systems Asked on December 14, 2020
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?
I had this same problem. I created an R package that calculates the distance matrix on the fly, so it takes much less memory to calculate Moran's I. Its also quite fast. You can find it at github.com/mcooper/moranfast.
Correct answer by Amadou Kone on December 14, 2020
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP