Figures
Abstract
This study investigates mortality risk prediction in peritoneal dialysis (PD) patients through longitudinal biomarker analysis, comparing traditional and advanced statistical approaches. A retrospective cohort of 417 PD patients followed up between 1995 and 2016 at Erciyes University was analyzed, with serum albumin, creatinine, calcium, blood urea nitrogen (BUN), and phosphorus assessed as predictors of all-cause mortality. Statistical methods included Cox proportional hazards models, time-dependent covariates, and joint modeling (univariate and multivariate) for longitudinal-survival data integration. Joint models outperformed baseline, averaged, and time-dependent methods, with multivariate joint modeling yielding the highest predictive accuracy by incorporating inter-biomarker relationships. Serum albumin emerged as the most consistent mortality predictor, while creatinine and phosphorus showed significance in specific contexts. Other biomarkers, such as calcium and BUN, were less predictive. Dynamic prediction capabilities of joint models demonstrated enhanced alignment with patient outcomes, underscoring their utility in personalized medicine. This study highlights the importance of integrating temporal changes and biomarker interdependencies into survival analysis to improve risk stratification and clinical decision-making in PD patients. Future research should explore the broader applicability of these methods across diverse chronic disease populations.
Citation: Goksuluk MB, Goksuluk D, Sipahioglu MH (2025) Assessing biomarker trajectories for mortality risk in peritoneal dialysis: A focus on multivariate joint modeling. PLoS One 20(7): e0320385. https://doi.org/10.1371/journal.pone.0320385
Editor: Ankur Shah, Warren Alpert Medical School of Brown University: Brown University Warren Alpert Medical School, UNITED STATES OF AMERICA
Received: January 24, 2025; Accepted: July 1, 2025; Published: July 28, 2025
Copyright: © 2025 Goksuluk et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: The peritoneal dialysis data supporting the findings of this study are available from the Department of Internal Medicine, Division of Nephrology, at Erciyes University (via https://tip.erciyes.edu.tr) upon reasonable request and subject to approval by the Institutional Executive Board, due to ethical and legal restrictions related to patient privacy and General Data Protection Regulation (GDPR) requirements. Researchers may also contact the senior author (Dr. Murat Hayri Sipahioglu, https://avesis.erciyes.edu.tr/mhsipahioglu), who can facilitate the data access process by forwarding requests to the appropriate institutional committee.
Funding: The author(s) received no specific funding for this work.
Competing interests: The authors have declared that no competing interests exist.
Introduction
End-stage renal disease (ESRD) marks the irreversible decline of kidney function, rendering the kidneys incapable of performing their essential roles in filtering waste products, excess fluids, and electrolytes from the body [1]. Consequently, these substances accumulate, leading to severe and potentially life-threatening health complications. ESRD represents the terminal phase of chronic kidney disease (CKD), a progressive condition characterized by the gradual deterioration of renal function. In advanced CKD, kidney function diminishes to a critical threshold, necessitating treatments such as dialysis or kidney transplantation for patient survival. While kidney transplantation offers superior survival rates and improved quality of life, its widespread implementation is constrained by factors such as patient eligibility, donor availability, cultural attitudes toward organ donation, local expertise, and the high costs of surgical procedures and immunosuppressive therapies. According to Mudiayi et al. [2], the global rate of kidney transplants is approximately 255 (58–432) per million population. In cases where transplantation is not viable, dialysis remains the primary alternative. The two main modalities of dialysis are (i) hemodialysis (HD) and (ii) peritoneal dialysis (PD). As of 2020, approximately of dialysis patients worldwide undergo HD, while
receive PD [3]. The selection between PD and HD typically depends on factors such as the patient’s medical requirements, lifestyle, proximity to an HD center, personal preferences, or physician recommendations. Sometimes, patients may attempt both methods to determine the most suitable option. Sinnakirouchenan and Holley [4] have suggested that PD may be associated with a lower mortality risk compared to HD during the initial stages of treatment; however, these risks appear to be similar over time.
The progression of PD patients is influenced by a range of prognostic factors, including age, diabetes, cardiovascular comorbidities, biomarkers such as serum albumin, C-reactive protein (CRP), estimated glomerular filtration rate (eGFR), etc. To monitor disease progression in dialysis patients, clinicians routinely collect a range of laboratory and clinical measurements at multiple time points during follow-up. The dynamic changes in these biomarkers over time –such as increases or decreases in their trajectories– play a critical role in guiding clinical decisions, including the need for additional interventions or modifications to treatment strategies. Statistical evaluations of these biomarker trajectories are used to assess whether the observed changes warrant clinical action. In such analyses, repeated measurements from PD patients are often incorporated to provide a comprehensive picture [5]. For example, serum albumin levels, a key indicator of nutritional and overall health status, undergo dynamic fluctuations during the PD process [6,7], as albumin levels can decline sharply and reversibly during acute illnesses [8].
Recent studies have employed both traditional and advanced prognostic models to predict mortality and adverse outcomes in PD. Traditional prognostic models, like Cox proportional hazards regression, often rely on static baseline or averaged biomarker values, which may fail to capture temporal variations critical for individualized risk prediction [8–13]. Approaches that average measurements or rely on single time points yield results that reflect population-level outcomes, potentially overlooking individual variability. Therefore, robust statistical models that integrate longitudinal data across all time points are essential for providing accurate and clinically relevant insights [14]. Recent advancements in joint modeling (JM) techniques, an advanced dynamic prognostic model that integrates longitudinal biomarker trajectories with survival data, have demonstrated superior predictive accuracy in PD patients, improving mortality risk prediction compared to conventional methods [15]. Similarly, Ma et al. [16] and Noh et al. [17] applied deep neural network algorithms to real-world PD datasets, demonstrating superior prediction accuracy and interpretability through feature importance recalibration.
Beyond nephrology, dynamic prediction models have demonstrated substantial utility in managing other chronic diseases by incorporating time-dependent patient data to refine prognostic accuracy. The paradigm of individualized risk prediction has gained prominence in modern medicine, particularly in the context of chronic disease management. Dynamic prediction models, which are updated as new information becomes available, enable personalized monitoring, screening, and intervention strategies over a follow-up period [18]. In oncology, for example, Wang et al. [19] developed a dynamic prediction model for patients with advanced non-small-cell lung cancer that included evolving predictors such as Eastern Cooperative Oncology Group (ECOG) performance status and serum albumin. Their approach outperformed static models in forecasting short-term survival and supported individualized end-of-life care decisions. Similarly, Du et al. [20] constructed a landmark supermodel for esophageal cancer using data from the Surveillance, Epidemiology, and End Results (SEER) database, capturing time-varying covariate effects to dynamically update survival probabilities and guide treatment over follow-up. In type 2 diabetes, risk models using repeated biomarker measurements provided better calibration and discrimination than traditional models [21]. Collectively, these examples illustrate how trajectory-based dynamic models are increasingly being adopted across chronic disease domains to support personalized care and improve clinical outcomes.
This study aims to identify appropriate analytical methods for incorporating repeated measurements from PD patients over a specified follow-up period to assess their health status and inform clinical interventions. Additionally, it seeks to evaluate the performance of conventional techniques in the literature compared to advanced methods, emphasizing the importance of generating individualized outcomes.
Materials and methods
Study design and participants
This retrospective study was conducted at the Department of Nephrology of Erciyes University Hospital, TURKIYE, and utilized research data from a previously published paper [22]. At the time of data collection, obtaining ethical approval, particularly for retrospective studies, was not required by the Local Ethics Committee of Erciyes University. Consequently, the original study was conducted without ethical approval. Since we utilized data from an already published study and the data collection process was completed beforehand, obtaining ethical approval was not possible. Research data included 511 patients who initiated peritoneal dialysis (PD) at the Erciyes University Nephrology Department between March 1995 and June 2007 [22]. Data collection for some patients continued until November 2016. Patients were followed from the initiation of PD until the occurrence of one of the following events: death, kidney transplantation, discontinuation of PD, loss to follow-up, or the end of the study, whichever occurred first. Of the initial cohort, 423 patients met the inclusion criteria. Exclusion criteria were as follows: (i) recovery of kidney function, eliminating the need for further treatment; (ii) being under 18 years of age at the time of PD initiation; (iii) survival of fewer than 90 days after starting PD since this threshold is typically a minimum exposure period to establish a meaningful association between PD treatment and mortality outcomes [23,24]; (iv) pregnancy; (v) existence of other fatal diseases associated with short life expectancy (e.g., malignant tumor, severe cardiovascular disease, etc.); and (vi) missing data for the majority of key variables.
Additionally, to assess model performances, two test patients –one censored and one who died– were randomly selected without prior consideration of their biomarker trajectories (e.g., albumin, creatinine, calcium, phosphorus, and blood urea nitrogen), ensuring an unbiased evaluation. Selecting additional patients was unnecessary, as dynamic survival models generate patient-specific predictions by fitting at the individual level. Dynamic survival probabilities were estimated for these patients using each model evaluated in the study. A training dataset of 415 patients was used to develop and fit all survival models, providing a robust basis for comparing predictions.
Clinical outcome
The primary outcome of interest was all-cause mortality. Patients who died while on PD or within three months after transitioning to HD were classified as PD-related deaths; all other cases were censored. The collected data included demographic information such as age at PD initiation, body mass index (BMI), gender, cause of ESRD, the presence of renal and comorbid conditions, hemodialysis history, and other relevant clinical factors. Clinical and biochemical measurements, including serum albumin, blood urea nitrogen (BUN), creatinine, calcium, phosphorus, peritoneal membrane transport characteristics, and peritonitis rates, were extracted from medical records. Additionally, a composite variable, “total count of comorbid and renal diseases or the number of illnesses (TCRD),” was defined as the sum of concurrent comorbid and renal conditions in each PD patient to assess their impact on mortality. TCRD, with possible values ranging from 0 to 9, encompasses diabetes mellitus, coronary artery disease, chronic heart failure, cerebrovascular disease, lung disease, liver disease (i.e., hepatitis), hypertension, polycystic kidney disease, and glomerulonephritis.
Time-varying biomarkers of interest included serum albumin, creatinine, calcium, BUN, and phosphorus, which were measured approximately every two months during the follow-up period. For statistical models, measurements recorded at six-month intervals were used. The study investigated the association between the trajectories of these longitudinal biomarkers and mortality, with a particular emphasis on their predictive value.
Statistical analysis
All statistical analyses were performed using the R programming language (R Core Team, 2023), with the following packages: survival (version 3.8-3) [25,26], JMbayes2 (version 0.5-0) [27], and dynpred (version 0.1.2) [28]. The normality of continuous variables was assessed using the Shapiro-Wilk test and graphical methods such as histograms, Q-Q plots, and box plots. Normally distributed variables were summarized using means and standard deviations, while nonnormally distributed variables were summarized using medians and minimum and maximum values. Categorical variables were reported as frequencies and percentages. Group comparisons for continuous variables were conducted using either the independent t-test or the Mann-Whitney U test based on the normality assumptions of the data. Categorical variables were compared using Chi-square tests, with Pearson’s Chi-square or Fisher’s Exact test applied as appropriate.
To investigate the association between longitudinal biomarker trajectories (i.e., serum albumin, blood urea nitrogen, creatinine, calcium, and phosphorus) and mortality in PD patients, we employed five distinct modeling approaches (M1 to M5), adjusting for potential confounders, including demographic, clinical, and biochemical measurements. Biomarkers were modeled as a univariate response in M1 to M4 and a multivariate response in M5. Initially, univariate Cox Proportional Hazard (PH) regression was applied to each potential confounder to identify risk factors significantly associated with mortality at a significance level of p < 0.10. These selected risk factors were incorporated as covariates in all subsequent survival models. The modeling approaches utilized are as follows:
- M1 (Baseline): Cox PH models were constructed using baseline (initial) values of each biomarker, combined with the selected risk factors. Separate models were fitted for each biomarker.
- M2 (Average): Time-averaged values of each biomarker, computed across the follow-up period, were included in Cox PH models alongside the selected risk factors, with separate models for each biomarker.
- M3 (Time-Dependent): Time-dependent Cox PH models incorporated the longitudinal values of each biomarker as time-varying covariates, adjusted for the selected risk factors. Separate models were fitted for each biomarker.
- M4 (Univariate Joint Modeling): For each biomarker, a univariate joint model integrated a mixed-effects model for the longitudinal trajectory with a Cox PH survival model, adjusted for the selected risk factors. Separate models were fitted for each biomarker.
- M5 (Multivariate Joint Modeling): A multivariate joint model simultaneously analyzed all biomarkers, using a multivariate mixed-effects model for their longitudinal trajectories and a Cox PH survival model, adjusted for the selected risk factors. A common model were fitted for all biomarkers.
We evaluated model performance using the area under the receiver operating characteristic (ROC) curve (AUC) for dynamic prediction. AUC values for baseline (M1), time-averaged (M2), and time-dependent (M3) methods were computed using the dynpred package, while the joint modeling approaches utilized the JMbayes2 package in R. Significance level was set at 0.05 for all analyses. For mathematical background and further details of fitted models, M1 to M5, see Appendix A.
Results
During the follow-up period, 87 patients () died, while 330 patients (
) were censored from further analysis. The median follow-up duration was 30 months, ranging from 3 to 137 months. Detailed demographic and clinical characteristics of the entire cohort and its respective subgroups are presented in Table 1. At the initiation of PD, the mean age was
years, and the BMI was
kg/m2. Deceased patients were significantly older than censored patients (p < 0.001). A total of 50 patients (
) had previously undergone HD before starting PD, with a significantly higher proportion in the deceased group (p < 0.001). Additionally, significant differences were observed between the deceased and censored groups regarding the total number of renal and comorbid diseases (p < 0.001), peritonitis rate (p = 0.002), serum albumin levels at PD initiation (p = 0.048), time-averaged serum creatinine (p = 0.007), and time-averaged serum calcium levels (p = 0.024).
Fig 1 illustrates the biomarker levels of patients with PD over the follow-up period. Each point represents a patient’s biomarker value at specific time points. The red line indicates the average trend across all patients in the study (n = 417) over time, while the green lines show the values of two patients from the test set—one who died and one who was censored—across the same period. As shown in Fig 1, the average trends of the patients (red line) do not align with the individual trends of the two patients (green lines).
In the time-to-event analysis, univariate Cox PH regression identified several statistically significant predictors: age at PD initiation (p < 0.001), BMI (p < 0.001), history of prior HD (p < 0.001), total count of comorbid and renal diseases (TCRD) (p < 0.001), and peritonitis rate (p < 0.001). These predictors were included as confounders in all Cox PH submodels. Longitudinal biomarkers were incorporated into the Cox PH models using various approaches, as detailed in Table 2. Due to the extensive nature of the model results, only parameter estimates for the longitudinal biomarkers are reported in Table 2. Comprehensive results for all fitted models are presented in Appendix B. The proportional hazards assumption was assessed for all survival models using the cox.zph function in R. Global tests indicated no violation of the proportional hazards assumption; although the peritonitis rate showed local violations in some models, its inclusion was retained due to its clinical importance and the absence of global model invalidation. Given the potential inflation of Type I error from multiple testing, modeling decisions were based on overall test patterns rather than isolated deviations. Among the biomarkers, serum albumin consistently demonstrated a significant association with all-cause mortality across all models, with a 1 mg/dL decrease in serum albumin leading to a 3.29-fold increase in the risk of death ( CI: [1.63, 7.23]) in the multivariate joint modeling (M4). In contrast, BUN and calcium levels did not significantly predict mortality in PD patients (p > 0.05 in all models). Average serum creatinine levels were significant for mortality risk while the time-dependent Cox PH model (M3) and univariate joint modeling (M4) indicated that decreases in serum creatinine and phosphorus were associated with increased mortality risk. Notably, when considering the relationships among biomarkers, only serum albumin levels consistently remained a significant predictor of mortality in the multivariate joint modeling (M5).
Two patients, i.e., one deceased and one censored, were removed from the complete dataset to serve as independent test samples. We dynamically estimated the survival probability of these patients at future time points using each model and assessed the influence of longitudinal biomarker changes over the follow-up period. Fig 2 illustrates the dynamic predictions for the deceased (left column) and censored (right column) patients across each biomarker. The vertical dashed line represents the last time patient measurements were recorded, while the horizontal red line indicates the average value of repeated measurements during the follow-up period. Biomarker trajectories are shown to the left of this line, with predicted survival probabilities displayed to the right. As seen in Fig 2, the joint modeling approaches provided survival probability estimates aligned more closely with the patient’s actual status than other methods. Both the U-JM and M-JM approaches predicted lower survival probabilities for the deceased patients and higher survival probabilities for the censored patient. Although U-JM and M-JM yielded similar results, U-JM predictions for deceased patients were more sensitive to changes in the biomarker levels over time.
Fig 3 presents the dynamic AUCs, reflecting the methods’ performance over 5-years from PD initiation. AUC values were calculated based on the probability of survival after 6 months for a patient known to be alive at a given time. The time-dependent Cox PH model performed comparably or slightly better than the baseline and time-averaged models at some time points. In contrast, the joint modeling approaches demonstrated superior performances overall, with M-JM performing slightly better than U-JM, particularly at specific time points. The highest model performance was observed at the 48-th month using joint modeling approaches, whereas the AUC for baseline (M1), time-averaged (M2), and time-dependent (M3) models fell below 0.5 by the 54-th time point. Performance fluctuations across methods could be attributed to variations in the patient’s nutritional status and kidney functions during the follow-up period (Fig 2).
Discussion
Repeated measurements in chronic diseases are essential for monitoring treatment effectiveness and disease progression, enabling timely intervention. While traditional statistical analyses often simplify repeated measurements to baseline or average values, such approaches may yield inconsistent findings. Incorporating longitudinal data directly into time-to-event models, such as time-dependent Cox regression, improves reliability but assumes error-free measurements, which may not reflect real-world data. Joint modeling has gained popularity as it simultaneously analyzes longitudinal and survival data, linking repeated measurements with survival outcomes.
This study contributes to the growing body of evidence supporting the use of joint models and trajectory-based predictors in PD. The observed superiority of multivariate joint models in our analysis aligns with prior work [16,29], which demonstrated that incorporating the temporal evolution and interrelationships of biomarkers leads to more robust and clinically meaningful predictions. In our study, we implemented subject-specific dynamic prediction models for mortality. In both univariate and multivariate forms, we demonstrated that joint models outperformed other approaches, including baseline values, follow-up averages, and the time-dependent Cox model. Notably, the multivariate joint model generally provided superior predictive performance by effectively capturing the association between biomarkers. Additionally, our model incorporated instant changes observed during follow-up into mortality predictions, enhancing its accuracy and clinical utility. These findings underscore the value of using advanced joint modeling approaches for analyzing temporal biomarker changes and improving survival predictions in patients with ESRD undergoing PD.
Serum albumin levels reflect a range of factors, including protein and calorie intake, dialysis adequacy, peritoneal and renal albumin loss, concurrent illness, and underlying systemic disease [5]. Known as a reliable predictor of mortality risk in patients undergoing peritoneal dialysis (PD), serum albumin is used to assess nutritional status and indicate inflammation. Continuous monitoring of serum albumin levels is essential for improving survival in PD patients [6]. Consequently, studies on PD patients often incorporate serum albumin levels directly as a covariate in the model [30]. A study examining baseline serum albumin levels has shown that low levels are associated with an increased mortality risk [12]. Studies have also demonstrated that the time-averaged serum albumin levels measured at three-month [31], six-month [8,32], 12-month [33], and 24-month [30] intervals during follow-up significantly and negatively affect mortality risk. However, Kang et al. [10] did not find a significant association between mortality and the time-averaged serum albumin levels measured every six months over a five-year follow-up period (HR=1.033; p=0.916). Another study examining the effects of baseline and one-year average serum albumin levels found that while baseline serum albumin levels at the start of PD did not affect mortality risk, the one-year average levels significantly impacted mortality [11]. Çankaya et al. [13] further noted that baseline serum albumin alone may not successfully predict mortality; even if initial levels are low, increasing albumin levels during PD may reduce mortality. They also reported that time-averaged albumin levels provided more meaningful mortality predictions than baseline. Similarly, Song et al. [7] found that time-averaged albumin levels were superior to baseline levels in predicting mortality for PD patients. The dynamic changes in albumin over time held greater clinical significance for mortality risk than baseline albumin levels. Chiu et al. [5] investigated serum albumin trajectories by assessing albumin levels at the start of PD, peak albumin levels during PD, and end-of-PD levels. They concluded that albumin levels at these time points significantly impacted mortality and that analyzing serum albumin trends could be beneficial. One study that accounted for baseline and time-averaged albumin values found a relationship between baseline serum albumin levels and mortality. However, time-averaged values offered better predictive accuracy and prognostic insight [34]. Another study compared initial serum albumin values with the trajectory of serum albumin levels measured roughly every three months over three years fitted with U-JM results based on serum albumin levels measured approximately every three months over three years, concluding that the trajectory of serum albumin was the best model [14]. In studies that analyzed serum albumin levels using both time-dependent and U-JM approaches, changes in serum albumin over time were found to affect mortality risk in both the time-dependent model significantly (Coefficient: -0.58; p < 0.001) and the univariate joint modeling (Coefficient: -1.24; p = 0.011) [35]. Another study utilizing a U-JM reported that increases in albumin trajectories post-dialysis at any time point were associated with a reduced risk of death (HR = 0.881; p < 0.001), suggesting that albumin trajectories post-dialysis were better predictors of mortality than baseline serum albumin [36]. In our study, consistent with the literature, serum albumin level was identified as a significant predictor of mortality risk in all forms analyzed.
Calcium and phosphorus levels are crucial for bone health and mineral balance. When kidney function is impaired, regulating these two minerals becomes challenging. Mineral metabolism disorders, such as abnormal serum calcium and phosphorus levels, are common in patients with chronic kidney disease [37]. Therefore, monitoring these values is essential for assessing kidney function and guiding treatment.
Phosphorus metabolism disorders are a common complication in end-stage renal disease (ESRD) and play a significant role in bone integrity, ectopic calcium deposition, calciphylaxis, vascular calcification, and myocardial hypertrophy. Approximately of dialysis patients experience hyperphosphatemia [38]. Therefore, closely monitoring phosphorus levels is essential in patients receiving renal failure treatment. In a study involving PD patients, phosphorus levels were measured regularly over 120 months, with each time point analyzed separately. While baseline serum phosphorus levels were not associated with mortality risk (
;
CI: [0.521, 1.119]; p = 0.166), phosphorus levels measured at the third-month post-dialysis significantly impacted mortality risk (
;
CI: [1.007, 2.758]; p = 0.047) [33]. In Liu et al.’s study [39], high baseline serum phosphorus level was found to influence early mortality risk (<3 months on PD) (
; p < 0.001). Additionally, the time-averaged phosphorus measurements taken every six months showed a significant association with mortality risk (
;
CI: [1.061, 6.566]; p = 0.037) [10]. Rivara et al. [40] reported that higher time-averaged phosphorus levels (above 6.4 mg/dL) were linked to a significantly higher mortality rate. However, they did not observe an increased mortality risk at low serum phosphorus levels. Conversely, Yaghoubi et al. [41] found that patients with serum phosphorus levels below 4 mg/dL had a 1.6 times higher mortality risk than those with levels between 4–6 mg/dL (
CI:
). Güler et al. [29] investigated the relationship between longitudinally collected calcium, PTH, creatinine, and phosphorus levels and mortality risk in PD patients using the M-JM approach to account for correlations among these biomarkers. While serum phosphorus level was not significant with the U-JM approach, it was a significant predictor of mortality risk when analyzed with the M-JM approach. In our study, phosphorus level was associated with mortality risk according to the time-dependent Cox and U-JM results, considering the trajectory over the follow-up period (
;
CI: [1.04,1.39]; p = 0.013 and
;
CI: [1.02,1.55]; p = 0.026, respectively), though it was not found to be significant with the M-JM approach.
Low serum calcium levels, which are crucial for bone health, can lead to muscle cramps and osteoporosis in patients with chronic kidney disease (CKD). Consequently, upon initiation of dialysis, patients are typically given vitamin D supplementation, calcium-based phosphate binders, and calcium in the dialysate solution to support calcium levels. Following dialysis initiation, an increase in serum calcium levels is expected. However, elevated calcium levels can lead to complications such as vascular calcification, underscoring the importance of closely monitoring these values throughout the follow-up period. In a study by Melamed et al. [42] investigating whether longitudinal changes in bone mineral parameters were independent of mortality, serum calcium levels were found to increase from baseline up to the sixth month, after which they stabilized. Calcium values were included in the analysis both as baseline measurements and in a time-dependent manner. While baseline calcium levels were not significantly associated with mortality risk, higher calcium levels in the time-dependent analysis affected mortality risk significantly. The time-dependent model revealed that calcium levels >9.73 mg/dL were associated with a increase in mortality risk. Rivara et al. [40] examined serum calcium values averaged over 20 calendar quarters and reported that both low and high serum calcium levels (especially >10.2 mg/dL) were associated with increased mortality risk. In another study, which averaged the first three calcium measurements, no association was found between calcium levels and mortality risk [41]. Using the U-JM and M-JM approaches, Güler et al. [29] found no significant relationship between calcium trajectory and mortality risk. Similarly, Menon et al. [43] examined the relationship between baseline phosphorus and calcium-phosphorus product levels and mortality risk in CKD stage 3–4 patients, concluding that neither serum phosphorus nor calcium-phosphorus product levels were associated with mortality rates. In our study, calcium levels were not significant predictors of mortality risk in any model.
Creatinine and BUN levels are frequently used in blood tests to evaluate kidney function, providing insights into how well the kidneys function and assess protein metabolism in the body. Mejia et al. [44] indicated that baseline albumin and creatinine levels were significant predictors of mortality risk in PD patients, suggesting that the nutritional status of patients at the start of dialysis is a critical factor in determining long-term outcomes. In a study investigating factors influencing mortality risk among PD patients, baseline and 12-month follow-up BUN and creatinine values were compared between deceased and surviving groups, finding no significant differences between groups at either time point (p > 0.05). However, the study noted that higher serum creatinine levels in PD patients have been associated with a higher likelihood of survival in some reports [45]. A study evaluating risk factors and clinical outcomes related to mortality in PD patients referenced the consideration of clinical significance, based on a literature review, to determine mortality predictors. Although BUN and creatinine values were collected, the model did not include these variables as mortality predictors [46]. In a 12-year study from Mexico on continuous ambulatory peritoneal dialysis (CAPD) mortality, initial albumin, and creatinine levels were significant in a univariate Cox PH survival model but not in a multiple Cox PH survival model. The authors stated that variables were selected based on clinical relevance from the literature. While BUN and calcium values were measured, they were not considered influential factors in mortality prediction [47]. In a Turkish study, baseline levels of albumin, BUN, creatinine, calcium, and phosphorus were measured; however, aside from albumin, none of these biomarkers significantly differed between deceased and surviving groups (p > 0.05) [48]. Block et al. [49] found that calcium levels, when adjusted for albumin, were not associated with mortality risk. Guler et al. [29] suggested that as creatinine reflects muscle mass and nutritional status, low creatinine levels often indicate protein loss and can strongly impact survival probability. In Guler et al.’s study, creatinine levels were not a significant predictor of mortality risk according to U-JM results, yet they were significant under the M-JM model. In our study, BUN values were insignificant predictors in any of the five models (p > 0.05). Creatinine levels, however, were significant predictors of mortality in both time-averaged and trajectory forms using the time-dependent Cox PH model and U-JM. Nevertheless, when the M-JM model accounted for relationships among other biomarkers, creatinine levels were insignificant in predicting mortality risk.
In our study, two patients were selected as a test set and excluded from the primary analysis. Using all models developed, we estimated the survival probabilities for these two patients at future time points beyond the final time point observed in the study. The results indicate that joint modeling approaches (U-JM and M-JM) provided probability estimates closer to the patients’ actual outcomes. This finding is likely due to the joint modeling approach’s statistically robust framework, which integrates longitudinal and survival data into a single model rather than handling these data separately. Another advantage of the joint modeling approach is its capacity for dynamic predictions by updating risk estimates as new longitudinal data become available. This feature allows the recalculation of risk estimates at each time point based on the latest patient data, supporting personalized medicine by enabling tailored risk predictions. Although U-JM and M-JM demonstrate similar performance, considering the biomarker interrelationships could influence results. By incorporating correlations and dependencies between biomarkers during modeling, the M-JM method enables more accurate predictions, mainly when strong correlations exist between biomarkers [29]. BUN and creatinine levels are essential indicators for assessing kidney function, while calcium and phosphorus levels are key indicators of bone metabolism and overall mineral balance, highlighting the importance of accounting for the relationships among these markers. Huang et al. [38] reported that serum albumin levels influence the association between phosphorus levels and mortality; specifically, higher albumin levels mitigate the mortality risk associated with elevated phosphorus. Therefore, they emphasized the need to simultaneously evaluate the interactive effect of serum albumin and phosphorus for clinical outcomes, particularly in newly dialyzed patients. Additionally, Rivara et al. [40] noted that nearly half of circulating calcium is albumin-bound, and those with the lowest calcium levels often also have the lowest serum albumin levels, indicating that the association between calcium and mortality risk is substantially affected by albumin levels.
The clinical relevance of methods we have utilized in this study is evident in their ability to provide patient-specific, time-updated survival probabilities, supporting proactive care strategies. For example, Ma et al. [16] illustrated how adaptive dynamic prediction models identified PD patients at rising mortality risk, allowing for targeted intervention based on changing biomarker profiles. While this study focused on PD, the value of dynamic prediction is also evident in other chronic conditions. Naumzik et al. [50] demonstrated the utility of dynamic treatment planning in chronic diseases by distinguishing stable and unstable disease phases using trajectory modeling. Similarly, in chronic heart failure and oncology, joint modeling frameworks have facilitated early risk identification and informed timely clinical responses, reinforcing the generalizability of these approaches.
This study has several limitations. Notably, we were unable to incorporate the Charlson Comorbidity Index (CCI) into our models due to missing data for key variables required to compute CCI scores for most subjects. Instead, we used the “total number of comorbid and renal diseases (TCRD)” as a proxy to account for comorbidity burden. While TCRD captures some aspects of renal and comorbid conditions, it does not fully reflect the comprehensive impact of CCI, potentially limiting the precision of our comorbidity adjustments. Second, the absence of a simulation study limits our findings’ generalizability. Conducting such a study was impractical due to differing model distributional assumptions, risking biased data favoring specific models, with overparameterization and computational issues. Under favorable conditions, a comprehensive simulation study can be conducted, for instance, by varying sample sizes, predictors, multivariate responses, and baseline hazard specifications, to enhance applicability. We leave this as a further research topic.
Conclusion
The changes observed in repeated measurements collected during the follow-up period serve as critical indicators for predicting mortality risk in patients undergoing peritoneal dialysis. Accordingly, utilizing comprehensive data from repeated measurements, such as the trajectory of biomarkers, rather than relying on a single measurement, such as baseline or average values, enhances the predictive performance of the model and, consequently, the reliability of the results. Given the increasing significance of personalized medicine, the joint modeling approach, which enables the simultaneous modeling of longitudinal and survival data for patient-specific dynamic predictions, is recommended. When analyzing multiple time-varying biomarkers simultaneously, the interrelationships among these biomarkers should also be incorporated into the analysis in the context of multivariate response models.
Appendix
A. Mathematical background of fitted survival models - A brief explanation
The peritoneal dialysis (PD) data were analyzed using the modeling approaches (M1 – M5) described in the Statistical Analysis section. To ensure fair and consistent comparisons across models, variable selection followed a standardized procedure: (i) risk factors influencing survival were uniformly included across all models, identified via univariate Cox proportional hazards (PH) regression (p < 0.10). In joint modeling approaches (M4 and M5), time-varying biomarker effects were adjusted for potential confounders before inclusion in the survival submodel. While the survival submodel retained consistent risk factors, the longitudinal submodels in M4 and M5, using linear mixed-effects models, allowed flexible selection of confounders specific to each biomarker’s time-varying trajectory, enhancing model adaptability. The models were categorized based on the response type (univariate or multivariate) and the nature of biomarker effects (time-varying or time-independent). The general specifications of the models (M1 – M5) are summarized in Table 3.
Potential confounders and longitudinal biomarkers influencing survival were examined through the models detailed in Table 3. The following subsections briefly provide technical and methodological details for each model.
Cox PH Models (Baseline, Averaged, and Time-dependent; i.e., M1, M2, and M3).
The effects of longitudinally measured biomarkers (Xb) on survival were initially examined using Cox PH models, as defined in Eq (1), without accounting for time-varying effects.
Here, h0(t) represents the baseline hazard function, and includes the collection of potential confounders (
) and one of the selected biomarkers (Xb)(i.e., serum albumin, creatinine, calcium, phosphate, and blood urea nitrogen). To this end, longitudinal biomarker measurements, Xb, were incorporated into the Cox PH model in two ways: (i) using only the baseline values at peritoneal dialysis (PD) initiation (M1), and (ii) using time-averaged values over the follow-up period (M2).
In addition to the Cox PH models, M1 and M2, the effects of longitudinally measured biomarkers on survival were examined using a time-dependent Cox PH model (M3), as defined in Eq (2), accounting for their time-varying effects.
Here, Xb(t) represents one of the longitudinal biomarkers, incorporated as time-varying covariate into model.
Joint Models (Univariate and Multivariate, i.e., M4 and M5).
The relationship between longitudinal biomarker trajectories and mortality in peritoneal dialysis (PD) patients was evaluated using univariate (M4) and multivariate (M5) joint models. Each joint model integrates two submodels: (i) a linear mixed-effects model (LME) to model the longitudinal biomarker trajectory, and (ii) a Cox PH model to assess mortality risk. This approach estimates the effect of time-varying biomarkers on survival while adjusting for potential confounders and accounting for the correlation between longitudinal and survival submodels [51]. The analyses were conducted in R using the JMbayes2 package (version 0.5-0) [27].
The univariate joint model (M4) is defined by the survival submodel in Eq (3) and the LME submodel in Eq (4). Here, the survival submodel resembles the time-dependent covariates as in Eq (2), but incorporates error-free biomarker trajectories (m(t)) adjusted via the LME submodel.
In joint models, the time-varying effects of biomarkers are modeled in the LME submodel using fixed () and random (
) effects, allowing flexible selection of confounders tailored to each longitudinal biomarker. The LME submodel incorporates random intercepts and slopes (via time) for each biomarker, with all other confounders included as fixed effects. This flexibility enables different confounder sets for each biomarker’s longitudinal submodel in M4, enhancing model adaptability. For M4, separate joint models were fitted for each biomarker.
The multivariate joint model (M5) extends M4 by simultaneously modeling all biomarkers as a multivariate response () in Eq (4), with their time-varying effects incorporated as a multivariate component (
) in the survival submodel. Unlike M4, M5 evaluates the combined effect of all biomarkers in a single model.
Parameter estimation in joint models employed a Bayesian approach, optimizing parameters while accounting for covariance structures between the longitudinal and survival submodels. Detailed mathematical backgrounds, including parameter estimation procedures, variable selection strategies, statistical inferences and asymptotic properties of joint models M4 and M5, can be found in the related literature [52–55].
B. Parameter estimates of fitted models
This appendix presents tables summarizing the results of the fitted models (M1–M5). Table 4 provides the full names of abbreviations used in the model outputs. Tables 5 to 9 report the Cox PH results for models M1 to M3, presented separately for each longitudinal biomarker (serum albumin, blood urea nitrogen, creatinine, calcium, and phosphorus). Univariate joint modeling results for M4 are detailed in Tables 10 to 14, corresponding to each biomarker. Multivariate joint modeling results for M5 are summarized in Table 15.
Results for Cox PH models, i.e., M1, M2, and M3.
Results for Joint Models, i.e., M4 and M5.
The multivariate joint model (M5) was used to evaluate the combined effects of all longitudinal biomarkers on mortality. For each biomarker, a LME submodel was fitted, incorporating time as a random slope and confounders as fixed effects. These LME submodels were integrated into a single multivariate joint model, combining them with a Cox PH submodel to account for mortality, while modeling the covariance structure of random intercepts and slopes across biomarkers. The LME submodels for the longitudinal biomarkers are specified as follows:
In Eq (5), i denotes individual patients, j denotes time points, and corresponds to the k-th biomarker. The parameters
represent fixed effects of predictors (including confounders and time) for the k-th biomarker,
and
denote random intercepts and slopes for the i-th patient, and
is the random error term. Results of the multivariate joint model (M5) are summarized in Table 15.
Supporting information
S1 File. A ZIP file including the analysis codes.
Analysis code has been included in the supplementary materials. Additionally, all code is freely accessible via GitHub at https://github.com/basolmerve/MultivariateJM_Supplementary.
https://doi.org/10.1371/journal.pone.0320385.s001
(ZIP)
References
- 1. Thompson S, Pannu N. Renal replacement therapy in the end-stage renal disease patient with critical illness. Blood Purif. 2012;34(2):132–7. pmid:23095412
- 2. Mudiayi D, Shojai S, Okpechi I, Christie EA, Wen K, Kamaleldin M, et al. Global estimates of capacity for kidney transplantation in world countries and regions. Transplantation. 2022;106(6):1113–22. pmid:34495014
- 3. Himmelfarb J, Vanholder R, Mehrotra R, Tonelli M. The current and future landscape of dialysis. Nat Rev Nephrol. 2020;16(10):573–85. pmid:32733095
- 4. Sinnakirouchenan R, Holley JL. Peritoneal dialysis versus hemodialysis: risks, benefits, and access issues. Adv Chronic Kidney Dis. 2011;18(6):428–32. pmid:22098661
- 5. Chiu P-F, Tsai C-C, Wu C-L, Yang T-Y, Liou H-H, Chen H-L, et al. Trajectories of serum albumin predict survival of peritoneal dialysis patients: a 15-year follow-up study. Medicine (Baltimore). 2016;95(12):e3202. pmid:27015223
- 6. Kiebalo T, Holotka J, Habura I, Pawlaczyk K. Nutritional status in peritoneal dialysis: nutritional guidelines, adequacy and the management of malnutrition. Nutrients. 2020;12(6):1715. pmid:32521626
- 7. Song P, Yang D, Li J, Zhuo N, Fu X, Zhang L, et al. Dynamic serum albumin and outcome of peritoneal dialysis patients: a retrospective study in China. Front Med (Lausanne). 2022;9:917603. pmid:35983095
- 8. Jones CH, Newstead CG, Wills EJ, Davison AM. Serum albumin and survival in CAPD patients: the implications of concentration trends over time. Nephrol Dial Transplant. 1997;12(3):554–8. pmid:9075140
- 9. Lopez-Giacoman S, Madero M. Biomarkers in chronic kidney disease, from kidney function to kidney damage. World J Nephrol. 2015;4(1):57–73. pmid:25664247
- 10. Kang SH, Cho KH, Park JW, Yoon KW, Do JY. Risk factors for mortality in stable peritoneal dialysis patients. Ren Fail. 2012;34(2):149–54. pmid:22260239
- 11. Liu Y-L, Liu J-H, Wang I-K, Ju S-W, Yu T-M, Chen I-R, et al. Association of inflammatory cytokines with mortality in peritoneal dialysis patients. Biomedicine (Taipei). 2017;7(1):1. pmid:28474577
- 12. Jiang J, Wang L-H, Fei Y-Y, Zhou X-W, Peng L, Lan L, et al. Serum albumin at start of peritoneal dialysis predicts long-term outcomes in anhui han patients on continuous ambulatory peritoneal dialysis: a retrospective cohort study. Kidney Dis (Basel). 2018;4(4):262–8. pmid:30574503
- 13. Çankaya E, Altunok M. Comparison of mortality according to baseline, first year, and mean albumin levels in peritoneal dialysis: a retrospective study. Ren Fail. 2023;45(1):2176165. pmid:36762995
- 14. Khoshhali M, Kazemi I, Hosseini SM, Seirafian S. Predicting tree-year clinical outcomes using the baseline and trajectories of serum albumin in patients on peritoneal dialysis. Iran Red Crescent Med J. 2017;19(10).
- 15. Chung SH, Noh H, Jeon JS, Han DC, Lindholm B, Lee HB. Impact of incremental risk factors on peritoneal dialysis patient survival: proposal of a simplified clinical mortality risk score. Blood Purif. 2009;27(2):165–71. pmid:19141994
- 16. Ma L, Zhang C, Gao J, Jiao X, Yu Z, Zhu Y, et al. Mortality prediction with adaptive feature importance recalibration for peritoneal dialysis patients. Patterns (N Y). 2023;4(12):100892. pmid:38106617
- 17. Noh J, Yoo KD, Bae W, Lee JS, Kim K, Cho J-H, et al. Prediction of the mortality risk in peritoneal dialysis patients using machine learning models: a nation-wide prospective cohort in Korea. Sci Rep. 2020;10(1):7470. pmid:32366838
- 18.
Proust-Lima C, Blanche P. Dynamic predictions. Wiley; 2016. p. 1–6.
- 19. Wang X, Kerrigan K, Puri S, Shen J, Akerley W, Haaland B. Dynamic prediction of near-term overall survival in patients with advanced NSCLC based on real-world data. Cancers (Basel). 2022;14(3):690. pmid:35158958
- 20. Du K, Li L, Wang Q, Zou J, Yu Z, Li J, et al. Development and application of a dynamic prediction model for esophageal cancer. Ann Transl Med. 2021;9(20):1546. pmid:34790752
- 21. Wang Y, Hu B, Zhao Y, Kuang G, Zhao Y, Liu Q, et al. Applications of system dynamics models in chronic disease prevention: a systematic review. Prev Chronic Dis. 2021;18:E103. pmid:34941481
- 22. Sipahioglu MH, Aybal A, Ünal A, Tokgoz B, Oymak O, Utaş C. Patient and technique survival and factors affecting mortality on peritoneal dialysis in Turkey: 12 Years’ experience in a single center. Perit Dial Int. 2008;28(3):238–45.
- 23. Vonesh EF, Snyder JJ, Foley RN, Collins AJ. Mortality studies comparing peritoneal dialysis and hemodialysis: what do they tell us?. Kidney Int Suppl. 2006;(103):S3-11. pmid:17080109
- 24. Cheng L, Hu N, Song D, Chen Y. Mortality of peritoneal dialysis versus hemodialysis in older adults: an updated systematic review and meta-analysis. Gerontology. 2024;70(5):461–78. pmid:38325351
- 25.
Therneau TM. A package for survival analysis in R; 2024. https://CRAN.R-project.org/package=survival
- 26.
Therneau TM, Grambsch PM. Modeling survival data: extending the cox model. New York: Springer. 2000.
- 27.
Rizopoulos D. JMbayes2: extended joint models for longitudinal and time-to-event data. 2024. https://CRAN.R-project.org/package=JMbayes2
- 28.
Putter H. Dynpred: companion package to ‘dynamic prediction in clinical survival analysis’. https://CRAN.R-project.org/package=dynpred
- 29. Guler I, Faes C, Cadarso-Suárez C, Teixeira L, Rodrigues A, Mendonça D. Two-stage model for multivariate longitudinal and survival data with application to nephrology research. Biom J. 2017;59(6):1204–20. pmid:29139606
- 30. Hao N, Cheng B-C, Yang H-T, Wu C-H, Lei Y-Y, Chao M-C, et al. Time-varying serum albumin levels and all-cause mortality in prevalent peritoneal dialysis patients: a 5-year observational study. BMC Nephrol. 2019;20(1):254. pmid:31291904
- 31. Spiegel DM, Anderson M, Campbell U, Hall K, Kelly G, McClure E, et al. Serum albumin: a marker for morbidity in peritoneal dialysis patients. Am J Kidney Dis. 1993;21(1):26–30. pmid:8418622
- 32. Blake PG, Flowerdew G, Blake RM, Oreopoulos DG. Serum albumin in patients on continuous ambulatory peritoneal dialysis--predictors and correlations with outcomes. J Am Soc Nephrol. 1993;3(8):1501–7. pmid:8490120
- 33. Gong N, Xiao Z, Zhang F, Zhong X, He Y, Yi Z, et al. Duration of serum phosphorus control associated with overall mortality in patients undergoing peritoneal dialysis. Kidney Dis (Basel). 2020;6(6):434–43. pmid:33313064
- 34. Mehrotra R, Duong U, Jiwakanon S, Kovesdy CP, Moran J, Kopple JD, et al. Serum albumin as a predictor of mortality in peritoneal dialysis: comparisons with hemodialysis. Am J Kidney Dis. 2011;58(3):418–28. pmid:21601335
- 35. Williamson PR, Kolamunnage-Dona R, Philipson P, Marson AG. Joint modelling of longitudinal and competing risks data. Stat Med. 2008;27(30):6426–38. pmid:18825652
- 36. Wang X, Han Q, Wang T, Tang W. Serum albumin changes and mortality risk of peritoneal dialysis patients. Int Urol Nephrol. 2020;52(3):565–71. pmid:32016905
- 37. Zhang J, Lu X, Li H, Wang S. Risk factors for mortality in patients undergoing peritoneal dialysis: a systematic review and meta-analysis. Ren Fail. 2021;43(1):743–53. pmid:33913381
- 38. Huang N, Li H, Fan L, Zhou Q, Fu D, Guo L, et al. Serum phosphorus and albumin in patients undergoing peritoneal dialysis: interaction and association with mortality. Front Med (Lausanne). 2021;8:760394. pmid:34926505
- 39. Liu X, Huang R, Wu H, Wu J, Wang J, Yu X, et al. Patient characteristics and risk factors of early and late death in incident peritoneal dialysis patients. Sci Rep. 2016;6:32359. pmid:27576771
- 40. Rivara MB, Ravel V, Kalantar-Zadeh K, Streja E, Lau WL, Nissenson AR, et al. Uncorrected and albumin-corrected calcium, phosphorus, and mortality in patients undergoing maintenance dialysis. J Am Soc Nephrol. 2015;26(7):1671–81.
- 41. Yaghoubi F, Hakemi M, Taghizadeh H, Alatab S. The relationship between bone mineral indices and survival in patients on peritoneal dialysis. J Renal Inj Prev. 2020;10(4):e36–e36.
- 42. Melamed ML, Eustace JA, Plantinga L, Jaar BG, Fink NE, Coresh J, et al. Changes in serum calcium, phosphate, and PTH and the risk of death in incident dialysis patients: a longitudinal study. Kidney Int. 2006;70(2):351–7. pmid:16738536
- 43. Menon V, Greene T, Pereira AA, Wang X, Beck GJ, Kusek JW, et al. Relationship of phosphorus and calcium-phosphorus product with mortality in CKD. Am J Kidney Dis. 2005;46(3):455–63. pmid:16129207
- 44. Mejia J, Gamba G, Correa-Rotter R, Saldivar S, Pena J. Early clinical and laboratory predictors of death risk in CAPD patients. J Am Soc Nephrol. 1992;3:415.
- 45. Rocco MV, Jordan JR, Burkart JM. The efficacy number as a predictor of morbidity and mortality in peritoneal dialysis patients. J Am Soc Nephrol. 1993;4(5):1184–91. pmid:8305645
- 46. Zhang F, Liu H, Gong X, Liu F, Peng Y, Cheng M, et al. Risk factors for mortality in Chinese patients on continuous ambulatory peritoneal dialysis. Perit Dial Int. 2015;35(2):199–205. pmid:25185013
- 47. Cueto–Manzano AM, Quintana–Piña E, Correa–Rotter R. Long-term capd survival and analysis of mortality risk factors: 12-year experience of a single Mexican center. Perit Dial Int. 2001;21(2):148–54.
- 48. Ataş DB, Aşıcıoğlu E, Tuğcu M, Arıkan İH, Velioğlu A. Long-term predictors of mortality in peritoneal dialysis patients. J Nephrol. 2021;30(3):224–9.
- 49. Block GA, Hulbert-Shearon TE, Levin NW, Port FK. Association of serum phosphorus and calcium x phosphate product with mortality risk in chronic hemodialysis patients: a national study. Am J Kidney Dis. 1998;31(4):607–17. pmid:9531176
- 50. Naumzik C, Feuerriegel S, Nielsen AM. Data-driven dynamic treatment planning for chronic diseases. Eur J Oper Res. 2023;305(2):853–67.
- 51. Basol M, Goksuluk D, Sipahioglu MH, Karaagaoglu E. Effect of serum albumin changes on mortality in patients with peritoneal dialysis: a joint modeling approach and personalized dynamic risk predictions. Biomed Res Int. 2021;2021:6612464. pmid:34337034
- 52.
Rizopoulos D. Joint models for longitudinal and time-to-event data: with applications in R. CRC Press; 2012.
- 53. Rizopoulos D. JM: AnRPackage for the joint modelling of longitudinal and time-to-event data. J Stat Soft. 2010;35(9).
- 54. Chen Y, Wang Y. Variable selection for joint models of multivariate longitudinal measurements and event time data. Stat Med. 2017;36(24):3820–9. pmid:28707701
- 55. Shen F, Li L. Backward joint model and dynamic prediction of survival with multivariate longitudinal data. Stat Med. 2021;40(20):4395–409. pmid:34018218