Skip to main content

Predictive value of the random forest model based on bioelectrical impedance analysis parameter trajectories for short-term prognosis in stroke patients

Abstract

Background

The short-term prognosis of stroke patients is mainly influenced by the severity of the primary disease at admission and the trend of disease development during the acute phase (1–7 days after admission).

Objective

The aim of this study is to explore the relationship between the bioelectrical impedance analysis (BIA) parameter trajectories during the acute phase of stroke patients and their short-term prognosis, and to investigate the predictive value of the prediction model constructed using BIA parameter trajectories and clinical indicators at admission for short-term prognosis in stroke patients.

Methods

A total of 162 stroke patients were prospectively enrolled, and their clinical indicators at admission and BIA parameters during the first 1–7 days of admission were collected. A Group-Based Trajectory Model (GBTM) was employed to identify different subgroups of longitudinal trajectories of BIA parameters during the first 1–7 days of admission in stroke patients. The random forest algorithm was applied to screen BIA parameter trajectories and clinical indicators with predictive value, construct prediction models, and perform model comparisons. The outcome measure was the Modified Rankin Scale (mRS) score at discharge.

Results

PA in BIA parameters can be divided into four separate trajectory groups. The incidence of poor prognosis (mRS: 4–6) at discharge was significantly higher in the “Low PA Rapid Decline Group” (85.0%) than in the “High PA Stable Group “ (33.3%) and in the “Medium PA Slow Decline Group “(29.5%) (all P < 0.05). In-hospital mortality was the highest in the “Low PA Rapid Decline Group” (60%) compared with the remaining trajectory groups (P < 0.05). Compared with the prediction model with only clinical indicators (Model 1), the prediction model with PA trajectories (Model 2) demonstrated higher predictive accuracy and efficacy. The area under the receiver operating characteristic curve (AUC) of Model 2 was 0.909 [95% CI 0.863, 0.956], integrated discrimination improvement index (IDI), 0.035 (P < 0.001), and net reclassification improvement (NRI), 0.175 (P = 0.031).

Conclusion

PA trajectories during the first 1–7 days of admission are associated with the short-term prognosis of stroke patients. PA trajectories have additional value in predicting the short-term prognosis of stroke patients.

Introduction

Stroke is the second leading cause of death and a major contributor to long-term disabilities worldwide. Exploring the influencing factors associated with poor prognosis is of great significance for diagnosis, treatment and improvement of the prognosis of stroke patients [1]. Post-stroke brain injury mainly includes primary brain injury and secondary brain injury [2]. Primary brain injury is irreversible neuronal damage that occurs immediately after stroke due to tissue destruction caused by severe ischemia or hematoma. In contrast, secondary brain injury is reversible neuronal damage caused by ischemia and hypoxia changes in brain tissue due to factors such as excitotoxicity, oxidative stress and inflammation that occur after the primary brain injury, the most severe consequence of which is progressive brain edema, leading to neuronal cell death, exacerbating primary brain injury, and causing systemic dysfunction in other organs, ultimately resulting in poor prognosis [3, 4]. Therefore, in addition to primary brain injury, secondary brain injury after stroke also plays an important role in the poor prognosis of this group of patients [5]. Among them, the dynamic changes of the inflammatory response and nutritional status during the acute phase (1–7 days after stroke onset [6]) are critical in the mechanism of secondary brain injury and disease progression [7,8,9,10,11]. During the acute phase of brain injury, Damage-Associated Molecular Patterns (DAMPs) released from damaged cells can trigger local and systemic inflammatory responses, exacerbating post-stroke brain edema and vasospasm [2, 12], leading to the development of delayed brain injury and systemic secondary complications (such as stroke-associated pneumonia [13], gastrointestinal dysfunction [14], and cardiorenal insufficiency [15, 16]), severely affecting clinical outcomes in this group of patients. In addition, the inflammatory response during the acute phase in first 1–7 days of admission can cause increased catabolism, resulting in greater nutritional demands. Coupled with factors such as impaired consciousness, neurogenic swallowing disorders and gastrointestinal dysfunction, nutritional intake becomes insufficient, further deteriorating the nutritional status in this group of patients. The persistence and progressive development of this hypoimmune hypermetabolic state further aggravates inflammation, creating a vicious circle that leads to a poor prognosis and even accelerates mortality in stroke patients [17,18,19]. Therefore, the early prognostic evaluation of stroke patients should integrate the severity of the primary disease injury at admission and the changes in inflammation and nutritional status during the acute phase.

Currently, the indicators that can be used to predict the prognosis of stroke patients include National Institutes of Health Stroke Scale (NIHSS), Red Blood Cell Distribution Width (RDW), Prognostic Nutritional Index (PNI), and Hemoglobin, Albumin, Lymphocyte, and Platelet score (HALP) [20,21,22,23]. However, NIHSS mainly reflects the degree of primary neurological impairment at the onset of disease and cannot assess the dynamic course and trend of acute-phase inflammation and nutritional status along with the pathophysiological development. Previous studies have indicated that the main indicators available to assess inflammation and nutritional status are biochemical indicators, including RDW, PNI and HALP [22,23,24]. However, the detection of biochemical indicators is usually invasive and limited by disease diagnosis and treatment, making it inconvenient for dynamic assessment. Therefore, there is a need to explore clinically valid indicators for the dynamic assessment of inflammation and nutritional status during the acute phase of stroke patients, which also have predictive value for their prognosis. Bioelectrical impedance analysis (BIA) has now been widely used in the assessment of inflammation and nutritional status and prognosis prediction in patients with cancer, hemodialysis and heart failure because of its objective, noninvasive, easy-to-use, reproducible and rapid results [25,26,27,28]. Among the BIA parameters, Phase Angle (PA), Skeletal Muscle Mass (SMM) and edema index (ECW/TBW) are considered to be closely related to inflammation and nutritional status [29,30,31,32]. Among them, PA is the most classic and most concerned effective prognostic indicator [33]. It is the ratio of reactance (Xc) to resistance (R) obtained by BIA measurement and expressed as an Angle that can be used to assess membrane integrity and cell function, with lower PA associated with damage to cell structure and increased cell death [34]. However, there is limited research on BIA in stroke patients. Further validation is needed to continue exploring the value of prognostic prediction in this group of patients by examining its dynamic changes.

