Butzin-Dozier, ZacharyJi, YunwenWang, Lin-ChiunAnzalone, A JerrodHurwitz, EricPatel, Rena Cvan der Laan, Mark JColford, John MHubbard, Alan E2025-07-072025-07-072025-06-11Butzin-Dozier Z, Ji Y, Wang LC, Anzalone AJ, Hurwitz E, Patel RC, van der Laan MJ, Colford JM Jr, Hubbard AE. Causal Inference via Electronic Health Records in the National Clinical Cohort Collaborative: Challenges and Solutions in Long COVID Research. medRxiv [Preprint]. 2025 Jun 11:2025.06.06.25329168. doi: 10.1101/2025.06.06.25329168. PMID: 40502605; PMCID: PMC12155030.10.1101/2025.06.06.25329168405026052025.06.06.25329168https://hdl.handle.net/20.500.14038/54570This article is a preprint. Preprints are preliminary reports of work that have not been certified by peer review.Observational analyses of electronic health record (EHR) data using databases such as the National Clinical Cohort Collaborative include unique challenges for researchers seeking causal inferences, particularly when evaluating subjectively-defined outcomes like Long COVID. We explore several challenges and describe potential solutions. 1. Lack of true negatives: Many diagnoses and conditions either have a positive indicator or a missing status, requiring investigators to carefully consider which patients are likely negative for this condition. 2. Differential monitoring: EHR data include nonrandom missingness driven by patients engaging with the healthcare system at different rates, which is often related to both the exposure and outcome of interest. 3. Bias: EHR data sources face many biases, but are particularly vulnerable to informative missingness, differential monitoring, and model misspecification. 4. Large sample size: High precision (i.e., narrow confidence intervals) paired with potential bias leads to a high risk of incorrectly rejecting the null hypothesis. 5. Defining index time: It is important that investigators deliberately define index time (i.e., , baseline) to ensure that they only adjust for baseline confounders and do not adjust for (or condition on) factors that are affected by the exposure of interest (i.e., colliders or mediators). 6. Parameter selection: Investigators should only select parameters that are supported by the data distribution. This manuscript provides an overview of these challenges and solutions, using both simulated data and real-world data, with the outcome of Long COVID as the running example.enThe copyright holder for this preprint is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. It is made available under a CC-BY 4.0 International license.http://creativecommons.org/licenses/by/4.0/EpidemiologyLong COVIDelectronic health record (EHR) dataUMCCTS fundingCausal Inference via Electronic Health Records in the National Clinical Cohort Collaborative: Challenges and Solutions in Long COVID Research [preprint]Preprint