Skip to main content

Predicting pain and its association with mortality in patients with stroke

Abstract

Background and objectives

Poststroke pain (PSP) is a prevalent and severe consequence of stroke, encompassing central, neuropathic, and nonneuropathic pain. In this study, we aimed to investigate clinical factors associated with PSP three months after stroke and concurrently explore the association between PSP and one-year mortality.

Methods

This registry-based study comprised data from stroke patients admitted to three hospitals in Sweden between November 2014 and June 2019. The outcome was PSP three months after stroke. Twelve (out of 28) predictor variables were selected by three machine learning methods, and a multivariable binary logistic regression model was fitted for predicting PSP. The association between PSP and one-year poststroke mortality was examined using Cox proportional hazards models.

Results

Among 4,160 stroke patients participating in the three-month follow-up, 54.7% reported PSP. Antiplatelet use, diabetes, hemiparesis, sensory deficits, and need for assistance before stroke were significant predictors of PSP. Male sex, being born in Sweden, higher income, and regular prestroke physical activity predicted the absence of PSP. After adjustment for age, sex, region of birth, and stroke severity, patients experiencing PSP had a significantly higher one-year mortality rate than those without pain, and the most severe level of pain (constant pain) was associated with the highest cumulative mortality.

Conclusion

The study findings indicate treatable factors associated with PSP, which highlight areas of improvement in management strategies. Clinicians should recognize that PSP is associated with increased one-year mortality, emphasizing the importance of pain prevention and treatment for enhanced poststroke outcomes.

Peer Review reports

Introduction

Pain is a common consequence of stroke. Poststroke pain (PSP) encompasses a diverse range of conditions, usually divided into central neuropathic pain, peripheral neuropathic pain, and nonneuropathic pain [1]. It is estimated that 10–50% of stroke survivors experience some PSP [2,3,4], of which 70% report pain daily [5]. A recent analysis of pooled clinical trial data also showed that up to 3-9.5% of patients report extreme poststroke pain, with increasing numbers over time [6]. Individuals who experience pain following a stroke often endure other disabling sequelae, including cognitive decline, reduced quality of life, fatigue, and depression [5]. It has also been suggested that patients with PSP are at an increased risk of poststroke mortality [7] and dependency [6]. However, few prior studies have comprehensively evaluated the determinants and outcomes of PSP. Moreover, consensus guidelines for the management of PSP are lacking.

Factors such as female sex, severe stroke symptoms, functional dependency, fatigue, excessive alcohol use, diabetes mellitus, depression, antithrombotic treatment, and statin use have previously been associated with a higher probability of PSP [2,7,8,9,10,11,12]. These associations have, however, not been consistent across studies. Understanding modifiable factors contributing to PSP is an important step in informing the development of effective management strategies and guidelines. Understanding the consequences of PSP is necessary for targeted interventions.

The objective of this study was to investigate clinical factors associated with PSP three months after stroke and explore the association between PSP and one-year mortality. As many factors may be associated with PSP, we use supervised machine learning methods to identify the set of variables that could have importance in PSP. Machine learning techniques have gained prominence in medical research due to their ability to manage large, complex datasets and identify intricate patterns that may not be apparent using traditional statistical methods. In addition, we assumed our approach to be particularly advantageous when dealing with the vast amount of routinely collected healthcare data often available in stroke cohorts13,] as traditional statistical methods may struggle to handle complex interactions and patterns of multifactorial outcomes such as pain, whereas machine learning algorithms excel in extracting meaningful insights [14,15].

Methods

The Strengthening the Reporting of Observational Studies in Epidemiology (STROBE) Statement was followed [16].

Study design

