Design effect as a variance ratio with its square root and effective sample size

Divides the variance of an estimate under the complex sample by its variance under a simple random sample of the same size. The square root, DEFT, is the factor by which the standard error grows, and the sample size divided by DEFF is the number of independent observations that would carry the same information. DEFF can fall below 1, so the US National Center for Health Statistics (NCHS) also caps the effective size at the actual size when it applies a minimum sample size rule. For a proportion V_SRS is the square of SE_p in HE-FM-BINOM-004, which makes n_eff equal to p (1 minus p) over V_design, the second form NCHS prints.

Signature

DEFF = V_design / V_SRS; DEFT = sqrt(DEFF); n_eff = n / DEFF; n_cap = min(n, n_eff)
Inputs
InputsDefinitionUnit
V_designVariance of the estimate allowing for clustering, stratification and weightingsquare of the estimate's unit
V_SRSVariance of the same estimate under a hypothetical simple random sample of the same size, above zerosquare of the estimate's unit
nUnweighted number of people behind the estimatepeople
Output
DEFFDesign variance of one statistic divided by its simple random sample variance, above zero and below 1 when the design gains precisionratio
DEFTSquare root of DEFF, the factor by which the standard error growsratio
n_effActual sample size divided by DEFF, the number of independent observations with the same precisionpeople
n_capThe smaller of n and n_eff, for use with minimum sample size rulespeople

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

    Design effect, its root and effective size from named variance cells

    With inputs in cells named DesignVariance, SrsVariance and SampleSize, the four formulas fill cells named DesignEffect, DesignEffectRoot, EffectiveSampleSize and CappedEffectiveSize in that order. A blank SrsVariance is treated as 0 and returns #DIV/0! in DesignEffect and every later cell.

    =DesignVariance/SrsVariance; =SQRT(DesignEffect); =SampleSize/DesignEffect; =MIN(SampleSize,EffectiveSampleSize)

Assumptions

  • One statistic and one stated comparison for a design effect

    DEFF belongs to one statistic on one variable, and NCHS notes that it can differ between variables and between demographic subgroups of the same survey. V_SRS must be for a simple random sample of the same size. NCHS explains that this phrase can be read in more than one way, so statistical packages may calculate the design effect differently, and it recommends the SUDAAN option DEFT2 for NHANES.

  • Design variance taken from the actual design in a finished analysis

    V_design comes from software that uses the actual strata, clusters and weights, which NCHS says should be used for all statistical tests and confidence limits. The ratio covers sampling variance only, so it does not correct bias from non-response, missing data or poor measurement. Precision also depends on the number of clusters. NCHS gives the design degrees of freedom as primary sampling units less strata, 15 for most two-year NHANES releases (30 PSUs less 15 strata), whatever the value of n_eff.

  • Effective sample size capped for minimum sample size rules and confidence intervals

    NCHS caps the effective size at the actual size when determining whether the minimum sample size criteria are met, and it applies the same cap to the degrees-of-freedom adjusted effective size in its confidence intervals. Its data presentation standards suppress an estimated proportion when either the actual or the effective sample size is below 30.

Worked examples

  • Practice survey of 600 patients with a design variance of 0.000609375

    The article's illustrative survey has 20 patients in each of 30 general practices, with 25% uncontrolled. V_SRS is the square of SE_p in HE-FM-BINOM-004, and V_design is the value for an intracluster correlation of 0.05 (HE-FM-DESE-002). The 95% Wald interval of HE-FM-AN-001 runs 21.5% to 28.5% when clustering is ignored and 20.2% to 29.8% when it is allowed for, about 40% wider, and the survey carries the information of about 308 independent patients.

    V_design = 0.000609375; V_SRS = 0.0003125; n = 600; DEFF = 1.95; DEFT = 1.3964; n_eff = 307.69; n_cap = 307.69
  • Illustrative design effect below 1 with the effective size capped

    With illustrative variances that make the design more precise than a simple random sample, DEFF is 0.8 and n_eff of 750 exceeds the 600 people actually sampled. The cap returns 600 for a minimum sample size rule.

    V_design = 0.00025; V_SRS = 0.0003125; n = 600; DEFF = 0.8; DEFT = 0.8944; n_eff = 750; n_cap = 600

