A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Stratified Analysis and Adjustment for Confounding

Graduate Depth 228 in the knowledge graph I know this Set as goal
31topics build on this
1,314prerequisites beneath it
See this on the map →
Confounding: Definition, Identification, and Causal CriteriaEffect Modification and Statistical InteractionInverse Probability WeightingMultivariable Regression in Epidemiology
confounder-control stratification mantel-haenszel

Core Idea

Stratified analysis divides data by levels of a confounder to examine the exposure-outcome association within homogeneous strata, then combines stratum-specific estimates (e.g., via Mantel-Haenszel). This approach allows simultaneous control of confounding and detection of effect modification. Stratification is transparent and interpretable but becomes cumbersome with multiple confounders.

Explainer

You already understand confounding: a variable associated with both the exposure and the outcome distorts the apparent exposure–outcome relationship. The intuitive fix is simple — look at the exposure–outcome association *separately* within groups that are homogeneous with respect to the confounder. Within each stratum, the confounder cannot confound because it does not vary. If the crude (unstratified) association differs from the stratum-specific associations, confounding was present and the stratum-specific estimates are the valid ones.

To make this concrete: suppose you observe a crude odds ratio of 2.0 for the association between coffee drinking and myocardial infarction (MI). But coffee drinkers also smoke more than non-drinkers. When you stratify by smoking status, you find an odds ratio of 1.0 in smokers and 1.0 in non-smokers. The stratum-specific estimates are homogeneous (both null) and differ from the crude estimate — classic positive confounding. Smoking was making coffee look harmful because it was associated with both the exposure (coffee) and the outcome (MI). Within strata of smoking status, that distortion disappears.

If the stratum-specific estimates are similar across strata, you can combine them into a single summary estimate that is adjusted for the stratifying variable. The Mantel-Haenszel (MH) estimator is the standard approach for 2×2 tables: it computes a weighted average of stratum-specific odds ratios (or risk ratios), where the weights reflect the amount of information in each stratum. The MH estimator is computationally simple, statistically efficient when homogeneity holds, and interpretable as the confounder-adjusted association. You can also use the Woolf method (variance-based weighting) as an alternative.

The same analysis that controls for confounding also detects effect modification: if stratum-specific estimates *differ* substantially across strata, the variable you stratified on is not merely a confounder — it is a modifier of the exposure effect. For example, if the coffee–MI odds ratio is 2.0 among smokers but 0.8 among non-smokers, the effect is genuinely different in the two groups. In this case, combining the estimates into a single adjusted summary would be misleading — the correct report is stratum-specific. The decision to report separate estimates versus a combined estimate hinges on whether heterogeneity is present. This is why stratified analysis is not merely a confounding-control tool but also the foundational method for identifying who benefits or is harmed differently — a question central to clinical and public health decision-making.

Stratification's limitation is the sparse data problem: each additional stratifying variable divides the dataset into more cells, many of which may have too few observations to produce stable estimates. Two binary confounders require four strata; three binary confounders require eight. This is why stratification gives way to multivariable regression — logistic, Poisson, Cox — when there are several confounders to control simultaneously. Regression can be understood as a generalization of stratification that handles sparse data through model-based smoothing, trading the transparency of stratification for the capacity to adjust for many variables at once.

Practice Questions 5 questions

Prerequisite Chain