The study sample consisted of patients admitted to the stroke units at three hospitals in Gothenburg, Sweden between November 1, 2014, and June 30, 2019, and included in the local stoke register (Väststroke). All stroke diagnoses were clinically verified, and all patients underwent brain imaging to differentiate between ischemic stroke and intracerebral hemorrhage. Additional patient in-hospital characteristics were collected from medical records and the national Swedish Stroke Register (Riksstroke). All patients were invited to participate in a three-month postal follow-up facilitated by Riksstroke. Information on prior strokes and prestroke medications was also obtained from Riksstroke. Socioeconomic data were collected from the Integrated Database for Health Insurance and Labor Market Studies. Present comorbid conditions were identified in the National Patient Register. Mortality rates and causes of death were obtained from the Cause of Death Register. The data were merged and pseudonymized by the National Board of Health and Welfare.

Outcomes and covariates

The primary outcome of the study was PSP reported at three months after stroke. To evaluate pain, each participant was asked to rate their present pain intensity using a four-tier scale, encompassing the following categories: absence of pain, occasional pain, regular pain, or persistent pain. In regression analyses, the PSP was dichotomized into two groups: those reporting no pain and those experiencing pain, which included the remaining three categories. In addition, one-year mortality rates were monitored for each patient who participated in the three-month follow-up. Both stroke-related deaths and deaths from other causes were recorded.

Covariates were collected at baseline, which was defined as the time of incident stroke for each patient. Region of birth was classified as native-born in Sweden or abroad. Educational level was categorized as having a postsecondary education (> 12 years). Income was measured based on household income in the year prior to the stroke, and a high income was defined as an income within the highest tertile of the total cohort. Single households were defined as patients living alone without any other family members or unrelated individuals in the same dwelling. Smoking status was classified as either current smoking or absence of smoking for less than one year. Alcohol abuse was defined according to relevant conditions using the International Classification of Diseases 10th revision (ICD-10). Prestroke physical activity was assessed using the Saltin-Grimby Physical Activity Level Scale (SGPALS) and divided into three levels: sedentary, light physical activity, and moderate to high physical activity [17]. Information on prestroke medications was obtained for antihypertensive, antiplatelet, anticoagulant, and lipid-lowering drugs. Comorbid conditions were defined according to the ICD-10 and included atrial fibrillation, cancer, depression, diabetes, chronic obstructive pulmonary disease (COPD), renal failure, hyperlipidemia, and prior strokes. Interventional stroke care was recorded, including a range of neurosurgical procedures (hemicraniectomy, cerebrospinal fluid drainage, and hematoma evacuation) as well as thrombectomy and intravenous thrombolysis. Stroke severity at admittance was evaluated using the National Institutes of Health Stroke Scale (NIHSS) [18]. Stroke sequelae, including hemiparesis and sensory deficits, were recorded if present during the hospital stay. The Montreal Cognitive Assessment (MoCA) was used to assess impairments in cognitive function at the stroke unit. The total possible score on the MoCA is 30 points, and a score of ≥ 26 was considered normal cognition [19]. The patients’ need for assistance was also assessed, distinguishing between those who were independent in their activities of daily living and those who needed help from others.

Statistics

Patients who reported intermittent, frequent, and constant pain were combined into a single group for regression analyses. Drop-out analyses were conducted using the χ² test for categorical variables and the Mann‒Whitney U test for continuous variables. Univariable binary logistic regression was used to evaluate the associations between covariates and PSP at three months. We calculated Cramer’s V coefficients to assess multicollinearity among covariates. Correlation coefficients ≥ ± 0.7 were set as a threshold for multicollinearity. The analyses were performed in R version 4.0.5 and Python version 3 [20]. All statistical tests were two-tailed at an alpha level of 5%.

Missing data

A missing data matrix was constructed to visualize the distribution of missing data, with no clear patterns of missingness across different observations (Supplementary Fig. 1). Multiple imputation by chained equations (MICE) was used to handle missing observations prior to the machine learning procedure [21]. The MICE algorithm imputes missing values by creating multiple sets of plausible values based on observed data and relationships among all other variables. We created five imputed datasets, and each imputation underwent 20 iterations. The predictive mean matching method was employed, and a minimum correlation of 0.1 was considered in the prediction models. All included covariates fulfilled the requirement of at least 80% useful data. The imputed data were evaluated using density plots, which show that imputed values follow the distributions of the actual data (Supplementary Fig. 2).

