Stratified Analysis and Adjustment for Confounding

Graduate Depth 187 in the knowledge graph I know this Set as goal
Unlocks 24 downstream topics
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

Counting to 10Counting to 20Understanding ZeroThe Number ZeroCounting to FiveOne-to-One CorrespondenceCombining Small Groups Within 5Addition Within 10Addition Within 20Two-Digit Addition Without RegroupingTwo-Digit Addition with RegroupingAddition Within 100Repeated Addition as MultiplicationMultiplication 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 100Two-Digit by One-Digit DivisionDivision with RemaindersRemainders and Quotients in DivisionDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueReading and Writing DecimalsComparing and Ordering DecimalsAdding and Subtracting DecimalsMultiplying DecimalsDividing DecimalsDividing FractionsMixed Number ArithmeticOrder of OperationsInteger Order of OperationsVariable ExpressionsCombining Like TermsOne-Step EquationsTwo-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 IntroductionTrigonometric 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 over Rectangular RegionsDouble 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 FieldsGreen's TheoremSurface Integrals and Flux of Vector FieldsSurface Integrals and Flux of Vector FieldsDivergence Theorem: Flux and OutflowDivergence TheoremElectric FluxGauss'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 WavesThe Electromagnetic SpectrumBlackbody Radiation and Planck's LawPhotoelectric EffectThe Photon: Light as QuantaCompton ScatteringWave-Particle Dualityde Broglie WavelengthHeisenberg Uncertainty PrincipleWavefunction and the Born RuleThe Schrödinger EquationState Vectors and WavefunctionsQuantum SuperpositionQuantum EntanglementBell Theorem and Bell InequalitiesPostulates of Quantum MechanicsScattering TheoryIntroduction to Scattering TheoryPartial Wave Analysis in ScatteringSpin Angular MomentumElectron Spin and Intrinsic Magnetic MomentStern-Gerlach Experiment: Spin Quantization and MeasurementElectron Diffraction and Matter Wave PropertiesDavisson-Germer Experiment: Crystal Diffraction of ElectronsElectron Diffraction and Matter Wave InterferenceWavefunctions and Probability Density InterpretationQuantum Superposition and Linear Combinations of StatesQuantum Operators and ObservablesCanonical Commutation Relations and UncertaintyHeisenberg Uncertainty Principle and Measurement LimitsTime-Independent Schrödinger Equation and EigenvaluesHydrogen Atom in Quantum MechanicsSpectral Lines and Energy TransitionsSelection Rules for Atomic TransitionsLS and jj Coupling Schemes in Multi-Electron AtomsPauli Exclusion Principle and Antisymmetric WavefunctionsElectron Configuration and the Aufbau PrincipleThe Periodic Table and Atomic Electronic StructureThe Periodic TableElectron ConfigurationPeriodic TrendsIonization EnergyIonic BondingLewis StructuresResonance Structures and Delocalized ElectronsResonance and Formal ChargeMolecular 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 ChemistryOrganic Reaction Mechanisms and Arrow PushingElectrophilic Addition to AlkenesAromaticity and BenzeneDNA StructureCentral Dogma of Molecular BiologyThe Genetic CodeDNA MutationsDNA Repair MechanismsCell 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: 188 steps · 929 total prerequisite topics

Prerequisites (2)

Leads To (2)