I-squared from a between-study variance and the typical within-study variance

Summarises the precision of the studies in one typical within-study variance v_typ, built from the sums of the common-effect weights, and returns tau2 as a percentage of tau2 plus v_typ. This is the form RevMan implements, where tau2 may come from restricted maximum likelihood or from HE-FM-ADMA-004. With the DerSimonian and Laird estimate it returns the same value as HE-FM-ADMA-003, as the Cochrane Handbook states, so the record adds something when another estimator supplies tau2 or when the question is what study precision does to the statistic. As trials grow v_typ shrinks while tau2 does not, so the percentage climbs towards 100 with no change in the spread of true effects, the weakness the article sets out.

Signature

v_typ = (k - 1) * W_1 / (W_1^2 - W_2); I2_v = tau2 / (tau2 + v_typ) * 100
Inputs
InputsDefinitionUnit
kNumber of studies in the meta-analysis, at least 2count
W_1Sum over the studies of the common-effect weight 1/v_i, with v_i the variance of HE-VR-ADMA-004reciprocal of the squared effect scale
W_2Sum over the studies of the squared weight 1/v_i^2reciprocal of the effect scale to the fourth power
tau2Estimated between-study variance, at least 0, from restricted maximum likelihood, HE-FM-ADMA-004 or another estimatorsquared units of the effect scale
Output
v_typOne variance that stands for the sampling variance of the studies as a groupsquared units of the effect scale
I2_vBetween-study variance as a percentage of the between-study plus typical within-study variancepercent, at least 0 and below 100

Function

Variance-based I-squared and test-based limits of H and I-squared in a meta-analysis

Maps the number of studies, the sums of their common-effect weights and a between-study variance from any estimator to a typical within-study variance and an I-squared, and maps Cochran's Q and the number of studies to H and to uncertainty limits for H and I-squared. Its inputs come from live records, Cochran's Q from HE-FM-ADMA-002 and the DerSimonian and Laird between-study variance from HE-FM-ADMA-004, and the point I-squared from Q is HE-FM-ADMA-003. The random-effects mean is HE-FM-ADMA-005 and the prediction interval that carries the article's argument for decision makers is HE-FM-ADMA-006, whose t multiplier HE-VR-ADMA-029 uses k-1 degrees of freedom; the k-2 variant in the article changes only that multiplier. Notation follows the Between-Study Heterogeneity article, with v_typ for its typical within-study variance.

Try this function

Implementations

  • Excel

    Typical within-study variance and I-squared in named cells

    With the study variances in a range named StudyVar, the number of studies in NStudies and the between-study variance in BetweenVar, the first two formulas return the weight sums for cells named SumWeights and SumSqWeights, the third returns the typical variance for a cell named TypicalVar and the fourth the percentage for a cell named ISqVariance. A blank or zero cell in StudyVar returns #DIV/0! in the weight sums, because the blank is treated as 0 inside the division.

    =SUMPRODUCT(1/StudyVar); =SUMPRODUCT(1/StudyVar^2); =(NStudies-1)*SumWeights/(SumWeights^2-SumSqWeights); =BetweenVar/(BetweenVar+TypicalVar)*100

