Skip to main content
7 events
when toggle format what by license comment
Sep 16, 2021 at 2:02 comment added Burton Guster Yes - I have given them numbers instead of characters, however I also defined vegcat as a factor. Does this change whether the vegcat is being ordered?
Sep 16, 2021 at 1:27 comment added Chris If you were to simply encode the classes as numeric (IE 1, 2, ..) you would define an ordering over vegcat. Maybe that's right (but from what I know about vegcat it is not). Thus you have k variables each of which is either 0 or 1. You need to one-hot encode.
Sep 16, 2021 at 1:21 comment added Burton Guster I see. And with regards to the GLMM - is it possible to run the model with my data as is (forgetting the correlation question for a moment), or is it necessary for me to one-hot encode it? Thank you for your helpful responses!
Sep 16, 2021 at 1:02 comment added Chris One way or another you are dealing with multiple variables. Will need to expand your methods.
Sep 16, 2021 at 1:01 comment added Chris Have a look at one-hot-encoding.
Sep 16, 2021 at 1:00 comment added Burton Guster Apologies, I don't totally understand your answer. You mean I need a column each for S, M, and T, filled with either 0 or 1, and do a spearman rho for "column S & 50m_short_veg", and another spearman rho test for "column M & 50m_short_veg", and another spearman rho test for "column T & 50m_short_veg"?
Sep 16, 2021 at 0:44 history answered Chris CC BY-SA 4.0