Related Experiment Video
Updated: Jan 14, 2026

Cutoff Value of Phase Angle by Bioelectrical Impedance Analysis at Admission as a Prognostic Factor in Patients with Acute Heart Failure
Published on: June 10, 2025
Why do covariates defined by International Classification of Diseases codes fail to remove confounding in
Michael L Jackson1, Jennifer C Nelson, Lisa A Jackson
1Group Health Research Institute, Seattle, WA, USA. jackson.ml@ghc.org
Purpose:
The common practice of using administrative diagnosis codes as the sole source of data on potential confounders in pharmacoepidemiologic studies has been shown to leave substantial residual confounding. We explored reasons why adjustment for comorbid illness defined from International Classification of Diseases (ICD) codes fails to remove confounding.
Methods:
We used data from a case-control study among immunocompetent seniors enrolled in Group Health to estimate bias in the estimated association between receipt of influenza vaccine and the risk of community-acquired pneumonia during non-influenza control periods and to estimate the effects of adjusting for comorbid illnesses defined from either ICD codes or the medical record. We also estimated the accuracy of ICD codes for identifying comorbid illnesses compared with the gold standard of medical record review.
Results:
Sensitivity of ICD codes for illnesses recorded in the medical record ranged from 59 to 97% (median, 76%). Strong confounding was present in the vaccine/pneumonia association, as evidenced by the non-null odds ratio of 0.60 (95% confidence interval, 0.38-0.95) during this control period. Adjusting for the presence/absence of comorbid illnesses defined from either medical record review (odds ratio, 0.73) or from ICD codes (odds ratio, 0.68) left considerable residual confounding.
Conclusions:
ICD codes may fail to control for confounding because they often lack sensitivity for detecting comorbid illnesses and because measures of the presence/absence of comorbid illnesses may be insufficient to remove confounding. These findings call for caution in the use of ICD codes to control for confounding.
More Related Videos
12:18A Machine Learning Approach to Design an Efficient Selective Screening of Mild Cognitive Impairment
Published on: January 11, 2020
06:55Inverse Probability of Treatment Weighting Propensity Score using the Military Health System Data Repository and National Death Index
Published on: January 8, 2020
Related Concept Videos
Drug Dosing: Geriatric Patients
Pharmacokinetics in Geriatric Patients: Effect of Age on Drug Excretion
Pharmacodynamics in Geriatric Patients: Effects of Age
Confounding in Epidemiological Studies
Bias in Epidemiological Studies
Strategies for Assessing and Addressing Confounding
Confounding can be addressed at both the design phase of a study and through analytical methods after data...