Full text
40,196 characters
· extracted from
preprint-html
· click to expand
Machine Learning-Based Models for Imputing Missing Values of Key Predictors of Important Clinical Outcomes in a Large-Scale Registry of Acute Myocardial Infarction | medRxiv /* */ /* */ <!-- <!-- /*! * yepnope1.5.4 * (c) WTFPL, GPLv2 */ (function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0];var j=d.createElement(s);var dl=l!='dataLayer'?'&l='+l:'';j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;j.type='text/javascript';j.async=true;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-P4HH5NV'); Skip to main content Home About Submit ALERTS / RSS Search for this keyword Advanced Search Machine Learning-Based Models for Imputing Missing Values of Key Predictors of Important Clinical Outcomes in a Large-Scale Registry of Acute Myocardial Infarction View ORCID Profile Haoyun Hong , Remy Poudel , Asishana Osho , View ORCID Profile Kathie Thomas , Shen Li , Abhinav Goyal , Jennifer L. Hall , View ORCID Profile Juan Zhao doi: https://doi.org/10.1101/2025.05.29.25328603 Haoyun Hong 1 American Heart Association , Dallas TX 75231, USA , BA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Haoyun Hong Remy Poudel 1 American Heart Association , Dallas TX 75231, USA , MPH Find this author on Google Scholar Find this author on PubMed Search for this author on this site Asishana Osho 2 Massachusetts General Hospital , MA, USA ; MD, MPH Find this author on Google Scholar Find this author on PubMed Search for this author on this site Kathie Thomas 1 American Heart Association , Dallas TX 75231, USA , DHA, MPH Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Kathie Thomas Shen Li 1 American Heart Association , Dallas TX 75231, USA , MS Find this author on Google Scholar Find this author on PubMed Search for this author on this site Abhinav Goyal 3 Emory University School of Medicine , GA, USA MD, MHS Find this author on Google Scholar Find this author on PubMed Search for this author on this site Jennifer L. Hall 1 American Heart Association , Dallas TX 75231, USA , PhD Find this author on Google Scholar Find this author on PubMed Search for this author on this site Juan Zhao 1 American Heart Association , Dallas TX 75231, USA , PhD Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Juan Zhao For correspondence: juan.zhao{at}heart.org Abstract Full Text Info/History Metrics Data/Code Preview PDF ABSTRACT Background Missing data is a frequent limitation of database research. Application of machine learning-based models is a promising approach to overcome this limitation. This study aims to evaluate methods for imputing three critical but sometimes missing predictors of important clinical outcomes (e.g. mortality) in hospitalized patients presenting with acute myocardial infarction (AMI): cardiac arrest prior to arrival, heart failure on first medical contact (FMC), and cardiogenic shock on FMC. Methods The study included 219,146 individuals participating in the American Heart Association Get With The Guidelines® Coronary Artery Disease (GWTG-CAD) Registry from 2020 to 2022. We trained machine learning models along with logistic regression model to predict cardiac arrest prior to arrival, heart failure on FMC and cardiogenic shock on FMC through a nested cross-validation with a calibration layer. Important features are identified through Shapley additive explanations (SHAP) and model performance are evaluated on different demographic subgroups. Results The mean (SD) age was 65 (18) years, with 32.7% Female; 71.2% individuals were White, and 13.5% individuals were Black. For cardiac arrest, XGBoost and LightGBM achieved AUROC scores of 0.920 (95% CI: 0.915 – 0.924) and 0.922 (95% CI: 0.918 – 0.927). For cardiogenic shock, XGBoost and LightGBM achieved AUROC scores of 0.912 (95% CI, 0.907 - 0.918) and 0.913 (95% CI, 0.908 - 0.918). For heart failure, XGBoost and LightGBM achieved AUROC scores of 0.824 (95% CI, 0.818 - 0.829) and 0.826 (95% CI, 0.818 - 0.833). Vital signs, lab values, age, and AMI type are among the most influential features for predicting these clinical presenting variables. Conclusions We demonstrated machine learning techniques, particularly XGBoost and LightGBM, have proven effective in imputing missing clinical data in cardiovascular studies. The models improve the data power and quality of datasets by accurately imputing major cardiac events, with implications for enhancing clinical and research practices. INTRODUCTION As data and predictive analytics are increasingly used in healthcare, the integrity and completeness of clinical data become crucial to the success of using such tools to advance patient care and clinical research. 1 – 3 However, missing data remains a prevalent challenge for large data sources such as clinical registries and electronic health records. The reasons can be attributed to multiple factors, including changes in data collection methods or forms, and the nuanced nature of clinical encounters. 4 Missing clinical data and fragmented patient records undermine the utility of large datasets in research and quality improvement by reducing statistical power and producing biased outcomes. The conventional approach to addressing this issue has been limited to removing patients’ records with missing data, or using traditional statistical imputation techniques, 5 – 9 such as single imputation of means, medians or modes, and multivariate imputation by chained equations. However, these methods have been used more frequently for continuous variables such as lab values. Inferring data about dichotomous variables is more challenging, as imputation in this context requires detailed consideration of the clinical context for each unique patient. The American Heart Association’s Get With The Guidelines® – Coronary Artery Disease (GWTG-CAD) Registry is large AMI registry used for quality improvement and clinical research. Several demographic, clinical, and hospital variables are collected for each patient from the time of first medical contact (FMC) in the prehospital setting with emergency medical services (EMS), as well as in the hospital through discharge, and several in-hospital outcomes (e.g. mortality) are documented. Three patient variables at the time of FMC are particularly strong predictors of in-hospital outcomes, namely cardiac arrest, heart failure, and cardiogenic shock. 10 – 12 Yet, documentation of these three key presenting conditions is sometimes missing in the GWTG-CAD registry. In this study, we leveraged machine learning algorithms to impute missing values of cardiac arrest, heart failure, or cardiogenic shock among patients admitted to the hospital with STEMI or NSTEMI. First, we evaluated the predictive accuracy of machine-learning (ML) algorithms such as XGBoost and LightGBM and compared them with standard imputation methods. Second, we utilized a framework, called Shapley additive explanations (SHAP), 13 to identify the most influential factors for inferring these three clinical indicators. Third, we evaluated the performance of models on multiple demographic subgroups. METHODS Data Sources and Collection (Get with the Guidelines Coronary Artery Disease Cohort) The American Heart Association GWTG – CAD® Registry is a large, international clinical registry aimed at improving the quality of care of AMI patients. Participating hospitals contribute clinical data of consecutive patients admitted with AMI. 14 , 15 Detailed information about this registry and data elements collected via the case report form can be found at: https://www.heart.org/en/professional/quality-improvement . Data were used primarily at local sites for quality improvement; therefore, sites were granted a waiver of informed consent under the common rule. The data collection and coordination for GWTG programs are managed by IQVIA. Deidentified data from the AHA GWTG-CAD registry are available through the AHA Precision Medicine Platform. Requests to access the data should be made by contacting AHA as instructed at https://www.heart.org/en/professional/ quality-improvement/quality-research-and-publications/ hospital-level-research. Study Period and Population Data from the AHA GWTG-CAD registry was accessed on June 30, 2023. The study population included all patients with a principal final/discharge diagnosis of STEMI or NSTEMI, who were admitted to one of the GWTG-CAD hospitals from January 1, 2020, to December 31, 2022 ( Figure 1 ). Records with missing sex, race/ethnicity, or discharge status are excluded from the study. Download figure Open in new tab Figure 1. Inclusion and Exclusion Criteria of Study Population. Outcomes and Data Variables for prediction The primary outcomes are presence or absence of three critical clinical conditions: cardiac arrest prior to arrival, heart failure on FMC, and cardiogenic shock on FMC. These outcomes were categorized as a binary variable (entered for each patient as “yes” or “no”). We used a range of predictors (features) including demographics, medical history, vital signs, and lab values upon hospital admission, medications, and procedures during hospitalization. We excluded variables that are less relevant for prediction (e.g., date of admission, hospital characteristics), as well as important downstream outcomes (e.g. mortality) that these variables would be used to predict. Furthermore, we excluded any variables with more than 40% missing rate. For continuous variables, we used median value for imputation. All categorical variables are one-hot-encoded. A complete list of final features included in the ML models is shown in Supplementary Table 1. Statistical Analysis Categorical variables were summarized using percentages. Continuous variables were summarized using medians with interquartile range. Statistical significance was assessed at α < 0.05. Machine Learning Models We applied four machine learning models including (1) logistic regression (used as reference model), (2) random forest, (3) extreme gradient boosting machine (XGBoost), and (4) Light gradient Boosting Machine (LightGBM). XGBoost Trees and LightGBM are two effective implementations of gradient boosting trees (GBT) that have been applied previously to predict health outcomes and have demonstrated strong performance. 16 – 18 We trained each model on each of the outcomes and assessed the performance using the metrics listed below. Model Training, Calibration, and Evaluation To evaluate the imputation method, for each of the three outcomes, we obtained a separate, complete dataset. We then adopted a nested stratified cross-validation (CV) process, complemented by a calibration layer and a 5% hold-out test set to ensure robust evaluation ( Figure 2 ). We used the nested CV to ensure that the data for hyperparameter tuning, calibration, and testing were strictly separated. The complete dataset is initially divided using a 5-fold outer CV. For each of the five iterations, a different fold serves as the test set, and the remaining folds form the training set. Within each iteration of the outer CV, there’s an inner 5-fold CV applied to the training set. This inner CV is used for hyperparameter tuning – models are trained and validated across the five folds to identify the best hyperparameters set. To ensure precise calibration of our models, an isotonic regression is applied in the validation set of the calibration layer to ensure the models are well-calibrated. The cut-off threshold was determined in the test set of the calibration layer using F1 scores, which is the harmonic mean of the precision and recall. This calibrated model was then evaluated on the test set of the outer CV fold by the area under the receiver operating characteristics (AUROC), as well as other metrics including accuracy, sensitivity, specificity, positive predictive value, and negative predictive value. Download figure Open in new tab Figure 2. Study Design: For each of the three outcomes, a full dataset is obtained after removing records with missing outcome. Then the dataset is split into complete dataset (95%) and hold out test set (5%). A nested CV with a calibration layer is then conducted on the complete dataset with the inner 5-fold inner CV used for hyperparameter tuning and 5-fold outer CV used for obtaining final ROC scores and other performance metrics after model calibration in the calibration layer where thresholds are determined. Feature Importance To demonstrate the feature importance for complex models such as XGBoost and lightGBM, we used an outstanding approach – Shapley additive explanations (SHAP). The SHAP explanation method computes each feature’s contribution (i.e., Shapley value) to explain the prediction of an instance through a coalitional game theory. We applied SHAP to XGBoost models to first generate SHAP values for all features, summarized the impact of the top 20 features on the model output through beeswarm plots, and analyzed the impact of top 10 features in two specific instances through waterfall plots using the publicly available SHAP API 19 . Subgroup analysis To evaluate any bias that was produced in model prediction, we further assessed the prevalence rate, false negative rate (FNR), and false positive rate (FPR) across different sex and race/ethnicity groups in the 5% hold-out test set. We chose the optimal model that achieved most outstanding performance for this assessment. Implementation Details Machine learning models, cross-validation, and evaluation metrics were implemented using Sci-kit Learn 1.3.2. Data analysis and statistical analysis were performed using Python version 3.11.5 and the open-source software R (v4.2.0), R Foundation for Statistical Computing, Vienna, Austria). SHAP interpretation was implemented with shap python package. RESULTS Patient Baseline Characteristics A total of 219,146 patients from 616 hospitals participating in the American Heart Association GWTG-CAD Registry were included in the analysis. A summary of demographics and clinical characteristics is shown in Table 1 . Among them, 6,994 (3.2%) patients had cardiac arrest prior to arrival, 26,290 (12.0%) patients had heart failure on FMC, and 9,218 (4.2%) patients had cardiogenic shock on FMC. 53.8% of patients are missing cardiac arrest prior to arrival status, 7.0% of patients are missing cardiogenic shock on FMC and 3.2% of patients are missing heart failure on FMC (Supplementary Table 2). View this table: View inline View popup Table 1. Baseline Characteristics of cohort Model Performance In performance for imputing three distinct outcomes, XGBoost and LightGBM achieved higher AUROC scores than logistic regression and random forest models. In predicting cardiac arrest before arrival, XGBoost and LightGBM achieved AUROC scores of 0.920 (95% confidence interval [CI], 0.915 – 0.924) and 0.922 (95% CI, 0.918 – 0.927) respectively (Supplementary Table 3). In predicting cardiogenic shock on FMC, XGBoost and LightGBM achieved AUROC scores of 0.912 (95% CI, 0.907 - 0.918) and 0.913 (95% CI, 0.908 - 0.918). Similarly for predicting heart failure on FMC, XGBoost, and LightGBM achieved higher AUROC scores of 0.824 (95% CI, 0.818 - 0.829) and 0.826 (95% CI, 0.818 - 0.833). Notably, XGBoost and LightGBM performed similarly across many key metrics including accuracy, sensitivity, specificity, negative predictive value, and positive predictive value. Feature Importance The XGBoost models were finally used in identifying top 20 features that significantly influenced the prediction of cardiac arrest before arrival, cardiogenic shock, and heart failure at the time of first medical contact (FMC). The influence of these features was ranked according to their contribution to the model’s predictions, based on the average SHAP values ( Figure 3a - 3c ). Download figure Open in new tab Download figure Open in new tab Figure 3. Top 20 features contributing for predicting outcomes by XGBoost model according to SHAP. In this set of beeswarm plots, each dot corresponds to an individual person from the training set. The dot’s position on the x-axis shows the impact that feature has on the model’s prediction for that person. For continuous variables, higher value is represented by red, while lower values by blue. For binary variables “yes” is indicated by red and “no” by blue. Where multiple dots land at the same x position, they stack to show density. Figure 4a depicts beeswarm plot for cardiac arrest prior to arrival; Figure 4b for cardiogenic shock on FMC; and Figure 4c for heart failure on FMC. PCI percutaneous coronary intervention; FMC first medical contact; MI myocardial infarction; AMI acute myocardial infarction; STEMI ST elevation myocardial infarction; LVEF left ventricular ejection fraction. For predicting cardiac arrest prior to arrival, several features such as extreme heart rate measured on first medical contact, non-system reason for delay due to cardiac arrest and/or need for intubation, and cardiac diagnosis not stated as confirmed AMI - non-STEMI were all strong predictors ( Figure 3a ). Additionally, high serum creatinine levels, low systolic blood pressure on first medical contact, and younger age also positively contributed to the model prediction. The initial troponin value, non-system reasons for delay in the first ECG, presence of STEMI or STEMI equivalent, creatine calculation, and diabetes mellitus were also important predictors. For predicting the cardiogenic shock on FMC ( Figure 3b ), we identified low systolic blood pressure on first medical contact as the most important predictor. Cardiac diagnosis of Confirmed AMI – STEMI, and STEMI or STEMI equivalent were strong predictors of the model. Other significant predictors include heart rate on first medical contact, mode of arrival (walk-in), non-system reason for delay due to cardiac arrest and/or in need for intubation, and lab values such as initial serum creatinine, creatinine calculation and Left Ventricular Ejection Fraction (LVEF) percentage. For predicting heart failure on FMC ( Figure 3c ), medical history of heart failure, higher heart rate on FMC, and Left Ventricular Ejection Fraction (LVEF) percentage were the top three predictors. Specifically, LVEF below 40% increased the likelihood of presenting heart failure on FMC, whereas LVEF above 50% was indicative of absence. Other important predictors included age, initial serum creatinine, creatinine calculation, cardiac diagnosis of Confirmed AMI – non-STEMI, PCI indication of primary PCI for STEMI, no anticoagulation prescribed at discharge, etc. Utilizing the SHAP values, we detailed the influence of the top 10 features in two specific patient cases using XGBoost models for heart failure on FMC. In the first patient case (Figure S1a), the top predictive variables for heart failure on FMC are LVEF percentage, heart rate on FMC, and cardiac diagnosis of confirmed AMI-non - STEMI. For the second instance (Figure S1b), the top variables that for predicting the patient without heart failure on FMC are LVEF percentage between 60-69%, heart rate on FMC, troponin value, and not having a medical history of heart failure. A detailed description of variables and their values can be found in supplementary figures. Subgroup analysis The models showed sex-based differences in the predicted prevalence rates for cardiac conditions. Specifically, XGBoost model predicted a higher prevalence rate of cardiac arrest prior to arrival (Male: 5.6%, Female: 3.6%) in male compared to female individuals but yielded a lower prevalence rate of heart failure on FMC (Male: 15.5%, Female: 20.5%) in male compared to female individuals and cardiogenic shock on FMC (Male: 4.9%, Female:5.2%). For race/ethnicity subgroups, individuals who identify as non-Hispanic Black had the highest predicted prevalence rate of heart failure on FMC (21.4%). Detailed summary statistics can be found in Supplementary Table 4. Our model also exhibits variability in performance across different sex and racial/ethnic groups. Specifically, the model has a higher false negative rate (FNR) in females compared to males for identifying cardiac arrest prior to arrival (0.48 vs. 0.42), cardiogenic shock (FNR, 0.50 vs. 0.43), and heart failure (0.46 vs. 0.45), indicating a greater likelihood of missed true cases. Females also have a higher false positive rate (FPR) in cardiogenic shock (0.283 vs. 0.276) and heart failure (0.15. vs. 0.10). Among racial/ethnic groups, for cardiogenic shock, individuals who identify as Non-Hispanic Black were most affected, with the highest FNR of 0.53. Non-Hispanic Black patients also has the highest FNR (0.58) in cardiac arrest and the highest false positive rate (FPR) (0.14) in heart failure comparing to other groups. In addition, individuals who identify as Hispanic had the highest FPR (0.02) in cardiac arrest, suggesting a higher probability of incorrectly identifying conditions that were not present. DISCUSSION Missing patients’ medical conditions commonly occurs in clinical dataset, which has resulted in discrepancies and limited the data power and quality. 20 , 21 This study utilized multiple machine learning models to predict the presence of cardiac arrest, cardiogenic shock, and heart failure in patients arriving at hospitals with AMI. The advanced machine learning models including XGBoost and LightGBM demonstrated high predictive accuracy for identifying these three complications. Furthermore, by applying a novel framework SHAP, the study provides a transparent process to explain how the models predict the clinical conditions in a population scale and at the individual patient level. Although we used the national GWTG registry and the three conditions as the use case, the methodology and approach were not limited to those registries and conditions and can be generalized to phenotypes or clinical history that might be miss captured in any clinical dataset. Previous studies have shown that XGBoost and LightGBM models can achieve strong imputation performance on commonly measured continuous laboratory variables such as chloride, potassium, creatinine, and glucose by leveraging both longitudinal and cross-sectional context in clinical datasets. 4 , 9 , 22 Our study adds to the existing literature by demonstrating that both models were also able to achieve strong performance for imputing binary (yes-no) clinical variables describing presenting patient characteristics such as cardiac arrest prior to arrival, cardiogenic shock on FMC and heart failure on FMC. The improvement in imputation performance could be attributed to the diverse variety of patient characteristics and procedures during hospitalization in the GWTG data, enabling the models to infer missing values of clinical indicators from other non-missing variables collected in the registry. For instance, SHAP analysis shows that models for imputing cardiac arrest prior to arrival could infer information from non-system reasons for delay due to cardiac arrest and/or in need for intubation. Patients who have this particular reason for delay are much more likely to have cardiac arrest prior to arrival. Models for imputing cardiogenic shock on FMC also utilized the transportation mode information of the patients, with “direct walk in” patients being very unlikely to have cardiogenic shock on FMC. By extracting these features with complementary information from the registry, ML-based imputation models can achieve higher performance scores overall. Some features influence imputation model outputs in unexpected ways based on the results of SHAP analysis. One of the most notable counterintuitive examples is that age is negatively associated with the patient having cardiac arrest prior to arrival. Further examination reveals that the median age of patients in the dataset who had cardiac arrest prior to arrival (63) is lower than the median age for those who do not (67), and that age is negatively correlated with cardiac arrest prior to arrival, with statistical significance (ρ = -0.085, p < 0.001). One possible explanation is that the registry is skewed towards older patients, with the relatively younger patients collected having more serious conditions. Regarding model performance in different sex and race/ethnicity subgroups, we observed that female groups and non-Hispanic black groups are more likely to have missed true cases (i.e. presented with clinical indicators but predicted absence), while Hispanic groups are more likely to have been incorrectly identified as having true cases (i.e. absence in clinical indicators but predicted presence). This finding was consistent with a previous study that utilized ML models for predicting clinical outcomes in that female patients and underrepresented minority patients are more likely to experience under-prediction of clinical outcomes. 23 Limitations This study also had limitations. First, our ML-based imputation models used a large number of features, which may not be fully captured in some patients’ records. Imputation on missing features needs to be done prior to applying the model. Future research could focus on limiting the features used in these ML based models to most influential ones identified by SHAP while preserving model performance. Second, we did not include the clustering effects of hospitals and we dropped hospital level characteristics during the data processing stage for simplicity. If hospital-level characteristics influenced clinical indicators like cardiac arrest prior to arrival, then these effects may be unaccounted for and should be addressed in the future by incorporating these characteristics in analyses. s Conclusions This study demonstrates that machine learning models, especially the XGBoot and LightGBM can accurately impute missing key clinical predictors – cardiac arrest, cardiogenic shock, and heart failure in patients with AMI. The novel use of SHAP in our analysis contributes to a transparent and explainable machine learning process which can provide further insights on the data management. Our findings also highlight certain variability in imputation accuracy across different sex and race/ethnicity groups, suggesting a need for future investigation. Despite focusing on a national registry and specific conditions, our approach is generalizable and could improve missing data imputation across various clinical datasets and conditions, thus enhancing the quality of clinical dataset. Data Availability Data cannot be share publicly because of data use agreements of the American Heart Association. Deidentified data from the AHA GWTG-CAD regisrtry are available through the AHA Precision Medicine Platform. Requests to access the data should be made by contacting AHA as instructed at https://www.heart.org/en/professional/quality-improvement/quality-research-and-publications/hospital-level-research . DISCLOSURE STATEMENTS HH, RP, SL, KT, JH, PM, and JZ are employees of the AHA References 1. ↵ Alaa AM , Bolton T , Di Angelantonio E , Rudd JHF , van der Schaar M . Cardiovascular disease risk prediction using automated machine learning: A prospective study of 423,604 UK Biobank participants . PLoS One 2019 ; 14 : e0213653 . doi: 10.1371/journal.pone.0213653 . OpenUrl CrossRef PubMed 2. Johnson KB , Wei W , Weeraratne D , Frisse ME , Misulis K , Rhee K , et al. Precision Medicine, AI, and the Future of Personalized Health Care . Clin Transl Sci 2021 ; 14 : 86 – 93 . doi: 10.1111/cts.12884 . OpenUrl CrossRef PubMed 3. ↵ Stevens LM , de Lemos JA , Das SR , Rutan C , Alger HM , Elkind MSV , et al. American Heart Association Precision Medicine Platform Addresses Challenges in Data Sharing . Circulation: Cardiovascular Quality and Outcomes 2021 ; 14 : e007949 . doi: 10.1161/CIRCOUTCOMES.121.007949 . OpenUrl CrossRef PubMed 4. ↵ Luo Y . Evaluating the state of the art in missing data imputation for clinical data . Briefings in Bioinformatics 2022 ; 23 :bbab489. doi: 10.1093/bib/bbab489 . OpenUrl CrossRef 5. ↵ Buuren S van, Groothuis-Oudshoorn K. mice: Multivariate Imputation by Chained Equations in R . Journal of Statistical Software 2011 ; 45 : 1 – 67 . doi: 10.18637/jss.v045.i03 . OpenUrl CrossRef 6. Stekhoven DJ , Bühlmann P . MissForest—non-parametric missing value imputation for mixed-type data . Bioinformatics 2012 ; 28 : 112 – 118 . doi: 10.1093/bioinformatics/btr597 . OpenUrl CrossRef PubMed Web of Science 7. Luo Y , Szolovits P , Dighe AS , Baron JM . Using Machine Learning to Predict Laboratory Test Results . Am J Clin Pathol 2016 ; 145 : 778 – 788 . doi: 10.1093/ajcp/aqw064 . OpenUrl CrossRef PubMed 8. Deng Y , Chang C , Ido MS , Long Q . Multiple Imputation for General Missing Data Patterns in the Presence of High-dimensional Data . Sci Rep 2016 ; 6 : 21689 . doi: 10.1038/srep21689 . OpenUrl CrossRef PubMed 9. ↵ Zhang X , Yan C , Gao C , Malin BA , Chen Y . Predicting Missing Values in Medical Data Via XGBoost Regression . J Healthc Inform Res 2020 ; 4 : 383 – 394 . doi: 10.1007/s41666-020-00077-1 . OpenUrl CrossRef PubMed 10. ↵ Szummer K , Wallentin L , Lindhagen L , Alfredsson J , Erlinge D , Held C , et al. Relations between implementation of new treatments and improved outcomes in patients with non-ST-elevation myocardial infarction during the last 20 years: experiences from SWEDEHEART registry 1995 to 2014 . Eur Heart J 2018 ; 39 : 3766 – 3776 . doi: 10.1093/eurheartj/ehy554 . OpenUrl CrossRef PubMed 11. Gill GS , Kanmanthareddy A . NSTEMI Versus STEMI and Cardiogenic Shock: Are Multivessel Interventions Better in One and Not the Other? JACC Cardiovasc Interv 2021 ; 14 : 1850 – 1851 . doi: 10.1016/j.jcin.2021.06.038 . OpenUrl CrossRef PubMed 12. ↵ Osho A , Fernandes MF , Poudel R , de Lemos J , Hong H , Zhao J , et al. Race-Based Differences in ST-Segment–Elevation Myocardial Infarction Process Metrics and Mortality From 2015 Through 2021: An Analysis of 178 062 Patients From the American Heart Association Get With The Guidelines–Coronary Artery Disease Registry . Circulation 2023 ; 148 : 229 – 240 . doi: 10.1161/CIRCULATIONAHA.123.065512 . OpenUrl CrossRef PubMed 13. ↵ Lundberg SM , Lee S-I . A Unified Approach to Interpreting Model Predictions . Advances in Neural Information Processing Systems , vol. 30 , Curran Associates, Inc. ; 2017 . 14. ↵ Jollis JG , Al-Khalidi HR , Roettig ML , Berger PB , Corbett CC , Doerfler SM , et al. Impact of Regionalization of ST-Segment-Elevation Myocardial Infarction Care on Treatment Times and Outcomes for Emergency Medical Services-Transported Patients Presenting to Hospitals With Percutaneous Coronary Intervention: Mission: Lifeline Accelerator-2 . Circulation 2018 ; 137 : 376 – 387 . doi: 10.1161/CIRCULATIONAHA.117.032446 . OpenUrl Abstract / FREE Full Text 15. ↵ Jollis JG , Granger CB , Zègre-Hemsey JK , Henry TD , Goyal A , Tamis-Holland JE , et al. Treatment Time and In-Hospital Mortality Among Patients With ST-Segment Elevation Myocardial Infarction, 2018-2021 . JAMA 2022 ; 328 : 2033 – 2040 . doi: 10.1001/jama.2022.20149 . OpenUrl CrossRef PubMed 16. ↵ Yan C , Gao C , Zhang Z , Chen W , Malin BA , Ely EW , et al. Predicting brain function status changes in critically ill patients via Machine learning . J Am Med Inform Assoc 2021 ; 28 : 2412 – 2422 . doi: 10.1093/jamia/ocab166 . OpenUrl CrossRef PubMed 17. Hyland SL , Faltys M , Hüser M , Lyu X , Gumbsch T , Esteban C , et al. Early prediction of circulatory failure in the intensive care unit using machine learning . Nat Med 2020 ; 26 : 364 – 373 . doi: 10.1038/s41591-020-0789-4 . OpenUrl CrossRef PubMed 18. ↵ Osawa I , Goto T , Yamamoto Y , Tsugawa Y . Machine-learning-based prediction models for high-need high-cost patients using nationwide clinical and claims data . Npj Digit Med 2020 ; 3 : 1 – 9 . doi: 10.1038/s41746-020-00354-8 . OpenUrl CrossRef PubMed 19. ↵ Welcome to the SHAP documentation — SHAP latest documentation n.d. https://shap.readthedocs.io/en/latest/ (accessed January 15, 2024). 20. ↵ Ayilara OF , Zhang L , Sajobi TT , Sawatzky R , Bohm E , Lix LM . Impact of missing data on bias and precision when estimating change in patient-reported outcomes from a clinical registry . Health Qual Life Outcomes 2019 ; 17 : 106 . doi: 10.1186/s12955-019-1181-2 . OpenUrl CrossRef PubMed 21. ↵ Gianfrancesco MA , Tamang S , Yazdany J , Schmajuk G . Potential Biases in Machine Learning Algorithms Using Electronic Health Record Data . JAMA Intern Med 2018 ; 178 : 1544 – 1547 . doi: 10.1001/jamainternmed.2018.3763 . OpenUrl CrossRef PubMed 22. ↵ Xu X , Liu X , Kang Y , Xu X , Wang J , Sun Y , et al. A Multi-directional Approach for Missing Value Estimation in Multivariate Time Series Clinical Data . J Healthc Inform Res 2020 ; 4 : 365 – 382 . doi: 10.1007/s41666-020-00076-2 . OpenUrl CrossRef PubMed 23. ↵ Li Y , Wang H , Luo Y . Improving Fairness in the Prediction of Heart Failure Length of Stay and Mortality by Integrating Social Determinants of Health . Circulation: Heart Failure 2022 ; 15 : e009473 . doi: 10.1161/CIRCHEARTFAILURE.122.009473 . OpenUrl CrossRef PubMed View the discussion thread. Back to top Previous Next Posted May 31, 2025. Download PDF Data/Code Email Thank you for your interest in spreading the word about medRxiv. NOTE: Your email address is requested solely to identify you as the sender of this article. Your Email * Your Name * Send To * Enter multiple addresses on separate lines or separate them with commas. You are going to email the following Machine Learning-Based Models for Imputing Missing Values of Key Predictors of Important Clinical Outcomes in a Large-Scale Registry of Acute Myocardial Infarction Message Subject (Your Name) has forwarded a page to you from medRxiv Message Body (Your Name) thought you would like to see this page from the medRxiv website. Your Personal Message CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions. Share Machine Learning-Based Models for Imputing Missing Values of Key Predictors of Important Clinical Outcomes in a Large-Scale Registry of Acute Myocardial Infarction Haoyun Hong , Remy Poudel , Asishana Osho , Kathie Thomas , Shen Li , Abhinav Goyal , Jennifer L. Hall , Juan Zhao medRxiv 2025.05.29.25328603; doi: https://doi.org/10.1101/2025.05.29.25328603 Share This Article: Copy Citation Tools Machine Learning-Based Models for Imputing Missing Values of Key Predictors of Important Clinical Outcomes in a Large-Scale Registry of Acute Myocardial Infarction Haoyun Hong , Remy Poudel , Asishana Osho , Kathie Thomas , Shen Li , Abhinav Goyal , Jennifer L. Hall , Juan Zhao medRxiv 2025.05.29.25328603; doi: https://doi.org/10.1101/2025.05.29.25328603 Citation Manager Formats BibTeX Bookends EasyBib EndNote (tagged) EndNote 8 (xml) Medlars Mendeley Papers RefWorks Tagged Ref Manager RIS Zotero Tweet Widget Facebook Like Google Plus One Subject Area Health Informatics Subject Areas All Articles Addiction Medicine (567) Allergy and Immunology (863) Anesthesia (297) Cardiovascular Medicine (4411) Dentistry and Oral Medicine (443) Dermatology (380) Emergency Medicine (606) Endocrinology (including Diabetes Mellitus and Metabolic Disease) (1505) Epidemiology (15205) Forensic Medicine (30) Gastroenterology (1119) Genetic and Genomic Medicine (6574) Geriatric Medicine (666) Health Economics (994) Health Informatics (4511) Health Policy (1365) Health Systems and Quality Improvement (1608) Hematology (537) HIV/AIDS (1263) Infectious Diseases (except HIV/AIDS) (15903) Intensive Care and Critical Care Medicine (1103) Medical Education (620) Medical Ethics (144) Nephrology (665) Neurology (6573) Nursing (345) Nutrition (998) Obstetrics and Gynecology (1139) Occupational and Environmental Health (954) Oncology (3319) Ophthalmology (967) Orthopedics (369) Otolaryngology (420) Pain Medicine (435) Palliative Medicine (129) Pathology (662) Pediatrics (1689) Pharmacology and Therapeutics (691) Primary Care Research (710) Psychiatry and Clinical Psychology (5421) Public and Global Health (9205) Radiology and Imaging (2191) Rehabilitation Medicine and Physical Therapy (1367) Respiratory Medicine (1191) Rheumatology (593) Sexual and Reproductive Health (709) Sports Medicine (529) Surgery (709) Toxicology (99) Transplantation (288) Urology (265) (function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'9fe8c2d2d938300f',t:'MTc3OTI1MzA1MQ=='};var a=document.createElement('script');a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.