Skip to content
Prev 2490 / 5636 Next

[R-meta] Meta-analytical test of mediation model including dependent tests - looking to resolve metafor issue or find alternative approach

Dear Lukas,

It is to be expected that the results from separate analyses will differ from the multilevel model. This issue, albeit in a somewhat different modeling context, is discussed here:

http://www.metafor-project.org/doku.php/tips:comp_two_independent_estimates

Also, 1/N is not quite the way the sampling variances for correlation coefficients should be calculated, but given that the correlations are not so large, this is probably not going to matter that much. One can also debate whether one should meta-analyze raw correlation coefficients, but let's leave this issue aside for now.

But the results don't look strange to me. It's also a rather small dataset, so changes in the modeling approach can lead to noticeably different results.

I am not sure if I would agree with the general approach here to deal with the multilevel structure though. Let's take the first study:

 1 UK_mediation affective pos_att -0.38  0.00446 
 2 UK_mediation cognitive pos_att -0.2   0.00446 
 3 UK_mediation affective neg_att  0.18  0.00446 
 4 UK_mediation cognitive neg_att  0.21  0.00446

So, as far as I can tell, there are 4 variables that were measured in this study: affective, cognitive, pos_att, and neg_att. If so, there should be 6 correlations in total, but you are showing only 4 of them. If one would also know the affective-cognitive and the pos_att-neg_att correlations, then one can construct the whole 6x6 var-cov matrix of the 6 correlations (or their r-to-z transformed values). The 'devel' version of metafor has a function for this called rcalc():

https://wviechtb.github.io/metafor/reference/rcalc.html

One can then use a 'proper' multivariate model. See here for an example:

https://wviechtb.github.io/metafor/reference/dat.craft2003.html

However, with 5 studies, I might even just consider using a model with a properly constructed V matrix and no further random effects. There doesn't seem to be a huge amount of heterogeneity in these data in the first place.

Best,
Wolfgang