Assumptions

  • Between-study variance supplied by the analyst's chosen estimator

    tau2 is estimated outside this formula. The Cochrane Handbook gives the form for tau2 from restricted maximum likelihood or the DerSimonian and Laird method, and Bowden and colleagues define it for any estimate of the between-study variance. The DerSimonian and Laird estimate always reproduces HE-FM-ADMA-003, because v_typ is k-1 divided by the scaling term of HE-FM-ADMA-004 (derived, 0 mismatches on a grid of 376,247 cases with Q above zero). Another estimator returns the same value only when its tau2 equals that estimate, for example restricted maximum likelihood with every v_i equal, or a low Q that sets both to 0 (metafor 5.2.1, one case of each, computed here). With Q at or below k-1 the DerSimonian and Laird estimate is 0 and the result is 0%.

  • Common-effect weights inside the typical variance

    W_1 and W_2 use the weights 1/v_i of HE-AS-ADMA-003, not the random-effects weights of HE-FM-MREG-002. With at least two studies and every v_i above zero, W_1^2 exceeds W_2 and the denominator is above zero (derived). A single study makes both numerator and denominator 0, and the calculator and Excel return an error (#DIV/0! in Excel).

  • Point value that carries no uncertainty from tau2

    I2_v is a point value and each v_i is treated as known, as in HE-AS-ADMA-002. The Cochrane Handbook's mandatory standard records much uncertainty in I-squared and tau-squared when studies are few and says simple thresholds should be avoided. HE-FM-BSH-002 gives limits for the value from Q, and those limits do not depend on which estimator supplied tau2.

Worked examples

  • Nine equally sized trials with typical variance 0.0176

    The article's illustrative nine trials, each with within-study variance 0.0176 and a between-study variance of 0.04. With equal variances the typical variance is the common variance, and the result is the article's 69.4%.

    k = 9; W_1 = 511.3636; W_2 = 29054.7521; tau2 = 0.04; v_typ = 0.0176; I2_v = 69.4
  • The nine trials made four times larger

    The article's illustrative step 5. Each trial is four times larger, so the within-study variance falls to 0.0044, and tau2 stays at 0.04. The result rises to the article's 90.1% although the spread of true effects has not changed.

    k = 9; W_1 = 2045.4545; W_2 = 464876.0331; tau2 = 0.04; v_typ = 0.0044; I2_v = 90.1
  • Three unequal trials with the DerSimonian and Laird estimate

    The illustrative variances of HE-EX-ADMA-003, 0.04, 0.01 and 0.0625, give weights of 25, 100 and 16 and the tau2 of HE-EX-ADMA-006. The result equals the 70.9% that HE-EX-ADMA-004 obtains from Q.

    k = 3; W_1 = 141; W_2 = 10881; tau2 = 0.07625; v_typ = 0.03133; I2_v = 70.9
  • Three unequal trials with a restricted maximum likelihood estimate

    The same illustrative trials with the restricted maximum likelihood estimate of tau2, 0.06577, computed here with the rma function of the metafor package version 5.2.1 from the estimates and variances of HE-EX-ADMA-003. The typical variance is unchanged and the result is 67.7%, which HE-FM-ADMA-003 cannot return because Q is the same.

    k = 3; W_1 = 141; W_2 = 10881; tau2 = 0.06577; v_typ = 0.03133; I2_v = 67.7
  • Limiting case of no estimated between-study variance

    Illustrative limiting case with the same three trials. When tau2 is 0 the result is 0% whatever the typical variance, as the Cochrane Handbook notes for any estimator.

    k = 3; W_1 = 141; W_2 = 10881; tau2 = 0; v_typ = 0.03133; I2_v = 0

Common errors

  • Plain mean of the variances taken as the typical variance

    The typical variance is not the average of the v_i. For the variances of HE-EX-BSH-003 the plain mean is 0.0375 against a v_typ of 0.0313, so a tau2 of 0.07625 gives 67.0% instead of 70.9% and no longer matches HE-FM-ADMA-003.

  • Expecting every reported I-squared to match the Q formula

    The Cochrane Handbook gives restricted maximum likelihood as the RevMan default. For the trials of HE-EX-BSH-004 that estimate gives 67.73% and the Q formula 70.88%, a gap of 3.14 points that comes only from the choice of estimator. Recomputing a published value with HE-FM-ADMA-003 and calling the difference an error misses this.

  • Standard errors entered as variances in the weight sums

    Entering the standard errors 0.2, 0.1 and 0.25 of HE-EX-BSH-003 where variances belong gives W_1 of 19, W_2 of 141 and a v_typ of 0.1727, so a tau2 of 0.07625 returns 30.6% instead of 70.9%.

  • Reading a rise with trial size as more real variation

    In HE-EX-BSH-001 and HE-EX-BSH-002 the value moves 20.6 points with tau2 fixed at 0.04. Rücker and colleagues report that as precision increases, estimates of tau-squared remain unchanged on average while I-squared rises to nearly 100%. The size of the spread is read on tau, and HE-ER-ADMA-004 records the related misreading of I-squared as an amount.

Sources

  • Cochrane Handbook on the RevMan formula for I-squared

    Deeks JJ, Higgins JPT, Altman DG, McKenzie JE, Veroniki AA (editors). Chapter 10: Analysing data and undertaking meta-analyses (last updated November 2024). In: Higgins JPT, Thomas J, Chandler J, et al (editors). Cochrane Handbook for Systematic Reviews of Interventions version 6.5. Cochrane; 2024. Section 10.10.4.4, which gives the formula implemented in RevMan as Tau2 divided by Tau2 plus SE2, times 100%, with Tau2 from either the REML or DerSimonian and Laird method and SE2 the estimated typical within-study variance. It states that the result is 0% when Tau2 is 0 whatever the method, that it equals the value from Cochran's Q when the DerSimonian and Laird method is used, and that REML is the RevMan default. The mandatory standard on thresholds is MECIR C63 in the same chapter.

    View source →

  • Bowden and colleagues on the typical within-study variance and a generalised I-squared

    Bowden J, Tierney JF, Copas AJ, Burdett S. Quantifying, displaying and accounting for heterogeneity in the meta-analysis of RCTs using standard and generalised Q statistics. BMC Medical Research Methodology. 2011;11:41. Section Heterogeneity quantification using the standard Q-statistic, the text after formula (4), which defines s squared as the sum of the precisions W_i times (M-1), divided by the squared sum of W_i minus the sum of W_i squared, and calls it the typical within study variance. Section Heterogeneity quantification using a 'generalised' Q-statistic, the unnumbered expression tau squared over tau squared plus s squared, for any estimate of the between study variance.

    View source →

  • Rücker and colleagues on I-squared and study precision

    Rücker G, Schwarzer G, Carpenter JR, Schumacher M. Undue reliance on I2 in assessing heterogeneity may mislead. BMC Medical Research Methodology. 2008;8:79. Abstract, which reports that as precision increases, estimates of the heterogeneity variance remain unchanged on average while estimates of I-squared increase rapidly to nearly 100%. Section Methods lists H squared and R squared with the typical within-study variance.

    View source →

Canonical Identity

This formula is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).

Author: Dr Darrin Baines · Publisher: Intelligent Parameters Ltd · Identifier: https://healtheconomics.wiki/formula/i-squared-from-a-between-study-variance-and-the-typical-within-study-variance

I-squared from a between-study variance and the typical within-study variance | HealthEconomics.wiki