Skip to content
Prev 5351 / 7420 Next

Follow-up to Vegan metaMDS: unusual first run stress values with large data set

Ewan,

You already got some good hints from Peter Michin (outside this list), but here some comments.
Data sets with this size can really be difficult for NMDS because location of any point has tinies effect on the stress. In this kind of situations the first thing is to find why the analysis stops. There are three stopping criteria and you have changed two (steepness of gradient sfgrmin and the change in stress sratmax). Your changes are really absurd since they exceed the numerical accurracy of digital computers. If you launch metaMDS() with argument trace=2 you will get more verbose output that reports the stopping criterion used. If it is always the same criterion, you could make that one stricter (but stay within the numbers digital computers can handle). My first guess is that with data of this dimensions, you very easily stop because you exceed the maximum number of iterations. If that happens, you actually stop before reaching a solution, and you should increase maxit. Only after checking these things you should proceed with looking at the peculiarities of your data (disjunct or nearly disjunct subsets etc.)

cheers, Jari Oksanen