Skip to content
Prev 1514 / 5636 Next

[R-meta] Fixed Intercept in mixed effect models Interpretation

Dear Benedikt

See comments in-line below
On 13/04/2019 11:42, Graf, Benedikt wrote:
You have told R to fit a model without intercept so you will get one 
coefficient for each level of Context. Your Alternative would be to 
remove the -1 and get the intercept and one fewer coefficient for 
Context. This is not explicitly something to do with metafor, it is how 
linear model functions like lm() and glm() work. Try it and see, you 
will not break anything.

One thing to note is that if you test the moderator variable with the 
two models you are testing two different hypotheses. The way you are 
doing it tests whether the estimated effect is equal to zero, the other 
way tests whether the estimated effect is the same for each level of 
Context.
Have you actually coded Sex as a factor? It would be much better to do 
so if not.