Replies: 7 comments
-
Firstly, Then about stopping criteria: these are passed to
And the default call is: monoMDS(dist, y, k = 2, model = c("global", "local", "linear", "hybrid"),
threshold = 0.8, maxit = 200, weakties = TRUE, stress = 1,
scaling = TRUE, pc = TRUE, smin = 1e-4, sfgrmin = 1e-7,
sratmax=0.999999, ...) The default seems to be |
Beta Was this translation helpful? Give feedback.
-
Thank you @jarioksa, Lower sfgrmin value helped to decrease the stress level and enabled using fewer dimensions (k=4). However, the next issue I´m running into is the stratmax value (No convergence: stressratio > stratmax). In the Convergence criteria it says 'iterations stop when ... or stress ratio between two iterations goes over ‘sratmax’ (but is still < 1)' and the default value is 0.999999´ and 'stratmax: Change in stress. Values close to one mean almost unchanged stress. This may mean a solution, but it can also signal stranding on suboptimal solution with flat stress surface.'. Between my runs, the stress indeed is almost unchanging and I´m not sure, how I should interpret the situation. Should I try setting a lower 'stratmax' value or change other parameters in order to get more varying stress levels? (In tests I have run, I have used smaller 'trymax' value in order to get the analysis run quicker.) nmds5 <- metaMDS(spe, distance="jaccard", k=4, trymax=20, maxit=600, previous.best = nmds4, Many thanks again! |
Beta Was this translation helpful? Give feedback.
-
Additional note about the data. Species presence/absence records are based on modelled species distributions due to which there might be less noise than e.g. in observations from field data. I don´t know, if the nature of the data affects the stress levels and working of NMDS analysis. Best regards, |
Beta Was this translation helpful? Give feedback.
-
Hi, Because the replication with the PCR can be stochastic when the DNA content at the beginning is low, I pooled replicates to finally only have 3 replicated values by samples. Doing that I managed to reach convergence, but I don't know really how to explain and justify the choice. |
Beta Was this translation helpful? Give feedback.
-
What do you mean with "... the convergence is not stable"? The convergence is not stable if How many random starts have you used in your tests? |
Beta Was this translation helpful? Give feedback.
-
Hi Jari,
Thanks for your explanation.
I asked for 100 starts.
My last command was:
AIG_NMDS <- metaMDS(aig[,3:152], distance = "bray », k=3, trymax=100, maxit = 2000, smin = 1e-4, sfgrmin = 1e-11, sratmax= 0.99999)
Thanks
Charline
… Le 1 juil. 2021 à 13:56, Jari Oksanen ***@***.***> a écrit :
What do you mean with "... the convergence is not stable"?
The convergence is not stable if metaMDS reports convergences in separate runs, and these claimed convergences differ in procrustes() analysis. If you do not get a convergence in some run, then that run failed to find the convergence, but it has nothing to do with the stability of the convergence.
How many random starts have you used in your tests?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#413 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AUWCQRQJY6UMYFLNPSX4AILTVRJVVANCNFSM43SHFRCA>.
|
Beta Was this translation helpful? Give feedback.
-
Hei,
Run.....1-100 Best solution was not repeated -- monoMDS stopping criteria: My stress is 0.14, so ok. I just wonder how to interpret this warnings and if I can still trust the results (stressplot is not great, as I have many sites with no shared species). |
Beta Was this translation helpful? Give feedback.
-
Hi,
I´m using vegan::metaMDS() to perform NMDS analysis. My data consist of presence/absence records of 568 species in 10 000 sites. Sites with no species present are excluded. I have tried using several different 'k', 'trymax' and 'maxit' parameters but each try ends up with ”No convergence monoMDS stopping criteria: scale factor of the gradient < sfgrmin". How this should be interpreted? Stress value between runs remains quite constant, though some runs get notably lower values than others. Example of the latest try is shown below.
nmds1 <- metaMDS(species data, distance="jaccard", k=6, trymax=100, maxit=500 )
...
Run 92 stress 0.2114321
Run 93 stress 0.05507131
... Procrustes: rmse 0.001076182 max resid 0.02081336
Run 94 stress 0.06146071
Run 95 stress 0.2115075
...
*** No convergence -- monoMDS stopping criteria:
100: scale factor of the gradient < sfgrmin
I can´t figure out what I should do differently to get metaMDS to converge. Or could the problem be caused e.g. by the size of my data? Any help is much appreciated!
Best regards,
Tuuli
Beta Was this translation helpful? Give feedback.
All reactions