anova.gllvm nested models and coefplot species coefficients #114
-
Hi there! In addition to a Procrustes correlation + test between my unconstrained and concurrent ordinations, I would also like to implement a likelihood-ratio test to compare the two (the more evidence the merrier!). Would an unconstrained ordination be considered nested within a concurrent ordination if all setting remained the same (i.e. same Also as a separate question, is there any way to extract the taxa coefficient for environmental variables that are used in the Thank you, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Thanks for another excellent question, Mike. Unconstrained and concurrent ordination are nested, constrained and concurrent ordination are nested, unconstrained and constrained ordination are not nested. So it should be fine to compare your unconstrained and concurrent ordinations with a likelihood ratio test! You can extract the taxa coefficients as: |
Beta Was this translation helpful? Give feedback.
-
@BertvanderVeen Great, thank you for your quick response and code! I appreciate all the help you've provided me and hopefully others will benefit from seeing these posts! Have a great rest of your week, Mike Kratz |
Beta Was this translation helpful? Give feedback.
Thanks for another excellent question, Mike. Unconstrained and concurrent ordination are nested, constrained and concurrent ordination are nested, unconstrained and constrained ordination are not nested. So it should be fine to compare your unconstrained and concurrent ordinations with a likelihood ratio test!
You can extract the taxa coefficients as:
model$params$LvXcoef%*%t(model$params$theta)
and their standard errors witht(gllvm:::RRse(model))
.