The metafor Package

A Meta-Analysis Package for R

User Tools

Site Tools


tips:weights_in_rma.mv_models

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
tips:weights_in_rma.mv_models [2021/12/20 15:46] Wolfgang Viechtbauertips:weights_in_rma.mv_models [2023/08/03 13:37] (current) Wolfgang Viechtbauer
Line 91: Line 91:
 ==== Models Fitted with the rma.mv() Function ==== ==== Models Fitted with the rma.mv() Function ====
  
-Models fitted with the ''rma.mv()'' will typically be more complex than those fitted with ''rma()''.((But see [[tips:rma.uni_vs_rma.mv|here]] for a discussion of how ''rma.mv()'' can be used to fit the same models that can be fitted with ''rma()''.)) In particular, they will usually involve multiple random effects and possibly correlated sampling errors. See [[analyses:konstantopoulos2011|Konstantopoulos (2011)]] and [[analyses:berkey1998|Berkey et al. (1998)]] for two illustrative examples. I will use the former example to discuss how the weighting works in such models.+Models fitted with the ''rma.mv()'' function will typically be more complex than those fitted with ''rma()''.((But see [[tips:rma.uni_vs_rma.mv|here]] for a discussion of how ''rma.mv()'' can be used to fit the same models that can be fitted with ''rma()''.)) In particular, they will usually involve multiple random effects and possibly correlated sampling errors. See [[analyses:konstantopoulos2011|Konstantopoulos (2011)]] and [[analyses:berkey1998|Berkey et al. (1998)]] for two illustrative examples. I will use the former example to discuss how the weighting works in such models.
  
 The example involves studies that were conducted at schools that in turn were nested within a higher-ordering grouping variable (districts). This leads to a multilevel structure that we want to account for in the analysis. First, let's copy the data into ''dat'' (just to save some typing down the road) and examine the first 8 rows of the dataset. We see that there are 4 studies in the first and second district each. The example involves studies that were conducted at schools that in turn were nested within a higher-ordering grouping variable (districts). This leads to a multilevel structure that we want to account for in the analysis. First, let's copy the data into ''dat'' (just to save some typing down the road) and examine the first 8 rows of the dataset. We see that there are 4 studies in the first and second district each.
tips/weights_in_rma.mv_models.txt · Last modified: 2023/08/03 13:37 by Wolfgang Viechtbauer