Skip to content
Prev 318406 / 398503 Next

metafor - interpretion of QM in mixed-effects model with factor moderator

Please see my comments below.

Best,
Wolfgang
Not quite. Since you have removed the intercept, the two estimates reflect the estimated effect sizes (or to be precise, the estimated average effect sizes) for "animals" and "plants", respectively. The QM test is testing these two coefficients simultaneously, so it is testing the null hypothesis that the average effect sizes are both equal to 0. Since the test is significant, we can reject that null hypothesis. However, this does not test whether the effect is different for animals or plants.
Correct. Now you are testing whether the difference in the average effect for "plants" is different from the average effect for "animals". The estimated difference is 0.0218 (so the estimated average effect for plants is 0.4877 + 0.0218 = 0.5095 -- the same value as obtained from your first model), which is not significantly different from zero.

This is a nice example to illustrate that the common practice of subgrouping (whether it be in a meta-analysis or in a primary trial) and testing effects within subgroups can be misleading. Note that your first example indicates a significant effect for plants, but not for animals. If you were to fit a random-effects model just within the subset of studies with animals and just within the subset of studies with plants, you will probably obtain rather similar results as in your first model (the difference only arising from the fact that in your first model, tau^2 is estimated once, while two separate models within those two subgroups will also give you two separate values for tau^2). However, the difference in the effect is far from significant and that is in fact the proper test of this interaction.