ordination with predictors #112
-
Hi, I’m trying to create an ordination plot with predictor variables using the ordiplot function in gllvm, but every time I run the model and create the corresponding ordiplot it gives me very different results (different length and significance of the arrows). Is that normal? Or how much variation is reasonable/expected? Could there be an issue with the way the model is specified? I’m a beginner in R and gllvm so I would really appreciate your advice. Thank you! My model: zb$y2 = matrix with abundance values for 36 different species Ordiplot: |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
Hello! Thanks for posting your question. The models in gllvm generally suffer from this, so there is an option in the package to make that a bit easier for you; On another note, the offset should not be in the model formula, but in the "offset" argument. So, try the following and see if things improve:
Good luck! Let me know if you need more help! |
Beta Was this translation helpful? Give feedback.
-
Hi, Thanks so much for your fast response! I have tried what you proposed and the model is more stable now. However, I still see some variability when generating the ordination plots with the predictors (but less than before). Just to have a better understanding of it, I was wondering what can be the causes of this variation. Could the characteristics of my data be contributing to it? For example, small effects in the environmental covariates? |
Beta Was this translation helpful? Give feedback.
-
Interesting! Could you provide a little more information, eg a print screen of the summary of both models? |
Beta Was this translation helpful? Give feedback.
-
Yes! These are the summary and the coefficients for the LV predictors for each (the list with the coefficients of the predictors for every species is a bit too long to attach). Thank you, |
Beta Was this translation helpful? Give feedback.
-
OK. There is little to be done; sensitivity of the model to the initial values does occur. Either how, you should pick the model here with the lowest AIC! It looks like the answers from either model would be similar, but the estimated latent variables differ a bit. Just to double check; does zb$x include the variable that is in sDesign by any chance? Because that would definitely cause trouble! |
Beta Was this translation helpful? Give feedback.
-
Okay. No, the variable in sDesign is not in the matrix with the environmental covariates. |
Beta Was this translation helpful? Give feedback.
OK. There is little to be done; sensitivity of the model to the initial values does occur. Either how, you should pick the model here with the lowest AIC! It looks like the answers from either model would be similar, but the estimated latent variables differ a bit. Just to double check; does zb$x include the variable that is in sDesign by any chance? Because that would definitely cause trouble!