Signature
sigma2_t = sigma_b2 + sigma_w2; rho = sigma_b2 / sigma2_t
| Inputs | Definition | Unit |
|---|---|---|
sigma_b2 | Variance of the true cluster means around the overall mean, sigma_b squared in the article; zero or above | square of the outcome's unit |
sigma_w2 | Variance between individuals within a cluster, sigma_w squared in the article; zero or above | square of the outcome's unit |
sigma2_t | Sum of the between-cluster and within-cluster variances; above zero | square of the outcome's unit |
|---|---|---|
rho | Share of the total variance that lies at the cluster level; at least 0 and at most 1 | proportion |
Function
Intracluster correlation of costs or outcomes from variance components and mean squares
Maps the variance of a cost or an outcome between and within clusters, or the mean squares of a one-way analysis of variance, to the intracluster correlation coefficient and a confidence interval for it. HE-AS-BINOM-002 states the independence that fails under clustering for a count, and HE-AS-AN-002 asks for cluster-robust standard errors in a Wald interval. The design effect and the effective sample size that follow from rho sit on the Design Effect concept and are not restated here. Incremental net benefit and its standard error in the article's worked example are HE-FM-AN-004 with Cov_CE of 0, and the article's step 4 is the same record with each standard error multiplied by the square root of its design effect (derived), so that step is a citation and not a new formula. Notation follows the Cluster Effect article.
Try this function
Implementations
Excel
Intracluster correlation from two named variance cells
With inputs in cells named BetweenClusterVar and WithinClusterVar, the two formulas fill cells named TotalVariance and IntraclusterCorr. A blank BetweenClusterVar is treated as 0 and returns 0, a blank WithinClusterVar is treated as 0 and returns 1, and two blanks return #DIV/0!.
=BetweenClusterVar+WithinClusterVar; =BetweenClusterVar/TotalVariance
Assumptions
Individuals nested in one level of clusters for one outcome
Individuals sit in clusters with no further level, which Killip and colleagues call the simplest type of nesting, noting that multilevel clustering has its own statistics. Both variances refer to the same cost or outcome on the same scale.
Cluster variance taken within each arm of a cluster trial
In a cluster randomised trial, sigma_b2 is the variance of cluster means around the mean of their own arm. Gomes and colleagues describe their random terms as differences in the cluster mean costs and outcomes from the overall means in each treatment group, and set the cost correlation as the cluster variance over the sum of the individual and cluster variances. A difference between arms is therefore not part of sigma_b2 (derived).
Both variances zero or above with a positive total
The ratio is defined when sigma2_t is above zero, and rho is then at least 0 and at most 1 (derived). Killip and colleagues note that rho approaches 1 as the within-cluster variance moves towards 0.
Proportion scale and logistic scale kept apart for binary outcomes
Wu and colleagues give a random intercept logistic model in which the individual variance is fixed at pi squared over 3 and the result is on the logistic scale, while their analysis of variance estimator is on the proportion scale. A value on one scale is therefore not read as a value on the other.
Worked examples
Illustrative cost variances giving a correlation of 0.05
Illustrative variances in squared pounds, chosen so that the result equals 0.05, the median for costs used in the final case of the simulation by Gomes and colleagues and in the article's example.
sigma_b2 = 25000; sigma_w2 = 475000; sigma2_t = 500000; rho = 0.05
Illustrative QALY variances giving a correlation of 0.02
Illustrative variances in squared QALYs, chosen so that the result equals 0.02, the median for outcomes in the same final case. The total corresponds to a standard deviation of 0.1 QALYs.
sigma_b2 = 0.0002; sigma_w2 = 0.0098; sigma2_t = 0.01; rho = 0.02
Limiting case of no between-cluster variance
With no variance between cluster means, people in a cluster are no more alike than people in different clusters. The figures are illustrative and the case checks an implementation.
sigma_b2 = 0; sigma_w2 = 475000; sigma2_t = 475000; rho = 0
Limiting case of no within-cluster variance
With no variance within clusters all responses in a cluster are identical, the theoretical case that Killip and colleagues describe. The figures are illustrative and the case checks an implementation.
sigma_b2 = 25000; sigma_w2 = 0; sigma2_t = 25000; rho = 1
Common errors
Intracluster correlation computed from standard deviations
The ratio uses variances. With standard deviations of about 158.11 and 689.20, the square roots of the first worked example's variances, the ratio is 0.1866 in place of 0.05, about 3.7 times too high (derived).
Between-cluster variance divided by the within-cluster variance alone
Leaving the between-cluster variance out of the denominator gives a variance ratio, not a share. The slip looks small at low values, 0.0526 in place of 0.05, but at 0.3, the top of the sensitivity range in Gomes and colleagues, it returns 0.4286, and it has no upper limit of 1 (derived).
One correlation applied to costs and to QALYs
Costs can cluster more strongly than outcomes, and the final-case medians of Gomes and colleagues were 0.05 for costs and 0.02 for outcomes. Applying the QALY value to costs in the article's example of 30 patients per practice gives a design effect of 1.58 in place of 2.45, and an effective size of 569.6 in place of 367.3 of the 900 patients.
Cost and outcome correlations read as the intracluster correlation
In the multilevel model of Gomes and colleagues the symbols rho and psi are the individual-level and cluster-level correlations between costs and outcomes, with final-case values of minus 0.2 and 0.1 in their Table 1. Neither is the correlation here, whose final-case value for costs in the same table is 0.05.
Sources
Killip and colleagues on the intracluster correlation as a variance ratio
Killip S, Mahfoud Z, Pearce K. What is an intracluster correlation coefficient? Annals of Family Medicine. 2004;2(3):204-208. doi:10.1370/afm.141. Section The Intracluster Correlation Coefficient, or rho, equation 1, prints ICC or rho as s_b squared over the sum of s_b squared and s_w squared (read on the rendered equation image) and defines it as the between-cluster variability divided by the sum of the within-cluster and between-cluster variabilities. The same section says that rho approaches 1 as the within-cluster variance moves towards 0 and that a value of 0 shows no correlation of responses within a cluster. Section Definition and Explanation of Clustered Designs calls clustering the simplest type of nesting, using only 2 levels of data, and says multilevel clustering has specific statistics.
Gomes and colleagues on the cost correlation and final-case medians
Gomes M, Ng ES, Grieve R, Nixon R, Carpenter J, Thompson SG. Developing appropriate methods for cost-effectiveness analysis of cluster randomized trials. Medical Decision Making. 2012;32(2):350-361. doi:10.1177/0272989X11418372. The opening section says the coefficient reports the proportion of the overall variation that is at the cluster level. Section Data-generating process, under Monte Carlo Simulations, sets ICC for costs as tau_c squared over the sum of sigma_c squared and tau_c squared. Table 1 gives final-case values of 0.05 for costs, the median from case studies, and 0.02 for outcomes, the median from the literature review, with a sensitivity range of 0 to 0.3, and final-case correlations of costs and effects of minus 0.2 at the individual level and 0.1 at the cluster level. Section Multilevel Models describes the random terms and the parameters rho and psi.
CONSORT cluster extension on the share of variance between clusters
Campbell MK, Piaggio G, Elbourne DR, Altman DG. Consort 2010 statement: extension to cluster randomised trials. BMJ. 2012;345:e5661. doi:10.1136/bmj.e5661. Box 2, Methodological considerations in cluster randomised trials, states that the intracluster correlation coefficient is the proportion of the total variance of the outcome that can be explained by the variation between clusters.
Wu and colleagues on the proportion and logistic scales of the correlation
Wu S, Crespi CM, Wong WK. Comparison of methods for estimating the intraclass correlation coefficient for binary responses in cancer prevention cluster randomized trials. Contemporary Clinical Trials. 2012;33(5):869-880. doi:10.1016/j.cct.2012.05.004 (author manuscript read in PubMed Central, PMC3426610, with section and equation numbers from that version). Section Methods of Estimating the ICC, subsection (5) ICC Estimation from the Random Intercept Logistic Model, equation 9, gives the between-cluster variance over its sum with pi squared over 3, and states that this estimator is on the logistic scale whereas the other estimators are on the proportion scale.
Canonical Identity
Stable URI · Machine-readable · Resolvable · CC BY 4.0
