Signature
DEFF_c = 1 + (m - 1) * rho; DEFF_w = DEFF_c * (1 + CV_w^2)
| Inputs | Definition | Unit |
|---|---|---|
m | Number of people per cluster, 1 or more, the same in every cluster or the WHO target average | people per cluster |
rho | Intracluster correlation coefficient, the proportion of total outcome variance explained by variation between clusters, at least 0 and at most 1 | proportion |
CV_w | Standard deviation of the survey weights divided by their mean, zero when all weights are equal | ratio |
DEFF_c | Clustering term of the design effect, for clusters of equal size | ratio |
|---|---|---|
DEFF_w | Clustering term multiplied by the weighting term | ratio |
Function
Design effect of a clustered or weighted sample and the effective sample size it implies
Maps the variance of an estimate under a complex sample, or the cluster size, intracluster correlation and survey weights behind that variance, to the design effect, its square root, the effective sample size and the sample size a precision target needs. The simple random sample variance of a proportion is the square of SE_p in HE-FM-BINOM-004, and the independence assumption of a binomial count, HE-AS-BINOM-002, fails under clustering. An interval around a survey estimate is HE-FM-AN-001 with the inflated standard error. A beta distribution for a clustered survey proportion is HE-FM-BETA-003 with that inflated standard error, and its parameters then sum to the effective sample size minus 1 (derived), so neither is restated here. The prevalence itself under survey weights is HE-FM-XSD-001. Notation follows the Design Effect article.
Try this function
Implementations
Excel
Clustering and weighted design effects from named planning cells
With inputs in cells named ClusterSize, IntraclusterCorrelation and WeightCoefVariation, the two formulas fill cells named ClusterDesignEffect and WeightedDesignEffect. A blank WeightCoefVariation is treated as 0, so the second cell returns the first. A blank ClusterSize is also treated as 0 and returns 1 minus rho with no error, 0.95 at rho of 0.05.
=1+(ClusterSize-1)*IntraclusterCorrelation; =ClusterDesignEffect*(1+WeightCoefVariation^2)
Assumptions
Clusters of equal size in the clustering term
CONSORT states the factor for a cluster size assumed to be the same for all clusters. Rutterford and colleagues report that using the mean size when sizes vary underestimates the required sample size, and they recommend adjustment when the coefficient of variation of cluster size is greater than 0.23, for which HE-FM-DESE-003 applies.
Planning values of the intracluster correlation and weight spread matched to the analysis
CONSORT notes that rho is often not known when a trial is planned, is only estimated with error afterwards, and cannot be defined for time to event data, while Rutterford and colleagues still list the simple design effect for time-to-event outcomes. The WHO manual suggests an observed figure from a recent survey in the study area or a conservative value slightly larger than expected, and without weights from a similar survey it says a CV_w of 0.3 to 0.7 may suffice, so that the weighting term falls between 1.1 and 1.5. Rutterford and colleagues call a baseline value of the outcome as a covariate arguably the strongest factor reducing the correlation, so a published value is matched to the planned analysis.
Worked examples
Twenty patients per practice with an intracluster correlation of 0.05
The article's illustrative practice survey has equal weights, so both parts give 1.95. With 600 patients HE-FM-DESE-001 then gives an effective sample size of about 308.
m = 20; rho = 0.05; CV_w = 0; DEFF_c = 1.95; DEFF_w = 1.95
Same practice survey with a weight coefficient of variation of 0.4
The article's illustrative case multiplies 1.95 by 1.16 to give 2.262, shown as 2.26 in the article. With 600 patients the effective sample size falls to about 265.
m = 20; rho = 0.05; CV_w = 0.4; DEFF_c = 1.95; DEFF_w = 2.262
Limiting case of one person per cluster
With one person per cluster there is no within-cluster correlation to pay for, so both parts return 1 whatever rho is. The figures are illustrative and the case checks an implementation.
m = 1; rho = 0.05; CV_w = 0; DEFF_c = 1; DEFF_w = 1
Common errors
Fixed design effect of 2 carried across cluster sizes
The WHO manual calls the 2005 assumption of a design effect of 2 for every survey misleading, because the value changes with the respondents per cluster. At rho of 0.05 the first part gives 1.45 at m of 10 and 2.95 at m of 40. A planner assuming 2 at m of 40 and a simple random sample of 801 would aim for 1,602 people where 2,362.95 are needed.
Small intracluster correlation dismissed when clusters are large
CONSORT notes that rho is typically small, often below 0.05, but that its effect can be considerable if clusters are large. With an illustrative m of 100 and rho of 0.01, DEFF_c is 1.99, so the sample nearly doubles for a correlation that looks negligible.
Weighting term dropped from a weighted cluster survey
Using only the clustering term for a survey with unequal weights understates the inflation. In the article's case 1.95 is used in place of 2.262, and the effective sample size of 600 people reads 307.7 in place of 265.3 (derived).
Sources
CONSORT cluster extension on the design effect for equal 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, defines the intracluster correlation coefficient as the proportion of the total variance of the outcome explained by variation between clusters, gives the inflation factor or design effect 1 + (m minus 1) rho for a cluster size assumed the same for all clusters, and says rho is typically small, often below 0.05, with considerable impact if clusters are large, and cannot be defined for time to event data.
Rutterford and colleagues on the simple design effect and the choice of correlation
Rutterford C, Copas A, Eldridge S. Methods for sample size determination in cluster randomized trials. International Journal of Epidemiology. 2015;44(3):1051-1067. doi:10.1093/ije/dyv113. Equation 1 prints the design effect 1 + (n minus 1) rho with n the individuals per cluster and credits the proposal to Donner, Birkett and Buck. The section Measuring variability between clusters identifies a baseline value of the outcome as a covariate as arguably the strongest factor reducing the correlation. The Discussion lists continuous, binary, count and time-to-event outcomes for the simple design effect when cluster size is assumed constant.
WHO cluster survey manual on the clustering and weighting terms
World Health Organization. Vaccination Coverage Cluster Surveys: Reference Manual. WHO/IVB/18.09. Geneva, World Health Organization; 2018. Annex B1 step 3 prints DEFF = [1 + (m minus 1) x ICC][1 + CVw squared], repeated as equation B3-11, and suggests a CVw of 0.3 to 0.7 when no similar survey's weights are available. Table C near the end of Annex B1 lists the clustering term for selected m and ICC values. Annex B1 section B1.1, Changes to the 2005 sample size guidance, calls the 2005 assumption of a design effect of 2 misleading.
Canonical Identity
Stable URI · Machine-readable · Resolvable · CC BY 4.0
