Skip to content
Prev 4902 / 5636 Next

[R-meta] Difference between subset (in a loop) and mods in metafor rma.mv

Dear Brendan,

Both approaches fit multilevel models. The difference arises because of two reasons:

1) When using the full dataset and using 'Predictor' as a moderator, then it is possible for information to be shared/borrowed from both levels of the moderator within studies. 

2) When subsetting based on 'Predictor', you allow the variance components to differ across the two levels of the moderator. This is essentially what is discussed here:

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

but in the context of a simpler model.

Best,
Wolfgang
Message-ID: <1908b21094dc425abfff388192da4226@maastrichtuniversity.nl>
In-Reply-To: <fIfSRRMzFrWRvOdZVkqSukE2VgluGEjoXbdErjGGvI0d_ov_LBuvb5UxW9d3EzQrqY5w56On_-HG1VIMltaPHFmh9Idxn1fdZz42m0NQwGE=@brendans-bits.com>