Skip to main content

Joint modeling of longitudinal changes of pulse rate and body temperature with time to recovery of pneumonia patients under treatment: a prospective cohort study

Abstract

Background

Pneumonia is the leading infectious cause of mortality worldwide and one of the most common lower respiratory tract infections that is contributing significantly to the burden of antibiotic consumption. The study aims to identify the determinants of the progress of pulse rate, body temperature and time to recovery of pneumonia patients.

Method

A prospective cohort study design was used from Felege Hiwot referral hospital on 214 sampled pneumonia patients from March 01, 2022 up to May 31, 2022. The Kaplan–Meier survival estimate and Log-Rank test was used to compare the survival time. Joint model of bivariate longitudinal and time to event model was used to identify factors of longitudinal change of pulse rate and body temperature with time to recovery jointly.

Result

As the follow up time of pneumonia patient’s increase by one hour the average longitudinal change of pulse rate and body temperature were decreased by 0.4236 bpm and 0.0119 \({C}^{0}\). The average longitudinal change of pulse rate and body temperature of patients who lived in rural was 1.4602 bpm and 0.1550 \({C}^{0}\) times less as compared to urban residence. Patients who had dangerous signs are significantly increased the average longitudinal change of pulse rate and body temperature by 2.042 bpm and 0.6031 \({C}^{0}\) as compared to patients who had no dangerous signs. A patient from rural residence was 1.1336 times more likely to experience the event of recovery as compared to urban residence. The estimated values of the association parameter for pulse rate and body temperature were -0.4236 bpm and -0.0119 respectively, which means pulse rate and body temperature were negatively related with patients recovery time.

Conclusion

Pulse rate and body temperature significantly affect the time to the first recovery of pneumonia patients who are receiving treatment. Age, residence, danger sign, comorbidity, baseline symptom and visiting time were the joint determinant factors for the longitudinal change of pulse rate, body temperature and time to recovery of pneumonia patients. The joint model approach provides precise dynamic predictions, widespread information about the disease transitions, and better knowledge of disease etiology.

Peer Review reports

Background

Pneumonia is a kind of ARTI (acute respiratory tract infection) that affects the lungs. When a person gets pneumonia, the alveoli in their lungs become clogged with discharge and fluids, making breathing difficult and cutting off oxygen uptake [1]. Pneumonia is an irritation of the lungs including the alveolar pipes and alveolar sacs. It is related to intense respiratory parcel disease and as of late evolved radiological signs. The most common way to classify pneumonia is by where or how it was acquired. Community-acquired pneumonia (CAP) is a type of pneumonia that develops outside of the hospital and is identified within 48 h after admission. Hospital-acquired pneumonia, on the other hand, occurs longer than 48 h after admission and without any prior indications of infection at the time of admission [2].

Pneumonia can be defined as community-acquired, hospital-acquired (nosocomial), or ventilator-associated pneumonia, depending on the location and mode of occurrence. It can also be classified as lobar, bronchial, or acute interstitial pneumonia, depending on the area of the lung affected. It can be classified as non-severe, severe, or very severe based on indications and symptoms. A productive cough, fever with shaking chills, shortness of breath, severe or stabbing chest discomfort during deep breathing, and an accelerated pace of breathing are all [3]. Infection with viruses or bacteria is the most common cause of pneumonia. It can be caused by viruses or bacteria in up to 45 percent of children and 15 percent of adults. The most prevalent cause of community-acquired pneumonia (CAP) is bacteria, with Streptococcus pneumonia being detected in over half of all cases. Haemophilus influenza is found in 20% of cases, Chlamydophila pneumonia is found in 13% of cases, and Mycoplasma pneumonia is found in 3% of cases. Drug-resistant forms of the aforesaid infections, such as drug-resistant Streptococcus pneumonia (DRSP) and methicillin-resistant Staphylococcus aurous, are becoming more common in children, accounting for around 15% of pneumonia cases [4].

The microbiological etiology of health-care-associated pneumonia (HCAP) is more similar to HAP than CAP due to patient risk factors. The difficulties of defining risk indicators for this population, combined with the global variability of post-hospital health care, show that the concept of HCAP is of low utility, and it was left out of recent CAP and HCAP guidelines. Pneumonia also causes pulmonary dysfunction and the start or worsening of cardiovascular disease (CVD); includes heart attacks, strokes, heart failure, and atrial fibrillation), as well as cognitive decline, depression, physical limitations, and a shorter lifespan. Although the disease is caused by a host pathogen interaction, the host's features are the most important predictors of susceptibility to, progression through, and outcomes from pneumonia. Although much attention has been paid to the microorganisms that cause pneumonia, there is still a great need for research from the standpoint of the host [5].