This study prospectively collected clinical data, inflammation and nutrition-related biochemical indicators at admission, as well as BIA parameters during the first 1–7 days of admission from 162 stroke patients. A Group-Based Trajectory Model (GBTM) was constructed for the BIA parameters, and the random forest algorithm was utilized to select BIA parameters and clinical indicators with predictive value, to clarify the relationship between the dynamic changing trajectory of BIA parameters and clinical outcomes in this group of patients and to construct a predictive model for the short-term prognosis of stroke patients. This study seeks to identify a non-invasive and continuously observable bedside assessment tool for clinical observation of stroke patients during the acute phase, especially the early identification and dynamic changes in inflammation and nutritional status, providing reference for early comprehensive and accurate prognostic prediction for these patients.

Methods

Study design and participants

This is an observational study that includes stroke patients admitted to the Department of Neurology, the First Affiliated Hospital of Chongqing Medical University, from July 2022 to January 2023. Continuous BIA measurements were performed within the first 1–7 days of admission in patients who met the inclusion criteria, and clinical data were prospectively collected throughout their hospital stay. The outcome was grouped by mRS scores at discharge and analyzed. The study was conducted in accordance with the Declaration of Helsinki, approved by the Medical Ethics Committee of the First Affiliated Hospital of Chongqing Medical University, and registered in the Chinese Clinical Trials Registry (www.chictr.org.cn/) under the registration number ChiCTR2300069198.

Inclusion criteria

  1. 1)

    Age ≥ 18 years;

  2. 2)

    A brain computed tomography (CT) scan or magnetic resonance imaging (MRI) scan was performed before or during hospitalization, meeting the World Health Organization (WHO) diagnostic criteria for stroke [35], with a confirmed diagnosis of either ischemic or hemorrhagic stroke;

  3. 3)

    Patients in the acute phase of stroke, i.e., within 1–7 days of symptom onset [6].

  4. 4)

    All patients or their guardians provided written informed consent.

Exclusion criteria

  1. 1)

    Patients who are unable to undergo BIA measurements due to hemodynamic instability, amputation, implantation of a metallic device (such as a pacemaker or artificial femoral head), skin damage in the area where the BIA electrodes are attached, etc.;

  2. 2)

    BIA continuous measurement times  4 times (see Fig. 1).

Fig. 1
figure 1

Patient recruitment flowchart. BIA bioelectrical impedance analysis, mRS the Modified Rankin Scale

Outcome indicators

Primary outcome indicator: Modified Rankin Scale (mRS) score at discharge [36]. The mRS is scored from 0 to 6, where 0 indicates no symptoms; 1 indicates symptoms but no impact on daily activities and work; 2 indicates slight disability, where some activities of daily living cannot be performed but can manage daily tasks without assistance; 3 indicates moderate disability, requiring some assistance but can walk without assistance; 4 indicates moderately severe disability, where the patients is unable to walk and meet self-care needs without assistance; 5 indicates severe disability, with complete dependence on others for daily living; 6 indicates death. Higher scores indicate more severe neurological impairment. An mRS score of 0–3 represents a favorable neurological prognosis, while a score of 4–6 represents a poor neurological prognosis.

Sample size calculation

This research adopted the sample size estimation for prediction model recommended by Richard D. Riley [37]. According to previous literature, the rates of poor prognosis in stroke patients at hospital discharge ranged from 33.2 to 55.1% [38, 39], and 44% was taken in this study. Assuming that the number of predictors is between 5 and 7, and the root mean square error (Criterion value rMPSE) is 0.11–0.12, at least 160 patients are required for this research.

Data collection methods

  1. 1)

    Clinical data: including age, gender, day 1 admission-related indicators body mass index (BMI), National Institutes of Health Stroke Scale (NIHSS), Charlson Comorbidity Index (CCI) and diagnosis (Ischemic stroke and hemorrhagic stroke);

  2. 2)

    Biochemical indicators within the first day of admission: including albumin (Alb); total lymphocyte count (TLC); RDW; PNI; Hemoglobin, Albumin, Lymphocyte and Platelet Score (HALP);

  3. 3)

    BIA parameters from 1 to 7 days after admission: including PA, SMM, fat-free mass (FFM), body cell mass (BCM), extracellular mass/body cell mass (ECM/BCM) and extracellular water/total body water (ECW/TBW).

All clinical data were recorded and collected by 2 dedicated research assistants through an electronic medical record system. All BIA data were measured and recorded by 2 dedicated dietitians using the BIA (InBody S10) instrument (see Appendix for detail), and data entry was performed separately. Following data entry, the patient’s name and medical record number were removed and the patient was given a unique study number. A designated study coordinator organized and confirmed the accuracy of all data, and manually verified inconsistent or out-of-range values. The data set was validated and cleaned prior to statistical analysis to prevent any further changes and to ensure consistency and integrity of statistical reporting and analysis data. All researchers who collected and collated the data were unaware of the study.

