Wednesday 30 May 2018

qgis - How can a statistically significant difference between rasters be calculated?


so after some gruelling use of MaxEnt I have four occurrence probability rasters for the four quarters of the year, each one is about 70MB+. I want to test whether they are significantly different from each other. I have been told that a Mantel test is the best option, however it seems to only be able to deal with two rasters at a time, and with such large rasters and numbers of permutations R has been failing me in terms of memory:


rsession(14001,0x7fff7be68000) malloc: * mach_vm_map(size=153281630035968) failed (error code=3) error: can't allocate region set a breakpoint in malloc_error_break to debug rsession(14001,0x7fff7be68000) malloc: mach_vm_map(size=153281630035968) failed (error code=3) error: can't allocate region * set a breakpoint in malloc_error_break to debug Error: cannot allocate vector of size 142754.6 Gb In addition: Warning message: In is.euclid(m1) : Zero distance(s)


I wonder if there is some way of doing a Mantel test or similar within QGIS, or whether anyone can help?





No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...