I apologise as I am very new to this package and I really appreciate any help I can get.
I have a brms model with a categorical response variable (Species) with the following formula, running a multinomial logistics regression (I believe).
Species ~ Density_1 + Density_2 + Canopy_Height + Soil_texture + pH + (1 \| Fragment).
All the explanatory variables are continuous and represent different habitat characteristics for six different plant species. I want to see which variables are correlated with the presence of which species. I need now to conduct some post hoc analysis for this model since the first species was used as the intercept and I am unable to see the effect of the habitat variables on this first species. I have tried using emmeansand bayestestR but neither seem compatible with the categorical brmsfit object. Any suggestions for what I can do ?
Below is my model code:
model1_07<- brm(Species ~
Density_1 +
Density_2 +
Canopy_Height +
Soil_texture +
pH
+ (1 | Fragment)
, data = df_scaled_use,
family = categorical(),
iter = 10000, #may need to have upwards of 10000
# burn =
thin=1,
save_pars = save_pars(all = TRUE))
Hi brms community!
I apologise as I am very new to this package and I really appreciate any help I can get.
I have a brms model with a categorical response variable (
Species
) with the following formula, running a multinomial logistics regression (I believe).Species ~ Density_1 + Density_2 + Canopy_Height + Soil_texture + pH + (1 \| Fragment)
.All the explanatory variables are continuous and represent different habitat characteristics for six different plant species. I want to see which variables are correlated with the presence of which species. I need now to conduct some post hoc analysis for this model since the first species was used as the intercept and I am unable to see the effect of the habitat variables on this first species. I have tried using
emmeans
andbayestestR
but neither seem compatible with the categorical brmsfit object. Any suggestions for what I can do ?Below is my model code:
Here is my model output if that is helpful:
On a side note, I have been using
conditional_effects()
too. Many many thanks!