Common errors

  • Reported DEFT read as if it were a design effect

    Some surveys, including the Demographic and Health Surveys, report DEFT, and the WHO manual divides the sample size by DEFT squared in that case. Dividing by DEFT itself overstates the information in the survey. With DEFT of 1.3964 and 600 people the wrong figure is 429.7 against the correct 307.7 (derived).

  • Beta distribution for a clustered proportion built on the raw sample size

    HE-FM-BETA-003 with mean 0.25 and s squared equal to the design variance 0.000609375, so s of about 0.0247, gives alpha of 76.67 and beta of 230.02, whose sum is n_eff minus 1 (derived). Using the raw 600 patients gives parameters summing to 599, close to Beta(150, 450), whose variance of 0.000312 is about 0.51 of the design variance 0.000609, so the model input is too narrow.

  • Design effect of one variable carried to another variable or subgroup

    A single value for a whole survey is a simplification. NCHS states that DEFF can be very different for different variables and for different demographic subgroups, so a value taken from one estimate says little about the variance of another.

  • Clustering ignored in a cost-effectiveness analysis because intracluster correlations are low

    In the Gomes and colleagues case study of 40 clinics and 1,851 patients, with intracluster correlations around 0.01, the standard error of incremental net benefit was GBP 286 when clustering was ignored and GBP 648 to GBP 733 under methods that allowed for it. Per-patient EVPI was GBP 114 against GBP 262 to GBP 293. The authors state that future studies should not justify ignoring clustering on the basis of low estimated intracluster correlations.

Sources

  • NCHS NHANES Variance Estimation tutorial on the design effect

    National Center for Health Statistics. NHANES tutorials, Variance Estimation module. Centers for Disease Control and Prevention (accessed 11 October 2026). The section Variance Estimation Within NHANES defines the design effect as the ratio of the variance that accounts for the complex sample design to the variance under a hypothetical simple random sample of the same size, prints that ratio, says the effective sample size is the sample size in a subgroup divided by DEFF, and calls it an attribute of a statistic on a particular variable. The same tutorial gives 15 degrees of freedom for most two-year releases (30 PSUs less 15 strata).

    View source →

  • NCHS NHANES Reliability of Estimates tutorial on the capped effective sample size

    National Center for Health Statistics. NHANES tutorials, Reliability of Estimates module. Centers for Disease Control and Prevention (accessed 11 October 2026). The section Sample Size and Effective Sample Size prints DEFF for a proportion as the design-based variance over p (1 minus p) / n and the effective size as the minimum of n and n / DEFF, equal to the minimum of n and p (1 minus p) / SE squared. It notes that DEFF can be below 1 and that packages differ in reading a simple random sample of the same size. The suppression rule for effective sizes below 30 is in the same module.

    View source →

  • WHO cluster survey manual glossary on DEFF, DEFT and effective sample size

    World Health Organization. Vaccination Coverage Cluster Surveys: Reference Manual. WHO/IVB/18.09. Geneva, World Health Organization; 2018. Annex A, glossary entries Design effect (DEFF) and Effective sample size, define DEFF as the ratio of the variance with the chosen type of sampling to the variance with the same sample size and simple random sampling, say that some surveys including the Demographic and Health Surveys report DEFT, the square root of DEFF, and define the effective sample size as the complex survey sample size divided by the design effect. Annex B3, Calculating the ESS from an old survey report, divides the sample size by DEFT squared when DEFT is reported.

    View source →

  • Gomes and colleagues on ignoring clustering in cost-effectiveness analysis

    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 case study reports 40 clinics, 1,851 patients and intracluster correlations around 0.01, Table 5 gives incremental net benefit standard errors and EVPI by method, and the Discussion advises against justifying methods that ignore clustering on the basis of low estimated intracluster correlations.

    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/design-effect-as-a-variance-ratio-with-its-square-root-and-effective-sample-size

Design effect as a variance ratio with its square root and effective sample size | HealthEconomics.wiki