Variable selection

To identify a parsimonious model with enhanced generalizability, we employed a variable selection approach by developing three distinct supervised machine learning models. Covariates (n = 28) included in the analyses were based on previous literature [2,7,8,9,10,11,12] and availability of the data in the registries. The imputed data were split into training and testing sets, with 80% of the data used for training and 20% for testing. We employed binary classifiers least absolute shrinkage and selection operator (LASSO, logistic regression with L1 penalty [22], random forests [23], and eXtreme Gradient Boosting (XGBoost) [24] due to their different natures. LASSO is an ML model with regularization. Both random forests and gradient boosting are ensemble methods, but they differ in their construction approach and how they handle errors during training. Each machine learning model was fitted, and the hyperparameters were tuned in the training dataset by using 5-fold cross validation. The models were evaluated in testing datasets by obtaining the receiver operating characteristic curve (AUC-ROC).

  1. 1.

    LASSO logistic regression minimizes logistic loss with an L1 penalty on coefficients, promoting feature selection [22]. It is useful for high-dimensional datasets, offering control over sparsity and mitigating overfitting through a regularization hyperparameter (λ or alpha) [22].

  2. 2.

    Random forest: This is an ensemble learning method that constructs multiple decision tree models during training and combines their predictions to make final predictions. Each decision tree is built on a random subset of the data and a random subset of the features. This randomness helps to reduce overfitting and improve the model’s generalization ability. In binary classification tasks, each decision tree in the forest predicts the probability of the positive class, and the final prediction is obtained by averaging these probabilities across all trees [23]. Cross-validation was used to find the optimal number of trees and features considered at each split.

  3. 3.

    XGBoost is a powerful machine learning algorithm known for its efficiency and high performance [24]. It belongs to the boosting family and works by combining the predictions of multiple weak models, typically decision trees. XGBoost employs a gradient boosting framework, optimizing both accuracy and computational speed [24].

Variable importance values were obtained for each algorithm. The variable was regarded as an important predictor for PSP if it was selected by all three ML methods, in accordance with the methodology previously described by Mostafaei et al. [25]. The threshold for coefficient value was set at > 0.01.

Prediction of PSP:

A multivariable binary logistic regression model was fitted in the complete dataset for predicting PSP 3 months after stroke. Twelve variables identified as important from the variable selection step were included in the regression model. At the variable level, we obtained Odds Ratios (OR), 95% confidence intervals (CIs) and P values. The regression model was evaluated with AUC-ROC and Akaike information criteria (AIC).

Survival analysis

Cumulative one-year mortality following the three-month follow-up was described using Kaplan‒Meier curves. Hazard ratios (HRs) and 95% CIs for one-year mortality were obtained from three Cox proportional hazards models. Model 1 represented the crude association between PSP and one-year mortality. Model 2 was adjusted for age, sex, and region of birth. Model 3 was adjusted for age, sex, region, and stroke severity measured by NIHSS. As NIHSS had missing observations (n = 221), model 3 was constructed using both the original and imputed data. Schoenfeld residuals were utilized to test the independence between residuals and time. All variables were evaluated as potential confounding factors in the Cox proportional hazards model. However, additional covariate adjustments violated the proportional hazards assumption, as determined by global correlations between scaled Schoenfeld residuals and time.

Results

Study sample

There were 6,491 patients treated for stroke during the study period. Among them, 4,160 (64%) participated in the three-month follow-up, 1051 (16%) had died, and 1,280 (20%) did not respond. The frequency of missing observations and drop-out analyses are available in Supplementary Table 1. Included patients were younger and less affected by their stroke with a lower proportion of impaired cognition and need of assistance, although the largest difference was observed between included and deceased patients. Of 4,160 patients, 1,844 (44.3%) reported no pain, 1,214 (29.2%) reported intermittent pain, 642 (15.4%) reported frequent pain, 369 (8.9%) reported constant pain, and 91 (2.2%) were unsure about their pain status (excluded from analyses). In total, 2,225 (54.7%) of 4,069 patients reported PSP. Table 1 presents the baseline characteristics of the included patients. Unadjusted odds ratios of PSP at the three-month follow-up are presented in Table 1.

Table 1 Baseline characteristics and associations between covariates and poststroke pain, no. Of patients 4069

Variable selection

The LASSO, random forest, and XGBoost models identified 16, 22, and 22 variables, respectively (Fig. 1). The corresponding AUC-ROC (95% CI) values for LASSO, random forest, and XGBoost were 0.65 (0.61–0.69), 0.64 (0.61–0.68), and 0.64 (0.61–0.68), respectively. All three models shared 12 variables with coefficients exceeding 0.01.

Fig. 1
figure 1

Relative variable importance values for LASSO, random forests, and extreme gradient boosting models (results based on the training dataset 80%, No. of patients 3300); higher absolute values indicate a stronger impact. The numbers in parentheses indicate the count of variables with importance values greater than 0.01. A total of 12 variables were selected by the machine learning method. The AUC-ROC (95% CI) values for LASSO, random forest, and XGBoost were 0.65 (0.61–0.69), 0.64 (0.61–0.68), and 0.64 (0.61–0.68), respectively (results based on the test dataset 20%, No. of patients 814)

Prediction of poststroke pain

The results of the multivariable binary logistic regression model are presented in Table 2. The ORs (range 0.55–0.80) of PSP 3 months after stroke decreased if the patient was male, born in Sweden, had high income, had light physical activity, had moderate to high physical activity, or had neurointerventional therapy. However, the ORs (range 1.18–1.50) of PSP 3 months after stroke increased if the patient used antiplatelets, had diabetes, had hemiparesis, had sensory deficits, or needed assistance before stroke.

Table 2 Results of the multivariable binary logistic regression model predicting poststroke pain three months after stroke, no. Of patients 4069

Survival analyses

One year after the three-month follow-up, 199 (8.9%) patients with PSP had died compared to 110 (6.0%) patients with no pain. The cumulative mortality stratified by PSP is presented in Fig. 2A. Patients with constant pain at three months had the highest cumulative mortality (Fig. 2B). The frequency of stroke as a cause of death was similar between patients with and without PSP (43 of 199 [21.6%] versus 22 of 110 [20.0%]). Hazard ratios of mortality within one year after the three-month follow-up are presented in Table 2. In the unadjusted model, patients with PSP were significantly more likely to die within one year (HR 1.55, 95% CI 1.22–1.96) than patients without PSP. After adjusting for age, sex, and region of birth, the hazard ratio remained significantly increased (HR 1.45, 95% CI 1.14–1.84). Moreover, even when accounting for stroke severity in the analysis, the association between PSP and increased mortality persisted using the original nonimputed dataset (HR 1.38, 95% CI 1.08–1.78). This finding was further confirmed by similar results obtained from the imputed dataset (HR 1.37, 95% CI 1.08–1.73), Table 3.

Fig. 2
figure 2

Cumulative one-year mortality stratified by poststroke pain. Kaplan‒Meier curves for cumulative one-year mortality after the three-month follow-up stratified by (A) pain or no pain and (B) all available responses

Table 3 Associations between poststroke pain and one-year mortality

Discussion

This study aimed to explore factors associated with poststroke pain (PSP) three months after stroke, utilizing multidimensional clinical data and a supervised machine learning approach. Additionally, the relationship between PSP and one-year survival following the three-month assessment was investigated. Notable predictors of PSP included sociodemographic features, stroke-related deficits, prestroke conditions, and comorbidities. The findings highlight the intricate interplay of factors contributing to PSP, encompassing sociodemographic traits, preexisting conditions, lifestyle choices, and stroke-related neurological impairments. Furthermore, patients experiencing PSP exhibited a significantly higher one-year mortality rate than those without pain.

We found that sex was a significant predictor of PSP. This finding is in line with previous studies, indicating that males have lower odds than females [3,26] Likewise, stroke sequelae in terms of sensory deficits and hemiparesis have previously been shown to be associated with PSP [9,10]. On the other hand, factors such as region of birth and prestroke physical activity emerged as novel predictors of PSP. These findings highlight the importance of considering sociodemographic and lifestyle factors in understanding poststroke pain. Age did not show a significant association with PSP. Prior studies have reported conflicting findings regarding the relationship between age and PSP. One study found that increased age was associated with PSP [10], while others found the opposite [7,12]. The variability in these results highlights the complexity of factors influencing PSP and suggests that age alone may not be a decisive predictor for its occurrence.

We found that the need for assistance in daily activities was significantly associated with PSP. This is in line with previous studies showing positive associations between limitations in activity capacity and mobility [2,10]. However, we cannot conclude a causal association between activity and mobility limitations and PSP. Furthermore, physical activity prior to stroke also emerged as a significant predictor of PSP. Both light intensity physical activity and moderate to high physical activity were associated with the absence of pain. The association was stronger between regular physical activity and the absence of pain compared to light physical activity, which indicates that there may be a dose‒response to this association. Although no prior study has explored the association between prestroke physical activity and poststroke pain, our finding is consistent with previous research that has demonstrated the effectiveness of physical activity on chronic pain [27,28,29].

Prior studies have used several different time points for the evaluation of PSP, ranging from the acute phase to 5 years poststroke [2,7,8,9,10,11,12]. The early subacute phase of stroke recovery, extending up to three months, involves neural repair and adaptation, where functional improvements are most prominent [30]. By three months, neurological recovery tends to stabilize, as compensatory mechanisms peak, and residual deficits become more apparent. Pain, having interacted with these recovery processes, may have reached a relatively stable state by this point, making the three-month mark suitable for evaluating its presence and impact on poststroke outcomes. The three-month poststroke evaluation of pain also captured both early-onset and persistent pain, facilitating clinical relevance and the feasibility of interventions.

After the three-month follow-up, we found an association between PSP and one-year mortality. Patients with PSP had a significantly higher risk of mortality than those without pain. This finding aligns with prior research suggesting that pain after stroke may have adverse effects on patient outcomes and overall survival [7,31]. The association between PSP and mortality persisted even after adjusting for age, sex, region, and stroke severity, indicating that poststroke pain may independently contribute to a higher risk of mortality. All patients with PSP faced a significantly higher risk of mortality than those without pain, and constant pain was associated with the highest cumulative mortality in the following year.

Using a range of supervised machine learning approaches in data analysis generally offers many advantages. First, it allows for the identification of complex patterns and interactions among multiple variables often present in stroke cohorts, which might not be captured using traditional statistical methods [13,32]. The machine learning models used in this study were capable of handling large numbers of predictors and could provide insights into the relative importance of each variable in predicting the outcome. Second, machine learning approaches were less prone to assumptions about the underlying data distribution, making them more robust and adaptable to different types of datasets [33]. This was particularly valuable in studies with diverse and multidimensional data, where relationships between predictors and outcomes may be nonlinear and complex. However, the classification (AUC-ROC) values of the models were low, most likely due to limited variance.

The study has several strengths and limitations. The use of a supervised machine learning approach for variable selection allowed for a comprehensive analysis of numerous clinical factors, providing valuable insights into the prediction of PSP after stroke. The study’s large sample size and multicenter design could enhance the generalizability of the results to a broader stroke population; however, the final regression model was based on 12 variables that could hinder the clinical implications of the results. Variables should have been selected by all ML models with coefficients > 0.01 to be included in the multivariable logistic regression models. This was an important step for achieving the parsimonious models; however, the threshold of > 0.01 could be argued. The study’s observational nature prevents establishing causal relationships between PSP and other factors. Although various statistical techniques were used to handle missing data, the possibility of bias due to missing observations cannot be completely ruled out. We were not able to distinguish between central and peripheral pain syndromes. Additionally, despite efforts to adjust for confounding variables, residual confounding still exists. In particular, we were not able to adjust for preexisting pain, pain intensity measured by the Visual Analogue Scale, as well as prescribed pain medications, as these data were not included in the registry. This gap may affect the interpretation of our findings, and future research should consider including such information for a more comprehensive analysis. We were not able to adjust for the overrepresentation of PSP following thalamic and brainstem strokes [1]. Last, the study’s generalizability might be limited to the specific population and healthcare system in Sweden.

In conclusion, this study demonstrates the complexity of PSP and the usefulness of a supervised machine learning approach in investigating clinical factors associated with PSP after stroke. Important predictors of PSP three months after stroke were region of birth, sex, income, prestroke physical activity, diabetes, neurointerventional therapy, hemiparesis, sensory deficits, and need for assistance before stroke. Patients who reported PSP had a significantly higher one-year mortality rate than those without pain, and those with constant pain had the highest cumulative mortality.

Data availability

No datasets were generated or analysed during the current study.

Abbreviations

AIC:

Akaike Information Criterion

AUC-ROC:

Area Under the Receiver Operating Characteristic Curve

CI:

Confidence Interval

COPD:

Chronic Obstructive Pulmonary Disease

HR:

Hazard Ratio

ICD-10:

International Classification of Diseases, 10th Revision

LASSO:

Least Absolute Shrinkage and Selection Operator

MICE:

Multiple Imputation by Chained Equations

ML:

Machine Learning

MoCA:

Montreal Cognitive Assessment

NIHSS:

National Institutes of Health Stroke Scale

OR:

Odds Ratio

PSP:

Poststroke Pain

SGPALS:

Saltin-Grimby Physical Activity Level Scale

XGBoost:

Extreme Gradient Boosting

References

  1. Klit H, Finnerup NB, Jensen TS. Central post-stroke pain: clinical characteristics, pathophysiology, and management. Lancet Neurol. 2009;8:857–68.

    Article  PubMed  Google Scholar 

  2. Westerlind E, Singh R, Persson HC, Sunnerhagen KS. Experienced pain after stroke: a cross-sectional 5-year follow-up study. BMC Neurol. 2020;20:4.

    Article  PubMed  PubMed Central  Google Scholar 

  3. O’Donnell MJ, Diener HC, Sacco RL, Panju AA, Vinisko R, Yusuf S. Chronic pain syndromes after ischemic stroke: PRoFESS trial. Stroke. 2013;44:1238–43.

    Article  PubMed  Google Scholar 

  4. Paolucci S, Iosa M, Toni D, et al. Prevalence and time course of Post-stroke Pain: a multicenter prospective hospital-based study. Pain Med. 2016;17:924–30.

    PubMed  Google Scholar 

  5. Harrison RA, Field TS. Post stroke pain: identification, assessment, and therapy. Cerebrovasc Dis. 2015;39:190–201.

    Article  PubMed  Google Scholar 

  6. Ali M, Tibble H, Brady MC et al. Prevalence, Trajectory, and Predictors of Poststroke Pain: Retrospective Analysis of Pooled Clinical Trial Data Set. Stroke. 2023.

  7. Naess H, Lunde L, Brogger J, Waje-Andreassen U. Post-stroke pain on long-term follow-up: the Bergen stroke study. J Neurol. 2010;257:1446–52.

    Article  PubMed  Google Scholar 

  8. O’Donnell MJ, Diener H-C, Sacco RL, Panju AA, Vinisko R, Yusuf S. Chronic Pain syndromes after ischemic stroke. Stroke. 2013;44:1238–43.

    Article  PubMed  Google Scholar 

  9. Lundström E, Smits A, Terént A, Borg J. Risk factors for stroke-related pain 1 year after first-ever stroke. Eur J Neurol. 2009;16:188–93.

    Article  PubMed  Google Scholar 

  10. Sommerfeld DK, Welmer AK. Pain following stroke, initially and at 3 and 18 months after stroke, and its association with other disabilities. Eur J Neurol. 2012;19:1325–30.

    Article  CAS  PubMed  Google Scholar 

  11. Hoang CL, Salle JY, Mandigout S, Hamonet J, Macian-Montoro F, Daviet JC. Physical factors associated with fatigue after stroke: an exploratory study. Top Stroke Rehabil. 2012;19:369–76.

    Article  PubMed  Google Scholar 

  12. Jönsson AC, Lindgren I, Hallström B, Norrving B, Lindgren A. Prevalence and intensity of pain after stroke: a population based study focusing on patients’ perspectives. J Neurol Neurosurg Psychiatry. 2006;77:590–5.

    Article  PubMed  Google Scholar 

  13. Lin C-H, Hsu K-C, Johnson KR, et al. Evaluation of machine learning methods to stroke outcome prediction using a nationwide disease registry. Comput Methods Programs Biomed. 2020;190:105381.

    Article  PubMed  PubMed Central  Google Scholar 

  14. Lötsch J, Ultsch A, Mayer B, Kringel D. Artificial intelligence and machine learning in pain research: a data scientometric analysis. Pain Rep. 2022;7:e1044.

    Article  PubMed  PubMed Central  Google Scholar 

  15. Sankaran R, Kumar A, Parasuram H. Role of Artificial Intelligence and Machine Learning in the prediction of the pain: a scoping systematic review. Proc Institution Mech Eng Part H: J Eng Med. 2022;236:1478–91.

    Article  Google Scholar 

  16. von Elm E, Altman DG, Egger M, Pocock SJ, Gøtzsche PC, Vandenbroucke JP. The strengthening the reporting of Observational studies in Epidemiology (STROBE) statement: guidelines for reporting observational studies. Ann Intern Med. 2007;147:573–7.

    Article  Google Scholar 

  17. Saltin B, Grimby G. Physiological analysis of middle-aged and old former athletes. Comparison with still active athletes of the same ages. Circulation. 1968;38:1104–15.

    Article  CAS  PubMed  Google Scholar 

  18. Lyden P. Using the National Institutes of Health Stroke Scale: a cautionary tale. Stroke. 2017;48:513–9.

    Article  PubMed  Google Scholar 

  19. Pendlebury ST, Markwick A, de Jager CA, Zamboni G, Wilcock GK, Rothwell PM. Differences in Cognitive Profile between TIA, Stroke and Elderly Memory Research subjects: a comparison of the MMSE and MoCA. Cerebrovasc Dis. 2012;34:48–54.

    Article  CAS  PubMed  Google Scholar 

  20. Van Rossum G, Drake FL. Python reference manual: Centrum voor Wiskunde en Informatica Amsterdam, 1995.

  21. van Buuren S, Groothuis-Oudshoorn K. Mice: multivariate imputation by chained equations in R. J Stat Softw. 2011;45:1–67.

    Article  Google Scholar 

  22. Jason DL, Dennis LS, Yuekai S, Jonathan ET. Exact post-selection inference, with application to the lasso. Annals Stat. 2016;44:907–27.

    Google Scholar 

  23. Ho TK. Random decision forests. Proceedings of 3rd international conference on document analysis and recognition; 1995: IEEE: 278–282.

  24. Chen T, Guestrin C, Xgboost. A scalable tree boosting system. Proceedings of the 22nd acm sigkdd international conference on knowledge discovery and data mining; 2016: 785–794.

  25. Mostafaei S, Hoang MT, Jurado PG, et al. Machine learning algorithms for identifying predictive variables of mortality risk following dementia diagnosis: a longitudinal cohort study. Sci Rep. 2023;13:9480.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  26. Bushnell CD, Reeves MJ, Zhao X, et al. Sex differences in quality of life after ischemic stroke. Neurology. 2014;82:922–31.

    Article  PubMed  PubMed Central  Google Scholar 

  27. Ambrose KR, Golightly YM. Physical exercise as non-pharmacological treatment of chronic pain: why and when. Best Pract Res Clin Rheumatol. 2015;29:120–30.

    Article  PubMed  PubMed Central  Google Scholar 

  28. de Sire A, Moggio L, Demeco A, et al. Efficacy of rehabilitative techniques in reducing hemiplegic shoulder pain in stroke: systematic review and meta-analysis. Ann Phys Rehabil Med. 2022;65:101602.

    Article  PubMed  Google Scholar 

  29. Lima LV, Abner TSS, Sluka KA. Does exercise increase or decrease pain? Central mechanisms underlying these two phenomena. J Physiol. 2017;595:4141–50.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  30. Bernhardt J, Hayward KS, Kwakkel G, et al. Agreed definitions and a shared vision for new standards in stroke recovery research: the Stroke Recovery and Rehabilitation Roundtable taskforce. Int J Stroke. 2017;12:444–50.

    Article  PubMed  Google Scholar 

  31. Macfarlane GJ, McBeth J, Silman AJ. Widespread body pain and mortality: prospective population based study. BMJ. 2001;323:662–5.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  32. Deo RC. Mach Learn Med Circulation. 2020;142:1521–3.

    Google Scholar 

  33. Panch T, Szolovits P, Atun R. Artificial intelligence, machine learning and health systems. J Glob Health. 2018;8:020303.

    Article  PubMed  PubMed Central  Google Scholar 

Download references

Acknowledgements

We thank the patients who participated in this study and the dedicated personnel at the included stroke units.

Funding

Open access funding provided by University of Gothenburg.

The study was financed by grants from the Swedish state under the agreement between the Swedish government and the county councils, the ALF agreement (ALFGBG-965653, ALFGBG-877961). The sponsors had no role in the design and conduct of the study; collection, management, analysis, and interpretation of the data; preparation, review, or approval of the manuscript; and decision to submit the manuscript for publication.

Author information

Authors and Affiliations

Authors

Contributions

A.V and T.A. Study concept and design, data analysis and interpretation, manuscript draft. A.H.H and K.S.S. Study concept, interpretation, critical revision of the manuscript for intellectual content. All authors have read the submitted manuscript and approved the final version.

Corresponding author

Correspondence to Tamar Abzhandadze.

Ethics declarations

Ethics approval and consent to participate

The study was approved by the Swedish Ethical Review Authority on July 7, 2021, with approval number 2021–03324. The research was performed in accordance with Swedish guidelines and regulations. Regarding informed consent, according to the Swedish Data Protection Authority, the handling of data generated within the framework of quality registries is exempt from the general rule requiring written informed consent from patients. Furthermore, the Personal Data Act (Swedish law #1998:204, issued 29 April 1998) allows data from medical charts to be collected for clinical purposes and quality control without written informed consent. Following the Declaration of Helsinki was not relevant to this project, as it was based on data that were generated within quality registries.

Consent for publication

Not applicable.

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.

Electronic supplementary material

Below is the link to the electronic supplementary material.

Supplementary Material 1

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/.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Viktorisson, A., Hashem, A.H., S Sunnerhagen, K. et al. Predicting pain and its association with mortality in patients with stroke. BMC Neurol 25, 10 (2025). https://doiorg.publicaciones.saludcastillayleon.es/10.1186/s12883-024-04011-5

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doiorg.publicaciones.saludcastillayleon.es/10.1186/s12883-024-04011-5

Keywords