I2 (I-squared) for mulilevel meta-analytic models, based on Nakagawa & Santos (2012). Under multilevel models, we can have multiple I2 (see also Senior et al. 2016). Alternatively, the method proposed by Wolfgang Viechtbauer can also be used.
Usage
i2_ml(model, method = c("ratio", "matrix"), data, boot = NULL)
Arguments
- model
Model object of class
rma.mv
orrma
. Currently only model objects using themods
argument work (e.g.,mod = ~1
).- method
Method used to calculate I2. Two options exist: a ratio-based calculation proposed by Nakagawa & Santos (
"ratio"
), or Wolfgang Viechtbauer's matrix method ("matrix"
).- data
Data frame used to fit the model.
- boot
Number of simulations to run to produce 95 percent confidence intervals for I2. Default is
NULL
, where only the point estimate is provided.