CAP is a truly worldwide disease that continues to be the largest infectious disease cause of hospitalization, morbidity, and death in both developed and developing countries. Based on disparities in population ages and smoking habits, underlying comorbid diseases, influenza and pneumococcal vaccination rates, and access to healthcare, clinical and microbiological differences in CAP exist in different parts of the world. Pathogen epidemiological trends are also shifting in different geographical regions. Streptococcus pneumonia (pneumococcus) has long been thought to be the most common cause of CAP. Pneumococcus is one of the most common causes of CAP in Europe and Sub-Saharan Africa, with continuously high levels of pneumococcal infection after successful antiretroviral medication rollout in Sub-Saharan Africa, owing mostly to underlying human immunodeficiency virus infection [6]. However, longitudinal studies typically have more than one repeated response variables which can be related to time to event outcome. In this study, we would be focused on joint modelling of bivariate longitudinal outcomes and time to-event outcome.

Materials and methods

Study area

The study was conducted at Felege Hiwot Referral Hospital (FHRH), Bahir Dar, Ethiopia. The Hospital gives service to people who are living in Northwest Ethiopia. It is away 564 KM from Addis Ababa, the capital city of Ethiopia [7].

Variables in the study

Dependent variables

This study considered three response variables. These are the two longitudinal measures and one event-time outcome. The longitudinal responses of pulse rate and body temperature of pneumonia patients were measured approximately every six hours during the day. Because, Monitoring pulse rate and body temperature as longitudinal variables in pneumonia allows for early detection of infection, assessment of disease severity, evaluation of treatment effectiveness, identification of complications, and prognostic assessment. These vital signs provide valuable information for effective management and monitoring of patients with pneumonia.

Pulse rate (PR): is the number of beats per minute (bpm) measured over one full minute.

Body temperature (BT): is a measure of how well your body can generate, expel heat in degrees Celsius and it is also measured for one full minute.

Time to event data: Time to the recovery of diseases in hours.

PR and BT from baseline up to hospital discharge of 214 sample pneumonia patients were measured correspondingly and approximately every six hours of the day and considered a maximum of 17 follow ups for each of the two outcomes. Data were collected at the 6, 12, 18, 24, 30, 36, 42, 48, 54, 60, 66, 72, 78, 84, 90, 96, and 102 h visits, beginning with the baseline and continuing every six hours. The time to recovery of pneumonia patients can be given as:

