Skip to content
Prev 3223 / 5632 Next

[R-meta] Asking for continuous moderating effects

Thanks. The problem stems from the random-effects model (which needs to be fit to compute R^2) not converging. We can see this if we actually fit the model:

res <- rma(rAB, vAB, data=sample_moderator)

We can get it to converge by increasing the number of iterations:

res <- rma(rAB, vAB, data=sample_moderator, control=list(maxit=1000))

And then we do the same in the meta-regression model:

res <- rma(rAB, vAB, mods = ~ M1, data=sample_moderator, control=list(maxit=1000))
res

And now you got the R^2 value.

This wasn't your question, and I don't know any of the details of this analysis, but since I can see the dataset now, I would have several concerns about this analysis.

First, it seems like there are really two studies, the first providing 16 correlations, the second providing one. I do not know if the N=34 for the first study always refers to the same 34 individuals, but if so, these correlations definitely cannot be treated as independent (which they are at this point). Even if there is no overlap of participants, it's a bit of an unusual data structure.

Second, the 16 correlations from the first study are really four times the same set of four correlations. That is also rather peculiar.

Finally, a bubble plot based on the meta-regression model (regplot(res)) shows that the entire relationship between 'M1' and 'rAB' hinges on that single correlation from the second study. plot(influence(res)) shows how influential that one data point is.

Again, I do not know any of the details, but these data look very strange, the conclusion (that there is a relationship between M1 and rAB) is not robust, and the analysis is probably ignoring important dependencies.

Best,
Wolfgang