I ran a GLMM to check the increase or decrease of the dependent variable on two fixed effects (condition "Presence and condition "Absence") as:
model <- glmer(Variable ~ Condition + (1|ID), weights = Session,
family=binomial, data)
It gave something like the following
Estimate Std. Error z value Pr(>|z|)
(Intercept) -9.914 1.195 -8.30 <2e-16 ***
Presence 0.755 0.274 2.76 0.0058 **
Looking at the positive z value, I would say that "Presence" increases in relation to "Absence" since. However, the visualization of the conditions frequencies shows the opposite:
Does someone have an idea of what is happening here?