$$status=\left\{\begin{array}{c}0,if\;not\;recover\\1,\;recover\end{array}\right.$$

Independent variables

The list of independent variables and their description, categories, and coding were presented in Table 1.

Table 1 Independent variables and coding

Statistical methods

The data were explored using individual profile plots, mean profile plots, and the Kaplan–Meier curve. Then, the longitudinal measures from PR and BT were taken within follow-up, and the time to recovery of diseases in hours of patients was analysed separately to identify the determinant factors for both models, and jointly to assess the influence of the longitudinal change of PR and BT on survival time till to the first recovery among pneumonia patients via linear mixed effects model (LMM).

Joint model of univariate longitudinal and survival data

The structure of the joint modelling requires a model of longitudinal response and time to event data. These two responses should be modelled simultaneously; therefore, a structure for.

considering the association between them is required [8]. Besides, for the vector of fixed effects of the longitudinal sub-model by assuming individuals with different levels of pulse rate and temperature variability have different susceptibility to recovery. Additionally, the pulse rate and body temperature trajectory is described by the LMM that incorporates subject specific variance [9]. Thus, the longitudinal sub model given as:

$$\begin{array}{c}{\mathrm{y}}_{\mathrm{i}}\left(\mathrm{t}\right)={{\mathrm{x}}^{\mathrm{^{\prime}}}}_{\mathrm{i}}\left(\mathrm{t}\right)\upbeta +{{\mathrm{z}}^{\mathrm{^{\prime}}}}_{\mathrm{i}}\left(\mathrm{t}\right){\mathrm{b}}_{\mathrm{i}}+{\upvarepsilon }_{\mathrm{i}}\\ ={\mathrm{w}}_{\mathrm{i}}\left(\mathrm{t}\right)+{\upvarepsilon }_{\mathrm{i}}\left(\mathrm{t}\right), {\mathrm{w}}_{\mathrm{i}}\left(\mathrm{t}\right)={{\mathrm{x}}^{\mathrm{^{\prime}}}}_{\mathrm{i}}\left(\mathrm{t}\right)\upbeta +{{\mathrm{z}}^{\mathrm{^{\prime}}}}_{\mathrm{i}}(\mathrm{t}){\mathrm{b}}_{\mathrm{i}}\end{array}$$

The parameters \({\mathrm{b}}_{\mathrm{i}}\sim \mathrm{N}\left(0,\mathrm{G}\right), {\upvarepsilon }_{\mathrm{i}}(\mathrm{t})\sim \mathrm{N}(0, {{\updelta }_{\mathrm{I}}}^{2})\) where, \({\mathrm x}_{\mathrm i}\left(\mathrm t\right)\;\mathrm{and}\;z_{\mathrm i}(\mathrm t)\) are the design vectors for fixed effect \(\upbeta\), and \({\mathrm{b}}_{\mathrm{i}}\) is a vector of random slope effects of \({\mathrm{Z}}_{\mathrm{i}}\) and \({\upvarepsilon }_{\mathrm{i}}\left(\mathrm{t}\right)\) are the error terms. The random effects \({\mathrm{b}}_{\mathrm{i}}\) follow a bivariate normal distribution with covariance matrix \(\mathrm{G}\) which means the Random effects account for individual-level differences or heterogeneity that may exist among the subjects in a longitudinal study. The error terms are normally distributed, and independent of \({\mathrm{b}}_{\mathrm{i}}\). To handle the measurement error, the observed longitudinal outcome \({\mathrm{y}}_{\mathrm{i}}(\mathrm{t})\) is expressed as the sum of the true longitudinal outcomes \({\mathrm{w}}_{\mathrm{i}}(\mathrm{t})\) and a random error term in the mixed effects model [10, 11].

The goodness of fit of the joint longitudinal survival model was checked using the novel decomposition of AIC and BIC [12].

Bivariate longitudinal sub model

The longitudinal sub model is a linear mixed model (LMM) for a continuous covariate, or a generalized LMM for a discrete covariate (e.g. count, binary variable). This study focused on the LMM assuming homogeneous within patient variance. Let \({\mathrm{y}}_{\mathrm{k}}({\mathrm{t}}_{\mathrm{ij}})\) denote the observed measurements of the \({\mathrm{k}}^{\mathrm{th}}\) longitudinal outcome for subject i at time points\({\mathrm{t}}_{\mathrm{ij}}\), where \({\mathrm{j}=\mathrm{1,2},3,..\mathrm{ n}}_{\mathrm{i}}\), \(\mathrm{i}=\mathrm{1,2},3,\dots \mathrm{n}\) \(\mathrm{k}=\mathrm{1,2}\) denotes the number of longitudinal outcomes; \({\mathrm{n}}_{\mathrm{i}}\) is the number of longitudinal repeated measures for each outcome; k is the number of longitudinal outcomes in the model [13]. The model we describe is the natural extension of the model proposed by [14] to the case of multivariate longitudinal data. The model posits an unobserved or latent zero-mean (K + 1) variation Gaussian process that is realized independently for each subject,

$${\mathrm{w}}_{\mathrm{i}}\left(\mathrm{t}\right)=\left[{{\mathrm{w}}_{1\mathrm{i}}}^{1}\left(\mathrm{t}\right),..{{\mathrm{w}}_{1\mathrm{i}}}^{\mathrm{k}}(\mathrm{t}){\mathrm{w}}_{\mathrm{i}}(\mathrm{t})\right]$$

This latent process subsequently links the separate sub-models via association parameters.

The \({\mathrm{k}}^{\mathrm{th}}\) longitudinal data sub-model is given by

$$\begin{array}{c}{\mathrm{y}}_{\mathrm{ik}}\left({\mathrm{t}}_{\mathrm{i}}\right)={\upmu }_{\mathrm{ik}}\left({\mathrm{t}}_{\mathrm{i}}\right)+{w}_{ik}\left(\mathrm{t}\right)+{\upvarepsilon }_{\mathrm{ik}}\left(\mathrm{t}\right) \qquad {\upvarepsilon }_{\mathrm{ik }}\sim {\varvec{N}}\left(0,{{\varvec{\sigma}}}_{{\varvec{k}}}^{2}\right)\boldsymbol{ }and\ \mathrm{k}=2,\text{ which is PR and BT}\\ {\upmu }_{\mathrm{ik}}\left({\mathrm{t}}_{\mathrm{i}}\right)={{\mathrm{x}}_{\mathrm{ik}}}^{\mathrm{T}}{\upbeta }_{\mathrm{k}}\ \text{is mean of }{\mathrm{k}}_{\mathrm{i}} \\ \mathrm{and}\qquad {w}_{ik}={{\mathrm{Z}}_{\mathrm{ik}}}^{\mathrm{T}}{\mathrm{b}}_{\mathrm{ik}}\end{array}$$

Where, \({{\mathrm{Z}}_{\mathrm{ik}}}^{\mathrm{T}}\) is an \({\mathrm{r}}_{\mathrm{k}}\) vector of possibly covariates with corresponding subject-and-outcome random effect terms \({\mathrm{b}}_{\mathrm{ik}}\) is a matrix of random slope effects of \({\mathrm{Z}}_{\mathrm{ik}}\), which follow a zero-mean multivariate normal distribution with \({(\mathrm{ r}}_{\mathrm{k}}\times {\mathrm{r}}_{\mathrm{k}})\) variance covariance matrix \({\mathrm{D}}_{\mathrm{kk}}\). To account for dependence between the different longitudinal outcomes, individual heterogeneity, models the correlation among repeated measures, captures unobserved factors, and improves the precision and efficiency of parameter estimation, we let \({\mathbf{c}\mathbf{o}\mathbf{v}(\mathrm{b}}_{\mathrm{ik}} ,{\mathrm{b}}_{\mathrm{in}}){=\mathrm{ b}}_{\mathrm{kn}}\) for k ≠ n. Furthermore, we assume \({\upvarepsilon }_{\mathrm{ik}}\) and \({\mathrm{b}}_{\mathrm{ik}}\) are un-correlated, and that the censoring times are independent of the random effects [10].

Survival sub model

Assuming that the hazard function depends on some functions of the true longitudinal measures \(\mathrm{F}({{\mathrm{y}}_{\mathrm{ik}}\left(\mathrm{t}\right)}^{*}\) and the baseline covariates \({\mathrm{w}}_{\mathrm{i}}\), the hazard function [13]. Let \({\mathrm{h}}_{0}(\mathrm{t})\) denotes the baseline hazard function, and \({\mathrm{\alpha }}_{\mathrm{k}}\) and γ are coefficients for the function of \({\mathrm{k}}^{\mathrm{th}}\) biomarker and baseline risk factors. The baseline hazard function can be a parametric function or a flexible piecewise constant function. The correlation between the multiple longitudinal biomarkers and time to event outcome is induced by the shared random effects through \(\mathrm y_{\mathrm k}^\ast\left({\mathrm t}_{\mathrm i}\right)\mathrm{or}\;{\mathrm b}_{\mathrm{ik}}\) or in the longitudinal and survival models. The function \(\mathrm{F}(.)\) can be chosen as different functional forms depending on the interest of the study. If the focus is the association between longitudinal values and event risk, the function can be an identity function. The survival sub model of the Cox proportional hazard model is given by [15, 16].

$${\mathrm{h}}_{\mathrm{i}}\left(\mathrm{t}\right)={\mathrm{h}}_{0}\left(\mathrm{t}\right)\mathrm{exp}({\upgamma }^{\mathrm{T}}{\mathrm{w}}_{\mathrm{i}}+{\sum }_{\mathrm{k}=1}^{2}{\mathrm{\alpha }}_{\mathrm{k}}\mathrm{F}({\mathrm{y}}_{\mathrm{k}}*\left({\mathrm{t}}_{\mathrm{i}}\right)))$$

The basic joint model using shared random effects, closely following [9] consists of a survival sub model where the hazard.

$${\mathrm h}_{\mathrm i}\left(\mathrm t\right)={\mathrm h}_0\left(\mathrm t\right)\exp\left(\mathrm x_{\mathrm i}^{\mathrm T}\mathrm\beta+{\mathrm\alpha}_{\mathrm k}{\mathrm w}_{\mathrm i}\left(\mathrm t\right)\right)$$

The model contains the baseline survival covariates and the true longitudinal marker \({\mathrm{w}}_{\mathrm{i}}(\mathrm{t})\) where \({\mathrm{\alpha }}_{\mathrm{k}}\) denotes the association between the longitudinal and the time-to-event process.

There are three common association structures; “current value”, “current value and slope”, and “shared random effects” parameterization [15, 17, 18]. Among those association parameterizations the “current value and slope” was used, hence our interest is to see the effects of the current true values and slopes of Pulse rate (PR) and Body temperature (BT) on Time to the recovery of diseases of Pneumonia patients.

Results

Data exploration was done using tabular and graphical approaches. Among 214 pneumonia patients, 183(85.51%) were recovered, and 104 (48.6%) were residents from rural areas (see Table 2). About 103(48.1%), 110(51.4%), 91(42.5%), and 130(60.7%) had breathing difficulty, no danger sign, mild-sever and comorbidity respectively.

Table 2 Frequency distribution for baseline independent variables together with recovery time difference and their association

The mean and median survival times of pneumonia patients were 63.34 and 66 h, respectively. The mean PR and BT values were 107.04 bpm and 37.26 0C, with standard deviations of 23.83 and 0.7884, respectively.

The Kaplan–Meier survival curves in Fig. 1 revealed that the recovery time of pneumonia patients having comorbidity required longer time to recover from pneumonia as compared to the recovery time of patients without comorbidity.

Fig. 1
figure 1

The Kaplan–Meier survival curves for severity, age, danger sign and comorbidity

The profile plot in Fig. 2 depicts that the patients began with a varying baseline of PR and BT. It also shows the progress of PR and BT are different over time. The mean profile shows patients' PR stays relatively constant during the research period, while their BT declines with time.

Fig. 2
figure 2

Individual profiles with average trend line for PR and BT

The evolution of association was used to find the marginal correlation between the two responses PR and BT at different visit times. i.e., for the first two visit times, the marginal correlation between the two measures was 0.0.6846 (at the first visit), and 0.5198 (at the second visit, which shows a little decrement (see Fig. 3).

Fig. 3
figure 3

Marginal correlation plot for PR and BT of pneumonia patients

The estimated standard deviation of random intercepts of PR and BT was -0.4268 (p-value < 0.001) and -0.2931(p-value < 0.001) respectively, and this shows the average longitudinal change of PR and BT had an association with time to recovery of pneumonia patients. The output result indicates that PR and BT were negatively associated with time to recovery of pneumonia patients. It was providing that the bivariate longitudinal PR and BT were negatively associated with the time to recovery of pneumonia patient who had the treatment follow-up.

From the random part of the model Table 3 shows that the variation of the random intercepts in PR was 228.94 with random slopes of 0.834 and variation of the random intercepts in BT was 0.9567 with random slopes of 0.376. This implies there is higher base line difference in PR and BT in the start of their treatment. The covariance of random intercept and the random slope of the two biomarkers PR and BT were -8.96 and -0.438 respectively. The within variance of the joint model were 13.4975 and 0.4963 for pulse rate and body temperature respectively. Table 3, below displays the result of bivariate longitudinal measures of PR and BT with time to recovery of pneumonia patients modelling jointly.

Table 3 Joint model parameter estimates for longitudinal and survival processes

The estimated intercept value of average PR and BT of pneumonia patients were 117.92 bpm and 38.2809 \({C}^{0}\) respectively when the covariates are at the reference category. As the patient’s vising time increase by one hour the average PR and BT of the patient will be decreased by -0.4236 bpm and -0.0119 \({C}^{0}\) respectively (see Table 3). The average PR and BT of patients had a 3.9482 bpm and 1.335 \({C}^{0}\) decrement for patients whose age 15–24 years old than those patients whose age \(\le 14\) years old, the average PR and BT of pneumonia patients had a 3.6249 bpm and 1.577 \({C}^{0}\) decrement for patients whose age 25–64 years old than those patients whose age \(\le 14\) years old respectively, and the average PR and BT of pneumonia patients had a 2.4263 bpm and 0.802 \({C}^{0}\) decrement for patients whose age \(\ge 65\) years old than those patients whose age \(\le 14\) years old respectively. Similarly, the average PR and BT of patients had a 1.4602 bpm and 0.1550 \({C}^{0}\) decrements for patients who lived in rural residence than patients who lived in urban residence respectively. The expected change of PR and BT patients had a 2.042 bpm and 0.6031 \({C}^{0}\) increase for patients who had dangerous signs than patients who had no dangerous signs. And also, the average PR and BT of patients had a 1.2458 bpm and 0.1260 \({C}^{0}\) increments for patients who had comorbidity than had no comorbidity diseases. Additionally, the average PR and BT of patients had a 1.2843 bpm and 0.4186 \({C}^{0}\) decrement patients who had ventilated improved pit-latrine toilet than patients who had open pit-latrine toilet in the yard. Finally, the average PR and BT of patients had 1.4021 bpm, 1.5192 bpm and 0.5128 \({C}^{0}\), 0.4678 \({C}^{0}\) increment patients who had baseline symptoms and others than patients who had baseline cough symptom respectively, keeping the other covariates constant.

The hazard of the patient’s time to recovery for aged 15–24 and 25–65 years was 2.6695 and 2.3819 times more likely than the hazard of pneumonia patient’s whose age less than 14 years old respectively, and patent’s aged greater than 65 years was 0.9010 times less likely than patient’s aged less than 14 years (see Table 3). And, the hazard of the patients time to recovery for patients who had dangerous signs was 0.3456 time less likely than patients who had no dangerous signs. Similarly, the hazard of the patient’s time to recovery for patients who lived in rural was 1.1336 times more likely than the hazard of pneumonia patients who lived in urban. Finally, the hazard of the patients time to recovery for patients who had comorbidity diseases was 0.8312 time less likely than patients who had no comorbidity diseases, keeping the other covariates constant.

The time to recovery for patients who had a mild-sever status of pneumonia patients was 68% lower than those who had non-sever pneumonia patients, and the time to recovery for patients who had a sever status of pneumonia patients was 49% lower than those who had non-sever pneumonia patients.

The estimate of the association parameter for the current true value of PR (\({\rho b}_{PR}\)) in the joint model was -0.4268 (HR = 0.6526 (0.4758 to 0.8951), p-value = 0.0081); there is a 0.65-fold decrease in risk of the time to recovery, per doubling of PR. i.e., for a unit bpm increase on the PR the rate of time to recovery of patients will be decreased by 34.74%.

Discussion

This study attempted to jointly model the longitudinal change of Plus Rate and Body temperature with recovery time of Pneumonia patients receiving treatment. The data were explored using several approaches such as mean plot, profile plot, and Kaplan–Meier estimates. To estimate the effects of the socioeconomic, demographic and biological characteristics joint longitudinal and survival models were employed.

The result reveals that about 85.51% of patients were recovered from pneumonia with a median recovery time of 63.34 h which took shorter recovery time as compared to results of the study done by [19,20,21,22,23,24], whereas it is longer recovery time as compared to results of the study done by [25,26,27]. The difference can be due to the difference in explanatory variables that we used and type of hospital etc.

Age has a significant effect on the two longitudinal measures of pneumonia PR and BT. When the age of pneumonia patient’s increase, the average longitudinal change of PR and BT measures are decrease. This indicates that, lower levels of pneumonia are found for increased age of patients. This was in line with results of the study conducted using nonlinear mixed model by [22].

Age has a significant effect on the recovery time of pneumonia patients in this study. That means at age \(\le 14\) and \(\ge 65\) year age group the recovery time of pneumonia patient is decrease. And at 15–24 and 25–64 age groups the recovery time of pneumonia is increase based on the above output table 4.10. This study confirms the study done on [28,29,30]. Unlikely, using binomial logistic regression [31] found that age had no significant effect on measures of pneumonia. This requires further investigation to reach a decision in the effects of age on CAP.

The recovery rate of pneumonia patients who have comorbidity, sever pneumonia and age greater than or equal to 65 are decreased as compared to without comorbidity, non-sever pneumonia, age less than or equal to 14 year. This finding is in line with other study done by [28]. And rural residency significantly decreases the average longitudinal change of PR and BT of pneumonia patients. This indicates that, rural residency was significantly associated with the recovery time of pneumonia patient’s. This was in line with the results of the study done by [24, 31].

Urban residency was significantly decreases the recovery time of pneumonia patients where, rural residency were significantly increases the recovery time of pneumonia patients. This finding is confirms the study done on [31]. And the patients who uses ventilated improved pit-latrine toilet were significantly increases the recovery time of pneumonia patients as compared to use open pit-latrine toilet. This finding confirms with the other study done [22].

As the visiting time increases, the average values of pulse rate and body temperature decreases through visit time of pneumonia patients, which indicates the effectiveness of the treatment to lower pneumonia. Visiting time of pneumonia patient had negative association with the average longitudinal change of pulse rate and body temperature of pneumonia patient. This result also conforms from the previous result done by [32].

The age of patient had statistically negative significant effect on average longitudinal change of pulse rate, body temperature and associated with a risk recovery of patient as the age increase the survival of patient increase. This finding is in line with other study done by [33, 34].

Higher values of pulse rate and body temperature were related with longer recovery time (high risk of pneumonia) and low values of pulse rate and body temperature related with shorter recovery time (low risk of pneumonia). This indicates there is association between pulse rate and body temperature with time to recovery of pneumonia patients. This was consistent with results of the studies done by [24, 26, 27].

Conclusion

The study investigated and identified factors that are associated with bivariate longitudinal measure of PR and BT with time to recovery of pneumonia patient’s treatment at FHSH using joint model of bivariate longitudinal and survival analysis. From the log-rank tests showed that the survival experience of different groups of pneumonia patients on residence, age, danger sign, baseline severity, weekly household income and comorbidity were statistically significant. The bivariate longitudinal linear mixed effect model shows that the correlation between two biomarkers PR and BT of pneumonia had correlation overtime.

From separate analysis the significant factors of pulse rate were age, residence, dangerous sign, baseline severity, weekly household income, comorbidity, and toilet use, baseline symptom and visiting time. And Residence, age, dangerous sign, baseline severity, comorbidity, toilet use, baseline symptom and visiting time are statistically significant effect on average change of body temperature. Whereas age, baseline severity, dangerous sign, toilet use, source of drinking water, residence, comorbidity and weekly household income are statistically significant effect on recovery time of pneumonia patients.

The joint model result indicates that, the significant factors of pulse rate and body temperatures of pneumonia patients were age, comorbidity of diseases, dangerous signs and baseline symptoms whereas risk factors for time to recovery of pneumonia patients were age, residence, dangerous sign, comorbidity, and baseline severity. Weekly household income is a significance predictor of pulse rate of pneumonia patients. And toilet use is a significant variable for body temperature of pneumonia patients. Whereas baseline severity is a significant predictor for both pulse rate and time to recovery of pneumonia patients.

When evaluating the overall performance of both the separate and joint models in terms of model parsimonious, goodness of fit, and the statistical significance of the association parameters, the joint model performs better estimate than the separate models. As the result, we concluded that the joint model was preferred for simultaneous analyses of repeated measurement with survival data.

Availability of data and materials

The data is owned by the Department of Statistics, Bahir Dar University, Bahir Dar, Ethiopia, and is not publicly available due to ethical restrictions and participant confidentiality concerns. But de-identified data can be available by contacting the Department of Statistics via email: muluwerk.ayelederebe@bdu.edu.et, tel: + 251918282110 for the researchers who meet the criteria for access to confidential data.

Abbreviations

AFT:

Accelerated Failure Time

AIC:

Akaike Information Criterion

PR:

Pulse Rate

BT:

Body Temperature

LMM:

Linear mixed effects model

ARTI:

Acute respiratory tract infection

CAP:

Community-acquired pneumonia

DRSP:

Drug-resistant Streptococcus pneumonia

HCAP:

Health-care-associated pneumonia

CVD:

Cardiovascular disease

FHRH:

Felege Hiwot Referral Hospital

bpm:

Beats per minute

References

  1. Tessema T. Modelling under-five mortality among hospitalized pneumonia patients in hawassa city, Ethiopia: a cross-classified Multilevel analysis. Ann Data Sci. 2018;5(2):111–32.

    Article  Google Scholar 

  2. Teka Z, T A, Gizaw Z. Analysis of risk factors for mortality of in-hospital pneumonia patients in Bushulo Major Health Center, Hawassa, Southern Ethiopia. 2014.

    Book  Google Scholar 

  3. Organization WH. World health statistics 2016: monitoring health for the SDGs sustainable development goals. World Health Organization; 2016.

  4. Nam HH, Ison MG. Community acquired respiratory viruses in solid organ transplant. Curr Opin Organ Transplant. 2019;24(4):483.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  5. Dela Cruz CS, et al. Future research directions in pneumonia. NHLBI working group report. Am J Respir Crit Care Med. 2018;198(2):256–63.

    Article  PubMed  PubMed Central  Google Scholar 

  6. Wunderink RG, Feldman C. Community-acquired pneumonia: a global perspective. In: Seminars in respiratory and critical care medicine. 2020. Thieme Medical Publishers.

  7. Bitew M, Tafere A, Tolosa T. Study on bovine mastitis in dairy farms of Bahir Dar and its environs. J Anim Vet Adv. 2010;9(23):2912–7.

    Article  Google Scholar 

  8. Wu X, Kumar V. The top ten algorithms in data mining. CRC press; 2009.

  9. Rizopoulos D. Joint models for longitudinal and time-to-event data: with applications in R. CRC press; 2012.

  10. Diggle P. Analysis of longitudinal data. Oxford university press; 2002.

  11. Cekic S, et al. A tutorial for joint modeling of longitudinal and time-to-event data in R. arXiv preprint arXiv:1909.05661, 2019.

  12. Zhang D, et al. Assessing model fit in joint models of longitudinal and survival data with applications to cancer clinical trials. Stat Med. 2014;33(27):4715–33.

    Article  PubMed  PubMed Central  Google Scholar 

  13. Yang L, Yu M, Gao S. Joint models for multiple longitudinal processes and time-to-event outcome. J Stat Comput Simul. 2016;86(18):3682–700.

    Article  PubMed  PubMed Central  Google Scholar 

  14. Henderson R, Diggle P, Dobson A. Joint modelling of longitudinal measurements and event time data. Biostatistics. 2000;1(4):465–80.

    Article  CAS  PubMed  Google Scholar 

  15. Lawrence Gould A, et al. Joint modeling of survival and longitudinal non-survival data: current methods and issues. Report of the DIA Bayesian joint modeling working group. Stat Med. 2015;34(14):2181–95.

    Article  CAS  PubMed  Google Scholar 

  16. Papageorgiou G, et al. An overview of joint modeling of time-to-event and longitudinal outcomes. Annu Rev Stat Appl. 2019;6:223–40.

    Article  Google Scholar 

  17. Khoundabi B, et al. Acute kidney injury risk factors for ICU patients following cardiac surgery: the application of joint modeling. Trauma Monthly. 2016;21(4).

  18. Workie DL, Zike DT, Fenta HM. Bivariate longitudinal data analysis: a case of hypertensive patients at Felege Hiwot Referral Hospital, Bahir Dar. Ethiopia BMC Research Notes. 2017;10(1):1–7.

    Google Scholar 

  19. Nantanda R, et al. Clinical outcomes of children with acute asthma and pneumonia in Mulago hospital, Uganda: a prospective study. BMC Pediatr. 2014;14(1):1–10.

    Article  Google Scholar 

  20. Geleta D, Tessema F, Ewnetu H. Determinants of community acquired pneumonia among children in Kersa District, Southwest Ethiopia: facility based case control study. J Pediatr Neonatal Care. 2016;5(2):00179.

    Google Scholar 

  21. Dong T, et al. Discharge disposition as an independent predictor of readmission among patients hospitalised for community-acquired pneumonia. Int J Clin Pract. 2017;71(3–4):e12935.

    Article  Google Scholar 

  22. Wootton DG, et al. A longitudinal modelling study estimates acute symptoms of community acquired pneumonia recover to baseline by 10 days. Eur Respir J. 2017;49(6).

  23. Mueller S, et al. Inter-hospital transfer and patient outcomes: a retrospective cohort study. BMJ Qual Saf. 2019;28(11):e1–e1.

    Article  PubMed  Google Scholar 

  24. Wube Y, Azmeraw S. Joint modeling of longitudinal changes of respiratory rate, pulse rate and oxygen saturation with time to convalescence among pneumonia patients: a comparison of separate and joint models. 2022.

    Google Scholar 

  25. Basnet S, et al. Predictors of duration and treatment failure of severe pneumonia in hospitalized young Nepalese children. PLoS One. 2015;10(3):e0122052.

    Article  PubMed  PubMed Central  Google Scholar 

  26. Opio JH. Survival of children aged less than two years with pneumonia in Mulago Hospital Kampala, Uganda. Makerere University; 2018.

  27. Wolf RB, et al. Time to clinical stability among children hospitalized with pneumonia. J Hosp Med. 2015;10(6):380–3.

    Article  PubMed  Google Scholar 

  28. Mengist B, Tesfa M, Kassie B. Time to recovery and predictors of severe community-acquired pneumonia among pediatric patients in Debre Markos referral hospital, North West Ethiopia: a retrospective follow-up study. PLoS One. 2020;15(9):e0239655.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  29. Morandi A, et al. Predictors of rehospitalization among elderly patients admitted to a rehabilitation hospital: the role of polypharmacy, functional status, and length of stay. J Am Med Dir Assoc. 2013;14(10):761–7.

    Article  PubMed  PubMed Central  Google Scholar 

  30. Torres OH, et al. Outcome predictors of pneumonia in elderly patients: importance of functional assessment. J Am Geriatr Soc. 2004;52(10):1603–9.

    Article  PubMed  Google Scholar 

  31. Azab SFAH, et al. Impact of the socioeconomic status on the severity and outcome of community-acquired pneumonia among Egyptian children: a cohort study. Infect Dis Poverty. 2014;3:1–7.

    Article  Google Scholar 

  32. Fissuh YH, Muletav G. A joint model for a longitudinal pulse rate and respiratory rate of congestive heart failure patients: at Ayder Referral Hospital of Mekelle University, Tigray, Ethiopia. J Biom Biostat. 2015;6(5):1.

    Article  Google Scholar 

  33. Andualem Z. et al. Pneumonia among under-five children in northwest ethiopia: prevalence and predictors—a community-based cross-sectional study. Int J Pediatr. 2020;2020.

  34. Huang H, et al. Discovery and validation of biomarkers to guide clinical management of pneumonia in African children. Clin Infect Dis. 2014;58(12):1707–15.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

Download references

Acknowledgements

We would like to thank our data collectors, nurses, and physician at Felege Hiwot Referral Hospital.

Funding

No funds gained for this study.

Author information

Authors and Affiliations

Authors

Contributions

MAD & GD managed and analysed the data and write the manuscript and implements an appropriate study design and a statistical approach. MAD writes and edits the manuscript. GD & DLW revise and edit the entire manuscript. Finally, all authors read and approved the final manuscript.

Corresponding author

Correspondence to Muluwerk Ayele Derebe.

Ethics declarations

Ethics approval and consent to participate

This research was performed in accordance with the Declaration of Helsinki. Ethical clearance was obtained from the ethical review of Felege Hiwot Referral Hospital with the Science College Research and Community Service Committee (SCRCSC) of Bahir Dar University, with reference number SCRCSC/109/01/14. A data security management plan has also been approved. Written informed consent was obtained from all study participants. Each participant received written information on the study procedures and data management. Participants were informed about specimen and data collection. Study participation is voluntary and participants have the right to withdraw consent at any time and without disclosure of reasons for withdrawal. Furthermore, participants receive a written data security protocol. A trained member of the study team will be available for questions at enrolment or at any later time point of time during the study. As this was a prospective study using primary data, informed consent from the caregivers of individual patients was obtained. Names and unique identification numbers were not included in the study.

Consent for publication

Not application.

Competing interests

The authors declare no competing interests.

Additional information

Publisher’s Note

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

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

Biru, G.D., Derebe, M.A. & Workie, D.L. Joint modeling of longitudinal changes of pulse rate and body temperature with time to recovery of pneumonia patients under treatment: a prospective cohort study. BMC Infect Dis 23, 682 (2023). https://doi.org/10.1186/s12879-023-08646-6

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s12879-023-08646-6

Keywords