Understanding ZeroThe Number ZeroCounting to FiveCounting to 10One-to-One CorrespondenceCounting a Set of Objects Up to 20Cardinality: The Last Number CountedMatching Numerals to QuantitiesSubitizing Small QuantitiesAddition Within 10Making 10 as an Addition StrategyAddition Within 20Doubles and Near DoublesDoubles Facts Within 10Near Doubles Facts Within 20Mental Math Strategies for AdditionMental Math: Adding and Subtracting TensAddition Within 100Repeated Addition as MultiplicationMultiplication as Equal GroupsMultiplication: ArraysBasic Multiplication Facts (0s, 1s, 2s, 5s, 10s)Multiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Multiplication and Division Fact FamiliesRelationship Between Multiplication and DivisionDivision Facts as Inverse of MultiplicationRemainders and Quotients in DivisionDivision Word ProblemsMulti-Step Word ProblemsSolving Multi-Step Word ProblemsMultiplication Word ProblemsDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineComparing and Ordering IntegersAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersDividing IntegersUnit RatesProportionsPercent ConceptConverting Between Fractions, Decimals, and PercentsOperations with Rational NumbersTwo-Step EquationsSolving Multi-Step EquationsEquations with Variables on Both SidesAngle Pairs: Complementary, Supplementary, and VerticalParallel Lines and TransversalsCorresponding AnglesAlternate Interior AnglesTriangle Angle Sum TheoremExterior Angle TheoremTriangle Inequality TheoremSimilar Triangles: AA SimilaritySimilar Triangles: SSS and SAS SimilarityProportions in Similar TrianglesRight Triangle Trigonometry IntroductionSine, Cosine, and Tangent RatiosTrigonometric Ratios ReviewRadian MeasureConverting Between Degrees and RadiansThe Unit CircleGraphing Sine and CosineGraphing Tangent and Reciprocal Trigonometric FunctionsDerivatives of Trigonometric FunctionsAntiderivativesIterated Integrals and Fubini's TheoremDouble Integrals in Cartesian CoordinatesDouble Integrals in Polar CoordinatesDouble Integrals in Polar CoordinatesDouble Integrals: Definition and SetupIterated Integrals and Fubini's TheoremDouble Integrals over Rectangular RegionsDouble Integrals over General RegionsApplications of Double Integrals: Area, Mass, and MomentsTriple Integrals in Cartesian CoordinatesTriple Integrals in Cylindrical and Spherical CoordinatesChange of Variables and the Jacobian DeterminantApplications of Triple Integrals: Volume and MassVector Fields and Their RepresentationsLine Integrals of Vector FieldsWork and CirculationLine Integrals of Scalar and Vector FunctionsFundamental Theorem for Line IntegralsConservative Vector FieldsConservative Vector Fields and Potential FunctionsCurl and Divergence of Vector FieldsCurl and DivergenceDivergence TheoremElectric Flux and Divergence TheoremGauss's Law: Integral Form and MeaningSolving Problems with Gauss's LawConductors in Electrostatic EquilibriumCapacitance and CapacitorsDielectricsDielectric Constant and Relative PermittivityElectric Field Inside Dielectric MaterialsDielectric Materials and PolarizationDielectric Susceptibility and PermittivityEnergy Density in Electric FieldsElectric Current and Current DensityElectrical Resistance and ResistivityOhm's Law and Circuit ElementsElectromotive Force (EMF) and BatteriesKirchhoff's Circuit Laws: Voltage and CurrentDC Circuit Network Analysis MethodsTransient Response in RC CircuitsRC CircuitsLC and RLC CircuitsAC Circuits: FundamentalsImpedance and ReactanceAC Power and ResonanceElectromagnetic WavesPostulates of Special RelativityTime DilationLength ContractionLorentz TransformationRelativistic Velocity AdditionRelativistic Momentum and EnergyMass-Energy Equivalence and E=mc²Photons as Particles with Energy and MomentumPlanck-Einstein Relation: Energy and FrequencyPhotoelectric EffectThe Photon: Light as QuantaCompton ScatteringWave-Particle Dualityde Broglie WavelengthThe Schrödinger EquationState Vectors and WavefunctionsQuantum SuperpositionThe Measurement ProblemInterpretations of Quantum MechanicsPostulates of Quantum MechanicsObservables and Quantum OperatorsCommutators and Commutation RelationsQuantum Angular MomentumQuantum Mechanical Treatment of HydrogenSolving the Schrödinger Equation for Hydrogen AtomQuantum NumbersElectron ConfigurationPeriodic TrendsCovalent BondingElectronegativity and Bond PolarityIonic BondingLewis StructuresVSEPR Theory and Molecular GeometryMolecular Geometry and Electron Pair GeometryMolecular Polarity and Dipole MomentsIntermolecular ForcesStates of Matter and Phase Changes: Melting, Boiling, and SublimationGas Laws and the Ideal Gas EquationGas Stoichiometry and Volume-Volume CalculationsThermochemistry and EnthalpyHeat Capacity and CalorimetryEntropy and Molecular DisorderSpontaneity and ΔGEntropy and Gibbs Free EnergyChemical EquilibriumAcid-Base ChemistryWeak Acid IonizationWeak Base IonizationAcid and Base Strength: Ka, Kb, and IonizationLeaving Groups and NucleofugalitySN2 Substitution ReactionsSN1 Substitution ReactionsE1 Elimination ReactionsAlcohols and Ethers: Structure, Properties, and NomenclatureReactions of AlcoholsAldehydes and Ketones: Structure and ReactivityOxidation Reactions in Organic ChemistryOxidation of Alcohols to Aldehydes and KetonesAldehyde and Ketone Structure and NomenclatureNucleophilic Addition to Aldehydes and KetonesCarboxylic Acids and Their DerivativesIUPAC Nomenclature of Carbonyls and Carboxylic AcidsIUPAC Nomenclature of AlkenesElectrophilic Addition to AlkenesAromaticity and BenzeneElectrophilic Aromatic Substitution (EAS)Nucleophilic Aromatic Substitution (SNAr)Nucleophilic Acyl SubstitutionAmines: Structure, Basicity, and ReactionsAmine Reactivity: Nucleophilicity and BasicityAmino Acid Structure and PropertiesPeptide Bonds and Polypeptide FormationProtein Primary StructureProtein Secondary StructureProtein Tertiary StructureEnzyme Structure and FunctionTranscription: DNA to RNARNA Types and StructureRNA Structure and Intramolecular Base PairingRNA Processing and SplicingTranslation: RNA to ProteinRibosomes: Protein Synthesis MachinesTranslation: Initiation and ElongationPost-Translational ModificationsProteasomal Degradation and Ubiquitin-Mediated MarkingCell Cycle Regulation and CheckpointsCell Cycle Checkpoints: Ensuring Genome IntegrityCell Cycle Checkpoints and Cancer PreventionMitotic Spindle Checkpoint and Chromosome SegregationKinetochore Structure and FunctionMitochondria: Structure and FunctionCellular Respiration OverviewBacterial Metabolism OverviewAntibiotic Resistance MechanismsInfectious Disease EpidemiologyFoundations of EpidemiologyMeasuring Disease Frequency: Incidence and PrevalenceEpidemiologic Study DesignsConfounding: Definition, Identification, and Causal CriteriaEffect Modification and Statistical InteractionStratified Analysis and Adjustment for Confounding

Longest path: 229 steps · 1314 total prerequisite topics

Prerequisites (2)

Leads To (2)