The effect of population selection criteria on model estimates and data missingness in electronic health record studies
Pritchard, E. E.; Vihta, K.-D.; Pouwels, K. B.; Lipworth, S.; Hope, R.; Muller-Pebody, B.; Quan, T. P.; Cregan, J.; Hopkins, S.; Eyre, D. W.; Walker, A. S.
Show abstract
ObjectiveElectronic Health Records (EHRs) provide information to explore those at risk of various diseases, though studying entire populations is limited by data availability, potentially introducing biases. We compared different samples, varied by type of hospital contact, to assess the impact on missing data and model results. Materials and MethodsUsing Escherichia coli bloodstream infections as a case study, we used data from Oxfordshire, UK, containing individuals with hospital contact, including blood tests from primary care providers. We compared two approaches: an "inpatient sample" requiring previous/current inpatient contact, reducing missing risk factors but restricting the denominator, and a broader "healthcare contact sample", defined by previous healthcare contact (including outpatient appointments, emergency department visits, community blood tests), maximising inclusion. ResultsThe healthcare contact sample contained more missing data for key demographics and systematically missing data for potential risk factors including diagnosis codes. Missing data was more common in controls than cases (17-21% controls missing vital signs versus 6-7% cases [inpatient sample]) but varied little with lookback duration. Model estimates showed small, insubstantial shifts between the samples. Compared to population estimates, younger males were unrepresented, while those aged[≥]75y were largely captured. DiscussionIncluding individuals with any previous healthcare contact resulted in more missing data versus restricting to inpatient-only contact. Despite this, there were only small shifts in model estimates. There were large but expected differences between EHR samples and population-level data. ConclusionDifferent sample selection approaches for EHR analyses could impact power and associations. Ideally, multiple approaches should be compared.
Matching journals
The top 10 journals account for 50% of the predicted probability mass.
Similar papers in this journal
- Factors associated with excess all-cause mortality in the first wave of COVID-19 pandemic in the UK: a time-series analysis using the Clinical Practice Research Datalink 94%
- Rapid Epidemiological Analysis of Comorbidities and Treatments as risk factors for COVID-19 in Scotland (REACT-SCOT): a population-based case-control study 92%
- Differential impact of Covid-19 on incidence of diabetes mellitus and cardiovascular diseases in acute, post-acute and long Covid-19: population-based cohort study in the United Kingdom 92%
Similar papers in this journal
- Increased hazard of mortality in cases compatible with SARS-CoV-2 variant of concern 202012/1 - a matched cohort study 94%
- Epidemiology of post-COVID syndrome following hospitalisation with coronavirus: a retrospective cohort study 93%
- Risk of COVID-19 related deaths for SARS-CoV-2 Omicron (B.1.1.529) compared with Delta (B.1.617.2) 93%
Similar papers in this journal
- Predictors of adverse outcome in patients with suspected COVID-19 managed in a ‘virtual hospital’ setting: a cohort study 94%
- First and second SARS-CoV-2 waves in inner London: A comparison of admission characteristics and the impact of the B.1.1.7 variant 93%
- Identifying markers of health-seeking behaviour and healthcare access in UK electronic health records 93%
Similar papers in this journal
- Risk factors, temporal dependence, and seasonality of human ESBL-producing E. coli and K. pneumoniae colonisation in Malawi: a longitudinal model-based approach 91%
- Rapidly increasing SARS-CoV-2 seroprevalence and limited clinical disease in three Malian communities: a prospective cohort study 91%
- Single-dose mRNA vaccine effectiveness against SARS-CoV-2, including P.1 and B.1.1.7 variants: a test-negative design in adults 70 years and older in British Columbia, Canada 91%
Similar papers in this journal
- Protective effect of a first SARS-CoV-2 infection from reinfection: a matched retrospective cohort study using PCR testing data in England 94%
- Risk of severe outcomes among Omicron sub-lineages BA.4.6, BA.2.75 and BQ.1 compared to BA.5 in England 93%
- Development and validation of a clinical and genetic model for predicting risk of severe COVID-19 92%
"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.