Definition of clinical and laboratory indicators

Relevant clinical indicators and definitions of BIA parameters in the study are presented in the appendix (please refer to the Additional file 1 for details).

Trajectory group modeling

The trajectory analysis model is mainly used for tracking data analysis of the aggregate with heterogeneity. Its principle is to explore the subgroups with different development trajectories in the aggregate for the existence of heterogeneity in the aggregate, and then analyze the development trends of different subgroups and their trajectory characteristics. In this study, we applied the group-based modeling of longitudinal data using the software Stata15.1 (StataCrop LLC 4905 Lakeway Drive College Station TX77845 USA) to determine trajectories of BIA parameters in stroke patients during the first 1–7 days of admission. The number of subgroups of the BIA parametric trajectory model and the functional model of each subgroup are determined according to the following principles: the Bayesian Information Criterion (BIC) with the minimum absolute value and the Average Post-hoc Grouping Probability (AvePP) > 0.70 for each trajectory group. The closer the absolute value of BIC to 0, the better the model fits, and AvePP > 0.70 indicates a high degree of conformity between the members within the subgroup and their corresponding trajectory after grouping according to the trajectory [40].

Prediction model construction and model comparison

Random forest (RF) is an integrated machine learning (ML) algorithm. Through the use of bagging technique, it has introduced random selection attributes during the training process based on decision trees. RF is characterized by its simplicity, easy implementation, and low computational cost, and it has demonstrated excellent performance in numerous real-world tasks, such as assisting in clinical decision-making and predicting prognosis [41]. In this study, the Boruta package in R (version 4.0.2, R Foundation for Statistical Computing, Vienna, Austria, https://www.R-project.org/) was used to select important characteristic variables with predictive value. The random forest package was employed to construct a prediction model for the functional outcome of stroke patients at hospital discharge. Internal validation of the model was performed using tenfold cross-validation. The AUC, accuracy, sensitivity, and specificity were applied to describe the predictive value of the model. The DeLong’s test, DCA, NRI, and IDI were used to describe the prediction performance of different models. These four methods were implemented using the pROC package, rmda package, nricens package, and PredictABE package package in the R language, respectively.

Description of statistical methods

All data in this study were entered through (Access 2016) and analyzed for differences using SPSS (version 25.0). Normally distributed metric data were described as mean ± standard deviation (x ± s). Comparisons between groups were performed using independent samples t test (two groups) or ANOVA (three and more groups), with post-hoc pairwise comparisons using the SNK-q test. Skewed distributed metric data were expressed as median (interquartile range) (M(IQR)). Comparisons between groups were conducted using the Mann–Whitney U test (two groups) and the Kruskal–Wallis test (three and more groups), with pairwise comparisons adjusting P values using the Dunn–Bonferroni method. Categorical variables were expressed as counts and percentages. Comparisons between groups were carried out using the chi-square test, with post-hoc pairwise comparisons adjusting P values using the Bonferroni method. A P value < 0.05 was considered statistically significant.

Results

Analysis of the general data of two groups of patients with good and poor prognosis

During the study period, a total of 230 stroke patients were admitted to the Neurology Department. Among them, 68 patients were excluded for reasons such as inability to measure BIA. Finally, 162 patients were included for analysis. Table 1 shows the comparison of the clinical data and biochemical indicators between the two groups of patients. In the clinical data, the poor prognosis group had higher age, NIHSS and CCI at admission and lower BMI compared to the good prognosis group; in biochemical indicators, compared to the good prognosis group, the poor prognosis group had lower Alb, TLC, PNI, and HALP and higher RDW. The differences between the two groups were statistically significant (P < 0.05), whereas the differences in gender and diagnosis were not statistically significant between the two groups (P > 0.05).

Table 1 Comparison of clinical data and the characteristics of biochemical indicators between two groups of stroke patients with different prognosis

Grouping process for BIA parametric trajectory modeling

GBTM was applied to identify the trajectories of BIA parameters (PA, FFM, BCM SMM, ECM/BCM and ECW/TBW) within the first 1–7 days of admission. Model evaluation indicators and the distribution of patients within each group are shown in Table 2. The optimal trajectory models selected for further study were Group PA4, Group FFM4, Group BCM3, Group SMM3, Group ECM/BCM2, and Group ECW/TBW2, with all groups having AVEPP > 0.7 and Entropy > 0.8. The fit of the trajectory analysis models with different subgroups are detailed in Additional file 2 Table S1.

Table 2 Evaluation indicators related to the modeling of BIA parameter trajectories in stroke patients within 1–7 days of admission

Screening of BIA parameter trajectories and other variables with prognostic predictive value

A total of 17 parameters, all that indicators relevant to the BIA parameter trajectories (PA, FFM, BCM, SMM, ECM/BCM, ECW/TBW) and baseline characteristics analysis, were included and screened by applying Boruta algorithm. Ultimately, 7 parameters were identified to have predictive significance for poor prognosis at discharge (mRS: 4–6). Among all BIA parameter trajectories, PA trajectories demonstrated prognostic significance (see Fig. 2).

Fig. 2
figure 2

Screening of BIA parameter trajectories and other variables with prognostic predictive value. Box plots of all features attribute plus minimum, average, and maximum shadow scores; Green indicates feature variables with predictive value for prognosis, yellow indicates feature variables with unclear predictive value for prognosis, and red indicates feature variables with no predictive value. Alb albumin, BMI body mass index, CCI Charlson Comorbidity Index, HALP Hemoglobin, Albumin, Lymphocyte and Platelet Score, NIHSS National Institutes of Health Stroke Scale, PNI Prognostic Nutritional Index Score, RDW red blood cell volume distribution width, TLC total lymphocyte count, BCM body cell mass, ECM extracellular mass, ECW extracellular water, FFM fat-free mass, PA phase angle, SMM skeletal muscle mass, TBW total body water

Trend analysis of PA trajectories diagram and groups of trajectories

PA trajectories analysis showed that the initial mean values (on the first day of admission) for the PA trajectory groups were as follows: Group 1 (3.412), Group 2 (4.569), Group 3 (5.479), and Group 4 (6.481). Among them, the PA values in Group 1, Group 2, and Group 3 declined gradually over time, while there was no significant change in Group 4. Group 1 had the fastest decline rate in PA value (β = − 0.071, P < 0.05) compared to Group 2 (β = − 0.039, P < 0.05) and Group 3 (β = − 0.026, P < 0.05), (see Additional file 2 Table S2). Therefore, based on the initial value and decline rate of each trajectory group, the Group 1, Group 2, Group 3 and Group 4 were named as “Low PA Rapid Decline Group”, “Low PA Slow Decline Group”, “Medium PA Slow Decline Group”, and “High PA Stable Group” respectively. Each group of patients accounted for 12.35%, 27.78%, 37.65%, and 22.22% of the total number of patients, respectively (see Fig. 3).

Fig. 3
figure 3

PA trajectory patterns within the first 1–7 days of admission. Trajectory models identified 4 distinct trajectory subgroups of PA in the stroke patients cohort. Solid lines show the mean PA levels for specific categories as a function of hospital stay. Dashed lines indicate estimated 95% confidence intervals. Orange, green, red and blue indicate the different trajectory groups respectively. PA phase angle

Characteristics analysis of the PA trajectory groups

The characteristic analysis of the four PA trajectory groups showed significant differences (P < 0.05) in clinical data (age, sex, NIHSS, CCI), biochemical indicators (Alb, TLC, PNI, RDW, HALP) and prognostic indicators (mRS at discharge, in-hospital mortality, length of hospital stay, total hospitalization cost, daily hospitalization cost) between the groups. Among them, the comparison of the main outcome indicator (mRS at discharge) showed that the incidence of poor prognosis (mRS: 4–6) at discharge was significantly higher in the “Low PA Rapid Decline Group” (85.0%) than in the “High PA Stable Group” (33.3%), P < 0.05. However, the NIHSS for the two group of patients at admission was (14.0 [9.5–22.0]) vs (7.5 [3.0–12.5]) respectively, and the total length of hospital stay was (11.5 [7.5–27.5] days) vs (16.0 [13.5–21.0] days), respectively, and the difference between those two groups was not statistically significant (P > 0.05) (see Table 3).

Table 3 Comparison of clinical data, the characteristics of biochemical indicators and prognosis among patients in different PA trajectory groups

Random forest prediction model for early prognosis of stroke patients

Two prediction models were constructed using the random forest algorithm. Model 1 incorporated characteristic variables with predictive significance, including NIHSS, HALP, BMI, RDW, TLC and Age, while Model 2 added PA trajectory groups on the basis of Model 1. The results suggested that Model 2 had higher AUC (0.909 vs 0.895), accuracy (88.27% vs 85.80%), sensitivity (92.86% vs 88.57%), and specificity (84.78% vs 83.70%) than Model 1 (see Table 4 and Fig. 4). Compared with Model 1, Model 2 increased the diagnostic efficacy by 3.5% (IDI = 0.035, P < 0.001), improved the accuracy of prognostic prediction in stroke patients at hospital discharge by 17.5% (NRI = 0.175, P = 0.031), improved the prediction accuracy for poor prognosis in stroke patients at hospital discharge by 14.3% (NRI(+) = 0.143, P = 0.034), and improved the prediction accuracy for good prognosis in stroke patients at hospital discharge by 3.3% (NRI(−) = 0.033, P = 0.484) (see Table 5).

Table 4 Outcomes of different models for predicting the poor prognosis of stroke patients at hospital discharge
Fig. 4
figure 4

Receiver operating characteristic (ROC) curve for predicting the poor prognosis of stroke patients at hospital discharge with random forest based on tenfold cross-validation. Model 1 includes NIHSS, HALP, BMI, RDW, TLC and age. Model 2 includes the variables of Model 1 plus PA trajectory groups

Table 5 Comparison of different prediction models for the poor prognosis of stroke patients at hospital discharge

Discussion

This is an observational study. GBTM had first been employed for the dynamic BIA parameters in 162 stroke patients during their first 1–7 days of admission, to identify the trajectories of BIA parameters that can reflect acute-phase inflammation and nutritional status and with prognostic prediction value. By combining with the clinical indicators at the time of admission, we constructed the random forest model to predict the short-term prognosis of stroke patients. Our study found that PA trajectories from BIA parameters, which represent the changes in inflammation and nutritional status during the acute phase. PA trajectories were valid predictive indicators for short-term prognosis in stroke patients. The random forest model, which simultaneously includes PA trajectories, NIHSS, HALP, BMI, RDW, TLC and age, can comprehensively reflect the disease severity at admission and the dynamic changes in acute-phase inflammation and nutritional status in stroke patients. This model has high predictive value, providing a more comprehensive and accurate reference basis for patients’ observation and prognostic prediction (see Fig. 5).

Fig. 5
figure 5

The flowchart of this study. Trajectory modeling using consecutively measured BIA parameters during the first 1–7 days of admission to derive optimal trajectory groupings for different BIA parameters; select important feature variables with predictive value, including BIA parameter trajectories and clinical indicators at admission; constructing a random forest prediction model based on selected feature variables; internal validation of models using ten-fold cross-validation

PA provides important information about cell health [33]. In disease states, the decline of PA is mainly caused by inflammation, malnutrition, or a combination of both [42]. Several studies have shown that PA is a valid predictive indicator of poor clinical outcomes in stroke patients at discharge [43,44,45]. However, the PA thresholds used to define poor outcomes in those studies were all static results at a single time point, leading to significant heterogeneity and limited clinical applicability. In contrast, our study collected dynamic data of PA through continuous BIA measurement, providing a more comprehensive observation of the dynamic changes and development trends in inflammation and nutritional status during the acute phase of stroke patients. In this study, patients in the “Low PA Slow Decline Group” and “Low PA Rapid Decline Group” both had lower PA at admission. This result suggests that these patients may have been in a status of malnutrition and immune impairment before admission, resulting in decreased muscle mass and reduced cellular function [43, 46]. Moreover, the lower the initial PA value is, the faster its decline over time (within 1–7 days of admission) goes, and the higher the risk of poor prognosis exists. This result indicates that patients with lower PA at admission have poorer nutritional immune status, weaker anti-stress reserve capacity, whereas the acute-phase inflammatory response and oxidative stress lead to further damage to the cellular structure and membrane integrity of the affected organs, accelerating the cell death, which manifests as a rapid decrease in PA. Therefore, low PA at admission and its decline rate are positively correlated with the overall condition and degree of organ involvement, thus affecting patient prognosis [47,48,49]. However, we also observed that stroke patients from the “High PA Stable Group” and the “Medium PA Slow Decline Group” had relatively better short-term prognosis with lower risks of poor clinical outcomes at discharge. Interestingly, both the “High PA Stable Group” and the “Low PA Rapid Decline Group” had longer hospital stays (11.5 [7.5–27.5] vs 16.0 [13.5–21.0] days) (see Table 3), but the short-term prognosis of patients in the two groups were totally different. These results suggest that despite these patients had all experienced the disease progression during the acute phase of stroke, patients with stronger stress recovery capabilities, due to good initial nutritional immune status, may have a better prognosis or benefit more from aggressive treatment. Therefore, PA trajectories can reflect the dynamic changes in nutritional immune status of stroke patients at admission and during the acute phase and can serve as valid indicators for predicting the early prognosis of this group of patients.

NIHSS is a classic prognostic prediction indicator in stroke patients, reflecting the severity of the primary brain injury, and its score is positively correlated with the risk of poor prognosis in this group of patients [50]. In the random forest model of this study, NIHSS is also an important predictive indicator for the short-term prognosis of stroke patients. However, it is worth noting that in the comparison of the characteristics of the PA trajectory groups, although the incidence of poor prognosis at discharge was significantly higher in the “Low PA Rapid Decline Group” than in the “High PA Stable Group”, there was no statistically significant difference in NIHSS scores at admission between the two groups. This result indicates that although the poor prognosis of stroke patients is closely related to the severity of primary brain injury, the dynamic development trend of inflammation and nutritional status during the acute phase, i.e., the secondary injury also contributes significantly to the occurrence of poor prognosis. Furthermore, the random forest model of this study showed that age, BMI, and biochemical indicators (HALP, RDW, and TLC) at admission were also valid predictive indicators for the short-term prognosis of stroke patients. Previous studies have shown that elderly stroke patients usually have lower BMI and higher NIHSS scores at admission, suggesting that this group of patients have poorer nutritional immune status, more severe primary brain injury, and a higher risk of progressing to severe cases with poorer prognosis [34, 51,52,53,54]. It is worth noting that most of the above predictive indicators are static data, only reflecting the disease status and the severity of the primary disease injury at the time of testing, and unable to dynamically assess the impact of the changing pathophysiology of the disease on the overall condition. However, the prognosis of stroke patients is influenced by both the severity of primary disease injury and the inflammation and nutritional status during the acute phase. Therefore, in this study, a random forest prediction model was built to predict the early prognosis of stroke patients by combining the PA trajectory groups and the static indicators (NIHSS, age, BMI, HALP, RDW, TLC) at admission. Its AUC was as high as 0.909, and its accuracy, sensitivity and specificity were 88.27%, 92.86% and 84.78%, respectively. The inclusion of PA trajectory groups increased the diagnostic efficacy of the model and improved the discriminative ability for poor and good prognosis in stroke patients at hospital discharge. BIA can be used as an effective assessment tool for predicting the short-term prognosis of stroke patients in the clinical environment.

Limitations

Our study had certain limitations. First, this study is a single-center observational study, and the stroke prognostic prediction model in this study needs to be externally validated in a multi-center, large-sample population to further test the reliability of this prediction model. Second, this study only monitored the trajectory of BIA parameters and their impact on prognosis in stroke patients during their acute phase within 1–7 days of admission. It did not conduct further analysis on the impact of changes in BIA-related parameters on prognosis after 7 days of admission. Therefore, the following studies could include BIA-related parameters after 7 days of admission to better reflect the complete pathological changes of inflammation and nutritional status and their impact on prognosis. Finally, this study only focused on the short-term prognosis of stroke patients at discharge. Longer follow-up is needed in the future. Further studies are necessary to investigate the relationship between BIA parameters reflecting inflammation and nutritional status and the long-term prognosis of stroke patients.

Conclusion

PA trajectories during the acute phase (1–7 days after admission) are valid indicators dynamically reflecting the inflammation and nutritional status in stroke patients and predicting their short-term prognosis. The random forest prediction model being built by combining the clinical indicators at admission and PA trajectories at acute phase can accurately predict the neurological function prognosis of these patients at discharge. This study has developed a new, non-invasive and continuously observable bedside assessment tool for acute-phase observation in stroke patients, especially the early identification and dynamic changes of the inflammation and nutritional status. This tool is easy to operate, quick to measure, and provides objective and accurate results, making it easily applicable in clinical settings. It is worth noting that this study also proposes that evaluating early prognosis in stroke patients should not only consider the severity of primary brain injury but also the influence of dynamic changes in acute-phase inflammation and nutritional status, i.e., secondary injury on prognosis. Adding monitoring of acute-phase disease progression in stroke patients is an innovative attempt to improve the process of clinical observation and early prognostic prediction, providing further reference for precision medical practices.

Availability of data and materials

The data are available from the corresponding author upon reasonable request.

Abbreviations

Alb:

Albumin

AIC:

Akaike Information Criterion

AUC:

Area under the receiver operating characteristic curve

AvePP:

Average post hoc grouping probability

BCM:

Body cell mass

BIA:

Bioimpedance analysis

BIC:

Bayesian information criterion

BMI:

Body mass index

CCI:

Charlson Comorbidity Index

CI:

Confidence interval

DAMPs:

Damage-associated molecular patterns

ECM:

Extracellular mass

ECW:

Extracellular water

FFM:

Fat-free mass

GBTM:

Group-based trajectory model

HALP:

Hemoglobin, Albumin, Lymphocyte and Platelet Score

IDI:

Integrated discrimination improvement index

mRS:

Modified Rankin Scale

ML:

Machine learning

NPV:

Negative predictive

NRI:

Net reclassification improvement

NIHSS:

National Institutes of Health Stroke Scale

PA:

Phase angle

PNI:

Prognostic Nutritional Index Score

PPV:

Positive predictive value

RDW:

Red blood cell volume distribution width

ROC:

Receiver operating characteristic

RF:

Random forest

SMM:

Skeletal muscle mass

TBW:

Total body water

TLC:

Total lymphocyte count

References

  1. Shehjar F, Maktabi B, Rahman ZA, et al. Stroke: molecular mechanisms and therapies: update on recent developments. Neurochem Int. 2023;162: 105458.

    Article  CAS  PubMed  Google Scholar 

  2. Shi K, Tian DC, Li ZG, et al. Global brain inflammation in stroke. Lancet Neurol. 2019;18(11):1058–66.

    Article  PubMed  Google Scholar 

  3. Duris K, Splichal Z, Jurajda M. The role of inflammatory response in stroke associated programmed cell death. Curr Neuropharmacol. 2018;16(9):1365–74.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  4. Cui P, McCullough LD, Hao J. Brain to periphery in acute ischemic stroke: mechanisms and clinical significance. Front Neuroendocrinol. 2021;63: 100932.

    Article  PubMed  PubMed Central  Google Scholar 

  5. Robba C, van Dijk EJ, van der Jagt M. Acute ischaemic stroke and its challenges for the intensivist. Eur Heart J Acute Cardiovasc Care. 2022;11(3):258–68.

    Article  PubMed  Google Scholar 

  6. Stinear CM, Lang CE, Zeiler S, et al. Advances and challenges in stroke rehabilitation. Lancet Neurol. 2020;19(4):348–60.

    Article  CAS  PubMed  Google Scholar 

  7. Li T, Liesz A. Immunity in stroke: the next frontier. Thromb Haemost. 2022;122(9):1454–60.

    Article  PubMed  Google Scholar 

  8. Monsour M, Borlongan CV. The central role of peripheral inflammation in ischemic stroke. J Cereb Blood Flow Metab. 2023;43(5):622–41.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  9. Bobyn PJ, Corbett D, Saucier DM, et al. Protein-energy malnutrition impairs functional outcome in global ischemia. Exp Neurol. 2005;196(2):308–15.

    Article  CAS  PubMed  Google Scholar 

  10. Huppertz V, Guida S, Holdoway A, et al. Impaired nutritional condition after stroke from the hyperacute to the chronic phase: a systematic review and meta-analysis. Front Neurol. 2021;12: 780080.

    Article  PubMed  Google Scholar 

  11. Ciancarelli I, Morone G, Iosa M, et al. Influence of oxidative stress and inflammation on nutritional status and neural plasticity: new perspectives on post-stroke neurorehabilitative outcome. Nutrients. 2022;15(1):108.

    Article  PubMed  PubMed Central  Google Scholar 

  12. Eisenhut M. Vasospasm in cerebral inflammation. Int J Inflamm. 2014;2014: 509707.

    Article  Google Scholar 

  13. Wang H, Zhang S, Xie L, et al. Neuroinflammation and peripheral immunity: focus on ischemic stroke. Int Immunopharmacol. 2023;120: 110332.

    Article  CAS  PubMed  Google Scholar 

  14. Pluta R, Januszewski S, Czuczwar SJ. The role of gut microbiota in an ischemic stroke. Int J Mol Sci. 2021;22(2):915.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  15. Ziaka M, Exadaktylos A. The heart is at risk: understanding stroke–heart–brain interactions with focus on neurogenic stress cardiomyopathy—a review. J Stroke. 2023;25(1):39–54.

    Article  PubMed  PubMed Central  Google Scholar 

  16. Zhao Q, Yan T, Chopp M, et al. Brain–kidney interaction: renal dysfunction following ischemic stroke. J Cereb Blood Flow Metab. 2020;40(2):246–62.

    Article  CAS  PubMed  Google Scholar 

  17. Sabbouh T, Torbey MT. Malnutrition in stroke patients: risk factors, assessment, and management. Neurocrit Care. 2018;29(3):374–84.

    Article  PubMed  PubMed Central  Google Scholar 

  18. Jensen GL. Malnutrition and inflammation—“burning down the house”: inflammation as an adaptive physiologic response versus self-destruction? JPEN J Parenter Enteral Nutr. 2015;39(1):56–62.

    Article  PubMed  Google Scholar 

  19. Stumpf F, Keller B, Gressies C, et al. Inflammation and nutrition: friend or foe? Nutrients. 2023;15(5):1159.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  20. Sato S, Toyoda K, Uehara T, et al. Baseline NIH Stroke Scale Score predicting outcome in anterior and posterior circulation strokes. Neurology. 2008;70(24 Pt 2):2371–7.

    Article  CAS  PubMed  Google Scholar 

  21. Pinho J, Marques SA, Freitas E, et al. Red cell distribution width as a predictor of 1-year survival in ischemic stroke patients treated with intravenous thrombolysis. Thromb Res. 2018;164:4–8.

    Article  CAS  PubMed  Google Scholar 

  22. Han X, Cai J, Li Y, et al. Baseline objective malnutritional indices as immune-nutritional predictors of long-term recurrence in patients with acute ischemic stroke. Nutrients. 2022;14(7):1337.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  23. Tian M, Li Y, Wang X, et al. The hemoglobin, albumin, lymphocyte, and platelet (HALP) score is associated with poor outcome of acute ischemic stroke. Front Neurol. 2020;11: 610318.

    Article  PubMed  Google Scholar 

  24. Dang C, Wang M, Qin T, et al. Clinical importance of preoperative red-cell volume distribution width as a prognostic marker in patients undergoing radical surgery for pancreatic cancer. Surg Today. 2022;52(3):465–74.

    Article  PubMed  Google Scholar 

  25. Kyle UG, Bosaeus I, De Lorenzo AD, et al. Bioelectrical impedance analysis—part I: review of principles and methods. Clin Nutr. 2004;23(5):1226–43.

    Article  PubMed  Google Scholar 

  26. Jiang N, Zhang J, Cheng S, et al. The role of standardized phase angle in the assessment of nutritional status and clinical outcomes in cancer patients: a systematic review of the literature. Nutrients. 2022;15(1):50.

    Article  PubMed  PubMed Central  Google Scholar 

  27. Guo Y, Zhang M, Ye T, et al. Application of bioelectrical impedance analysis in nutritional management of patients with chronic kidney disease. Nutrients. 2023;15(18):3941.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  28. Popiolek-Kalisz J, Szczygiel K. Bioelectrical impedance analysis and body composition in cardiovascular diseases. Curr Probl Cardiol. 2023;48(11): 101911.

    Article  PubMed  Google Scholar 

  29. Player EL, Morris P, Thomas T, et al. Bioelectrical impedance analysis (BIA)-derived phase angle (PA) is a practical aid to nutritional assessment in hospital in-patients. Clin Nutr. 2019;38(4):1700–6.

    Article  CAS  PubMed  Google Scholar 

  30. Barrea L, Muscogiuri G, Pugliese G, et al. Phase angle as an easy diagnostic tool of meta-inflammation for the nutritionist. Nutrients. 2021;13(5):1446.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  31. van Gassel R, Baggerman MR, van de Poll M. Metabolic aspects of muscle wasting during critical illness. Curr Opin Clin Nutr Metab Care. 2020;23(2):96–101.

    Article  PubMed  PubMed Central  Google Scholar 

  32. Zheng K, Lu J, Liu X, et al. The clinical application value of the extracellular-water-to-total-body-water ratio obtained by bioelectrical impedance analysis in people with advanced cancer. Nutrition. 2022;96: 111567.

    Article  CAS  PubMed  Google Scholar 

  33. Bellido D, García-García C, Talluri A, et al. Future lines of research on phase angle: strengths and limitations. Rev Endocr Metab Disord. 2023;24(3):563–83.

    Article  PubMed  PubMed Central  Google Scholar 

  34. Baumgartner RN, Chumlea WC, Roche AF. Bioelectric impedance phase angle and body composition. Am J Clin Nutr. 1988;48(1):16–23.

    Article  CAS  PubMed  Google Scholar 

  35. Stroke--1989. Recommendations on stroke prevention, diagnosis, and therapy. Report of the WHO Task Force on Stroke and other Cerebrovascular Disorders. Stroke, 1989;20(10):1407–31.

  36. Kasner SE. Clinical interpretation and use of stroke scales. Lancet Neurol. 2006;5(7):603–12.

    Article  PubMed  Google Scholar 

  37. Riley RD, Ensor J, Snell K, et al. Calculating the sample size required for developing a clinical prediction model. BMJ. 2020;368: m441.

    Article  PubMed  Google Scholar 

  38. Zhang P, Wang G, Gui Y, et al. Serum vaspin as a predictor of severity and prognosis in acute ischemic stroke patients. Nutr Neurosci. 2022;25(4):737–45.

    Article  CAS  PubMed  Google Scholar 

  39. Wu S, Pan Y, Zhang N, et al. Lower serum uric acid level strongly predict short-term poor functional outcome in acute stroke with normoglycaemia: a cohort study in China. BMC Neurol. 2017;17(1):21.

    Article  PubMed  PubMed Central  Google Scholar 

  40. Nagin DS, Odgers CL. Group-based trajectory modeling in clinical research. Annu Rev Clin Psychol. 2010;6:109–38.

    Article  PubMed  Google Scholar 

  41. Li J, Tian Y, Zhu Y, et al. A multicenter random forest model for effective prognosis prediction in collaborative clinical research network. Artif Intell Med. 2020;103: 101814.

    Article  PubMed  Google Scholar 

  42. Stobäus N, Pirlich M, Valentini L, et al. Determinants of bioelectrical phase angle in disease. Br J Nutr. 2012;107(8):1217–20.

    Article  PubMed  Google Scholar 

  43. Bise T, Yoshimura Y, Wakabayashi H, et al. Association between BIA-derived phase angle and sarcopenia and improvement in activities of daily living and dysphagia in patients undergoing post-stroke rehabilitation. J Nutr Health Aging. 2022;26(6):590–7.

    Article  CAS  PubMed  Google Scholar 

  44. Abe T, Yoshimua Y, Imai R, et al. A combined assessment method of phase angle and skeletal muscle index to better predict functional recovery after acute stroke. J Nutr Health Aging. 2022;26(5):445–51.

    Article  CAS  PubMed  Google Scholar 

  45. Abe T, Yoshimura Y, Imai R, et al. Impact of phase angle on physical function in patients with acute stroke. J Stroke Cerebrovasc Dis. 2021;30(9): 105941.

    Article  PubMed  Google Scholar 

  46. Sato Y, Yoshimura Y, Abe T. Phase angle as an indicator of baseline nutritional status and sarcopenia in acute stroke. J Stroke Cerebrovasc Dis. 2022;31(1): 106220.

    Article  PubMed  Google Scholar 

  47. Do APT, de Oliveira K, de Carvalho PP, et al. Phase angle assessment in critically ill cancer patients: relationship with the nutritional status, prognostic factors and death. J Crit Care. 2018;44:430–5.

    Article  Google Scholar 

  48. Da SB, Orsso CE, Gonzalez MC, et al. Phase angle and cellular health: inflammation and oxidative damage. Rev Endocr Metab Disord. 2023;24(3):543–62.

    Article  Google Scholar 

  49. Lee YH, Lee JD, Kang DR, et al. Bioelectrical impedance analysis values as markers to predict severity in critically ill patients. J Crit Care. 2017;40:103–7.

    Article  PubMed  Google Scholar 

  50. Tseng MC, Chang KC. Stroke severity and early recovery after first-ever ischemic stroke: results of a hospital-based study in Taiwan. Health Policy. 2006;79(1):73–8.

    Article  PubMed  Google Scholar 

  51. Ryu WS, Lee SH, Kim CK, et al. Body mass index, initial neurological severity and long-term mortality in ischemic stroke. Cerebrovasc Dis. 2011;32(2):170–6.

    Article  PubMed  Google Scholar 

  52. Turcato G, Cervellin G, Cappellari M, et al. Early function decline after ischemic stroke can be predicted by a nomogram based on age, use of thrombolysis, RDW and NIHSS score at admission. J Thromb Thrombolysis. 2017;43(3):394–400.

    Article  PubMed  Google Scholar 

  53. Yuan K, Zhu S, Wang H, et al. Association between malnutrition and long-term mortality in older adults with ischemic stroke. Clin Nutr. 2021;40(5):2535–42.

    Article  PubMed  Google Scholar 

  54. Murayama H, Liang J, Shaw BA, et al. Age and gender differences in the association between body mass index and all-cause mortality among older Japanese. Ethn Health. 2020;25(6):874–87.

    Article  PubMed  Google Scholar 

Download references

Acknowledgements

We thank all of the patients in this study for their cooperation and thank to all authors for their contributions to this study.

Funding

Not applicable.

Author information

Authors and Affiliations

Authors

Contributions

Feng Li and Jiajia Yang designed the study and performed the experiments; Jiajia Yang and Jingjing Peng collected and analyzed the data; Jiajia Yang and Jingjing Peng wrote the manuscript; Feng Li and Guangwei Liu reviewed and edited the manuscript. All authors read and approved the final manuscript, and all authors agreed to be accountable for all aspects of the work.

Corresponding author

Correspondence to Feng Li.

Ethics declarations

Ethics approval and consent to participate

This study was approved by the ethics committee of the First Affiliated Hospital of Chongqing Medical University (ID: No. 2023-049). All procedures performed in this study involving human participants were in accordance with the ethical standards of the institutional and/or national research committee and with the 1964 Helsinki Declaration and its later amendments or comparable ethical standards. We declared that patient data were maintained with confidentiality.

Consent for publication

All the coauthors have approved this version of the manuscript and consent to publication.

Competing interests

The authors declare that no competing interests exist.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary Information

Additional file 1. (1) BIA measurement. (2) Definition of study indicators.

40001_2024_1964_MOESM2_ESM.docx

Additional file 2: Table S1. The fit of the trajectory analysis model for different BIA parameters subgroups. Table S2. Trend analysis of changes over time of PA trajectory groups.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Yang, J., Peng, J., Liu, G. et al. Predictive value of the random forest model based on bioelectrical impedance analysis parameter trajectories for short-term prognosis in stroke patients. Eur J Med Res 29, 382 (2024). https://doi.org/10.1186/s40001-024-01964-8

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s40001-024-01964-8