[R-meta] Metafor Fixed Effects giving I2- why?
Viechtbauer, Wolfgang (SP)
wo||g@ng@v|echtb@uer @end|ng |rom m@@@tr|chtun|ver@|ty@n|
Mon Jul 29 19:56:50 CEST 2019
Indeed, for random/mixed-effects models, I^2 is computed with tau^2 / (tau^2 + v), where tau^2 is the estimate of (residual) heterogeneity and v is the 'typical' sampling variance. So, if tau^2 = 0, then I^2 = 0.
Since I^2 is a useful statistic also for fixed-effects models, I^2 is also computed then, but using (Q - (df)) / Q, where Q is the test statistic for (residual) heterogeneity and df = degrees of freedom of the test (k-1 for a model without moderators). But this has no effect on the rest of the computations (such as the weights).
From: R-sig-meta-analysis [mailto:r-sig-meta-analysis-bounces using r-project.org] On Behalf Of Aman Dheri
Sent: Monday, 29 July, 2019 19:11
To: r-sig-meta-analysis using r-project.org
Subject: [R-meta] Metafor Fixed Effects giving I2- why?
I am doing a fixed effects meta-analysis in Metafor and I see that it returns a non-zero I^2 value when tau^2 is always zero. According to Metafor documentation the fixed effects model in rma.uni should be 0 because of its calculation from the tau^2. Does any one know why this is happening, and if it is changing the weighting during the meta-analysis vs if the I^2 was 0?
I assumed my code wasn’t needed for the answer to this but please let me know if I’m wrong!
More information about the R-sig-meta-analysis