Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Factors important for health-related quality of life in men and women: The population based SCAPIS study

  • Max Olsson ,

    Roles Data curation, Formal analysis, Investigation, Methodology, Software, Validation, Visualization, Writing – original draft, Writing – review & editing

    max.olsson@med.lu.se

    Affiliation Lund University, Faculty of Medicine, Department of Clinical Sciences Lund, Respiratory Medicine, Allergology and Palliative Medicine, Lund, Sweden

  • Anders J. Björkelund,

    Roles Methodology, Software, Writing – review & editing

    Affiliation Lund University, Faculty of Science, Centre for Environmental and Climate Science (CEC), Lund, Sweden

  • Jacob Sandberg,

    Roles Writing – review & editing

    Affiliation Lund University, Faculty of Medicine, Department of Clinical Sciences Lund, Respiratory Medicine, Allergology and Palliative Medicine, Lund, Sweden

  • Anders Blomberg,

    Roles Writing – review & editing

    Affiliation Umeå University, Department of Public Health and Clinical Medicine, Umeå, Sweden

  • Mats Börjesson,

    Roles Writing – review & editing

    Affiliations Dept of Molecular and Cardiovascular Medicine, Center for Health and Performance, Sahlgrenska Academy, Dept MGAÖ, Sahlgrenska University Hospital, Gothenburg, Sweden

  • David Currow,

    Roles Writing – review & editing

    Affiliation Faculty of Science, Medicine and Health, University of Wollongong, Wollongong, New South Wales, Australia

  • Andrei Malinovschi,

    Roles Writing – review & editing

    Affiliation Dept of Medical Sciences, Clinical Physiology, Uppsala University, Uppsala, Sweden

  • Magnus Sköld,

    Roles Writing – review & editing

    Affiliations Karolinska Institutet, Department of Medicine Solna, Stockholm, Sweden, Department of Respiratory Medicine and Allergy, Karolinska University Hospital, Stockholm, Sweden

  • Per Wollmer,

    Roles Writing – review & editing

    Affiliation Department of Translational Medicine, Lund University, Malmö, Sweden

  • Kjell Torén,

    Roles Writing – review & editing

    Affiliation Occupational and Environmental Medicine, School of Public Health and Community Medicine, Institute of Medicine, Sahlgrenska Academy, University of Gothenburg, Gothenburg, Sweden

  • Carl-Johan Östgren,

    Roles Writing – review & editing

    Affiliation Department of Health, Medicine and Caring Sciences, Linköping University, Linkoping, Sweden

  • Gunnar Engström,

    Roles Supervision, Writing – review & editing

    Affiliation Lund University, Faculty of Medicine, Department of Clinical Sciences Malmö, Cardiovascular Epidemiology, Malmö, Sweden

  • Magnus Ekström

    Roles Methodology, Resources, Supervision, Writing – review & editing

    Affiliation Lund University, Faculty of Medicine, Department of Clinical Sciences Lund, Respiratory Medicine, Allergology and Palliative Medicine, Lund, Sweden

Abstract

Introduction

Health-related quality of life (HRQoL) is essential for human wellbeing, influenced by a complex interplay of factors, and is reported lower in women than men. We aimed to evaluate which factors were the most important for HRQoL in a middle-aged general population.

Methods

This was a cross-sectional, multi-centre study of 29,212 men (48%) and women (52%) aged 50–64 in the general population in Sweden. Physical and mental HRQoL (0–100) was assessed using the Short Form 12 questionnaire, and association was evaluated for 356 variables including demographics, lifestyle, symptoms, physiological measurements, and health conditions. Using machine learning, each variable´s importance for HRQoL was measured by an importance score, comparable to effect size, and summarised in 54 factors, in men and women separately.

Results

Men and women had similar mean and standard deviation (SD) scores for physical HRQoL (53.4 [SD 8.1] vs 51.4 [9.7]) and mental HRQoL (37.1 [5.0] vs 37.3 [5.4]). The most important factors for physical HRQoL were (importance score) physical activity (40), employment (36), pain (33), sleep (33), and sense of control (26). The most important factors for mental HRQoL were sense of control (18), physical activity (12), depression (12), pain (6), and employment (5).

Conclusions

The factors important for HRQoL identified by this study are likely to be amenable to interventions, and our findings can support prioritising interventions. The identified factors need to be a target even before middle-age to lay the foundation for long and happy lives.

Introduction

Health comprises multiple dimensions and is defined by the World Health Organisation (WHO) as “a state of complete physical, mental and social well-being and not merely the absence of disease or infirmity” [1]. Health-related quality of life (HRQoL) is an essential aspect of human life and a key outcome in public health research, interventions and policy [2]. HRQoL is usually self-reported through questionnaires, and different aspects of HRQoL are often derived to represent the WHO’s definition of health’s multiple dimensions [3]. HRQoL is a good measure of overall health as it captures information of both physical and mental health [4], which could be more important outcomes for the individuals compared to health conditions and physiological measurements of the body. HRQoL is also an important predictor of survival [5], which means that HRQoL is important to measure and monitor. Decreased HRQoL is described as the result from suffering from health conditions and reflects individuals’ adaptation to the adverse health outcomes of health conditions [6], wherefore understanding which factors that affect HrQoL is important for public health decisions. HRQoL is likely determined by the interplay of multiple physical, mental and socioeconomic factors, and this complex interplay must be accounted for in analyses to fully understand differences in HRQoL [7, 8]. In the middle age, the prevalence of diseases and troublesome symptoms starts to increase [6], which can significantly decrease HRQoL, and the factors explaining variance in HRQoL can be studied meaningfully. It is important to identify factors that can be modified in younger and middle-aged populations to be able to improve future health by public health policies and interventions during and, especially, before reaching an older age.

Differences in HRQoL have been reported between the sexes, with women often reporting poorer HRQoL [8, 9]. However, knowledge is limited on which factors are most strongly related to HRQoL and whether they differ between men and women [10]. A limitation of previous population studies is that associations with HRQoL were mainly studied for one or a few factors without comparing the relative importance of each factor. There is a need for studies using methods that consider the complexity of multiple factors associated with HRQoL and studies that account for potential nonlinear associations.

Machine learning is a data-driven subtype of artificial intelligence (AI) that can analyse large datasets and identify complex nonlinear associations between factors and outcomes beyond the capabilities of traditional statistical models [11]. Identifying important factors for HRQoL and comparing them between men and women is an important method for reducing any HRQoL gaps between the sexes and identifying public health target areas. Also, a hypothesis-free machine learning approach could identify factors related to differences in HRQoL which could be compared to previous findings and generate new hypothesis for future studies.

The primary aim of this study was to evaluate the most important factors related to physical and mental HRQoL among middle-aged men and women in the general population using machine learning. The secondary aim was to compare the shapes of the associations between identified important factors and HRQoL.

Materials and methods

Study design and population

This was a national, population-based, cross-sectional study of individuals aged 50 to 64 years in the Swedish CArdioPulmonary bioImage Study (SCAPIS) [12]. Between 2013 and 2018, the SCAPIS study collected data from six different sites in Sweden (Uppsala, Umeå, Linköping, Malmö/Lund, Gothenburg and Stockholm), as previously described [12]. The SCAPIS study aimed to include a national representative sample between age groups and the sexes. The study randomly recruited participants from the general population stratified by age (50–54, 55–59 and 60–64 years) and sex. The participants were asked to complete an extensive questionnaire about health-related factors and a number of assessments and tests at the study sites. Participants who were unable to understand spoken and written Swedish could not provide consent to participate in the study and were thus not included in the SCAPIS study. The exclusion criteria for the present analysis were missing data on the Short Form 12 (SF-12) [3] regarding physical and mental HRQoL. A validation of the generalisability of the SCAPIS cohort indicates that, with the exception of increased alcohol consumption, the participants are representative of the Swedish general population [13]. The data from the SCAPIS database were accessed and analysed in the present study between February and May 2022.

Assessments

HRQoL was measured using the validated Swedish version of the SF-12, which comprises 12 items measuring eight different aspects of HRQoL that are calculated into physical and mental HRQoL component scores. The SF-12 for physical and mental scores range from 0 to 100, with higher scores reflecting better HRQoL [14].

Evaluated factors comprised 356 variables spanning demographics, socioeconomics, lifestyle, anthropometrics, symptoms, physiological measurements, blood tests, treatments, and health conditions (see S1 Table for a full list of variables). The following variables were self-reported: employment variables (extent of gainful employment, work situation), socioeconomic variables (ability to find money for unforeseen events, housing type), sleep variable (length, quality, chance of dozing during the day, snoring), physical activity (extent at work, [15] during leisure time [16], and mode of travel to work), breathlessness (Medical research council [MRC] breathlessness scale 1–5 [17]), sense of control (extent of agreement of seven statements), [18] and depression (eight yes/no questions of common depression symptoms) [18]. Pain was measured as the usage of nonprescription pain-reliving drugs (number of doses of nonprescription medication weekly). Socioeconomic information was also collected based on the participants’ neighbourhood data (ratio of foreign individuals, income, education, employment ratio); these data were taken from Statistics Sweden. Physical activity was also assessed by accelerometry for one week and comprised the percentage of wear time, total minutes, and average minutes of low, moderate, moderate to vigorous, sedentary, and vigorous intensity physical activity [19]. Body size was measured as height, weight, body mass index (BMI), hip/waist circumference and waist-hip ratio. Because of the large number of variables in the present study, the variables were categorised into 54 different factors to present similar domains related to HRQoL. The categorisation was decided in discussion among the authors before the analysis was conducted, meaning that the categorisation did not affect the data analysis and was used only for simplifying the interpretation. S1 Table shows a full list of the categorisation.

Machine learning

Supervised machine learning [11] was used to predict physical and mental HRQoL among the participants. To evaluate a model’s ability to predict an outcome, we split the study population into a training set and a test set. During the training phase, the model learned to predict the outcome by learning to identify patterns in the training set. The model was improved by tuning hyperparameters, which can be conceived as different settings of a model, for example learning rate and tree depth. These hyperparameters can be adjusted to improve prediction performance. The models’ hyperparameters were evaluated by tenfold cross-validation on the training sets before deciding the sets of hyperparameters to be used in the final models. The final model’s ability to predict HRQoL using unseen data (external validity) was evaluated by measuring performance to predict the outcome on the test set. The test set was kept isolated from the model during the whole training phase to evaluate the generalisability of the study results. A similar machine learning methodology was used in a previous pilot study exploring important factors for self-perceived health in older mens [20]. S1 Fig shows an overview of the data processing in the present study. Before the analysis, data from five SCAPIS study sites (Uppsala, Umeå, Linköping, Malmö/Lund, Gothenburg) were pooled and assigned as the training set (n = 24,247). Data from the remaining study site, Stockholm (n = 4,965; 17%), were used as the independent test set [11].

Statistical analyses

Baseline patient characteristics were summarised using basic descriptions. The machine learning algorithm extreme gradient-boosting (XGBoost) [21] was used to predict physical and mental component scores of HRQoL. XGBoost has been shown to perform better than other algorithms on tabular data [21]. All factors (except the outcomes) were used in four separate XGBoost models to predict physical and mental HRQoL for men and women separately. No missing values of the factors were imputed, as the XGBoost algorithm is able to handle missing values directly [21].

The models’ hyperparameters were evaluated by tenfold cross-validation on the training sets. Hyperparameters with the best performance from the cross-validations were reported and used to train the final models on the training sets. The final models’ ability to generalise for unseen data was evaluated by their mean absolute errors (MAE) when predicting the HRQoL outcomes among men and women on the test sets. A lower MAE corresponds to better generalisability of the model. When evaluated on the test set, the physical HRQoL model for men had an MAE of 4.09, and the physical HRQoL model for women had an MAE of 4.95. The mental HRQoL model for men had an MAE of 3.50, and the mental HRQoL model for women had an MAE of 3.99 when evaluated on the test set. Taken together, these findings indicate that all models were generalisable for unseen data and that the importance of factors could be generalised for the whole study sample. The final model hyperparameters are shown in S2 Table.

Importance of factors for HRQoL

Associations between variables and physical and mental components of HRQoL were analysed using Shapley Additive exPlanations (SHAP) scores [22]. SHAP has emerged as a robust and unbiased method to assess the strength of associations in studies using machine learning models [22]. SHAP scores are adjusted for all other variables in the analysis. SHAP scores correspond to the degree of change from the mean of an outcome variable by a predictor variable in individual participants [22]. The same variable can have different SHAP scores, both positive or negative, for different participants depending on the participants’ other variables. For example, depending on an individual’s characteristics, such as age and sex, a participant’s BMI value can have different associations (and thus, SHAP scores) with worse or better HRQoL in the individual.

To quantify the importance of variables for participants’ HRQoL, importance scores were calculated for each variable. The importance score was calculated as the absolute mean of the participants’ SHAP for each variable divided by the MAE of each model, which is comparable to effect size. The importance scores of the variables were then summarised into 54 factors. To rank the most important factors for physical and mental HRQoL for all participants, the mean of the factors’ importance scores was calculated among men and women. Ninety-five percent confidence intervals (CI) were first calculated for all participants and then separately for men and women using one sample t-tests.

Shapes of associations with HRQoL

The strength of the association between each factor and physical and mental HRQoL was explored using scatterplots with SHAP scores as the Y-axis and the values of the variables as the X-axis. To simplify the interpretation of the scatterplots, two locally estimated scatterplot smoothing lines (LOESS) were added to the scatterplots for each sex.

The analyses were conducted using the software R version 4.1.2 (R Foundation for Statistical Computing, Austria) with the packages XGBoost version 1.5.0.2 and SHAPforxgboost version 0.1.1.

Ethical considerations

The SCAPIS study was approved as a multicentre study by the ethics committee at Umeå University (Dnr 2010–228–31 M). The present analysis was approved by the Swedish Ethical Review Authority (Dnr 2021–00288). All participants provided their written informed consent.

Results

Participant characteristics

After excluding 522 men and 420 women due to missing data on physical or mental HRQoL, a total of 14,124 (48%) men and 15,088 (52%) women were included in the analyses. Participant characteristics are shown in Table 1. The mean (SD) age was 57.5 (4.3) years, the mean physical HRQoL score was 52.4 (9.0) and the mean mental HRQoL score was 37.2 (5.2). Approximately one-half (48%) reported sleeping well or very well, and one-third (28%) reported experiencing sadness/depression, almost one-half (44%) reported being regular or former smokers, and almost one-half (42%) reported exercising moderately/heavily regularly. The majority of the participants (73%) were married, born in Sweden (84%), and employed (87%). The most common level of education was secondary school (45%) or university (45%). Men and women had similar mean HRQoL scores for both physical HRQoL (53.4 [SD 8.1] vs. 51.4 [9.7]) and mental HRQoL (37.1 [5.0] vs. 37.3 [5.4]).

thumbnail
Table 1. Characteristics of 29,212 men and women aged 50–64 in the general population.

https://doi.org/10.1371/journal.pone.0294030.t001

Factor importance for physical HRQoL

The factors most important for physical HRQoL among men, women, and all participants are shown in Fig 1 as well as S3 Table. The most important factors for physical HRQoL for all participants (men and women analysed together) were as follows: physical activity (with an importance score of 40), employment (36), pain (33), sleep (33), sense of control (26), breathlessness (18), body size (14), and allergy (10). The order of the factors’ importance for physical HRQoL among the sexes was the same as for all participants, except for pain, which was ranked second among women and fourth among men (Fig 1).

thumbnail
Fig 1. Factors related to physical HRQoL among men (n = 14,124) and women (n = 15,088) aged 50–64 in Sweden.

The factors are the summarised importance scores of similar variables, which were assigned before the analysis. The importance score corresponds to the SHapley Additive exPlanations (SHAP) absolute mean divided by the models’ mean absolute error, which is comparable to the effect size. The SHAP absolute mean corresponds to the average degree of change from the mean score of the Short Form 12 for physical health-related quality of life (HRQoL; men: 53.4; women: 51.4) by a predictor variable among all participants. The plot shows the top 25 domains with highest importance scores for physical HRQoL among all participants and are ordered in descending order. The red line marks the average importance score for all participants. The error bars present the 95% confidence intervals calculated by t-tests.

https://doi.org/10.1371/journal.pone.0294030.g001

There were some numerical differences between the sexes in the importance scores of the important factors for physical HRQoL. However, none of these differences were statistically significant, as indicated by the overlapping CIs shown in Fig 1.

Factor importance for mental HRQoL

The factors most important for mental HRQoL among men, women, and all participants are shown in Fig 2 as well as S3 Table. The most important factors for mental HRQoL for all participants (men and women analysed together) were as follows: sense of control (with an importance score of 18), physical activity (12), depression (12), pain (6), employment (5), age (5), sleep (4), and alcohol (3). The order of the factors’ importance for mental HRQoL was different between the sexes. Among men, the following factors were ranked higher in comparison to women (men’s ranking): physical activity (second), employment (fourth), and sleep (sixth). Among women, the following factors were ranked higher than among men (women’s ranking): depression (second), pain (fourth), body size (sixth), and family health history (eighth).

thumbnail
Fig 2. Factors related to mental HRQoL among men (n = 14,124) and women (n = 15,088) aged 50–64 in Sweden.

The factors are the summarised importance scores of similar variables, which were assigned before the analysis. The importance score corresponds to the SHapley Additive exPlanations (SHAP) absolute mean divided by the models’ mean absolute error, which is comparable to the effect size. The SHAP absolute mean corresponds to the average degree of change from the mean score of the Short Form 12 for mental health-related quality of life (HRQoL; men: 37.1; women: 37.3) by a predictor variable among all participants. The plot shows the top 25 domains with the highest importance scores for mental HRQoL among all participants and are ordered in descending order. The red line marks the average importance score for all participants. The error bars present the 95% confidence intervals calculated by t-tests.

https://doi.org/10.1371/journal.pone.0294030.g002

There were some numerical differences between the sexes in the importance scores of the important factors for mental HRQoL. However, none of these differences were statistically significant, as indicated by the overlapping CIs in Fig 2. S4 Table presents the individual variables’ importance scores for physical and mental HRQoL among all participants and separately for men and women.

Shape of the associations with physical and mental HRQoL.

Fig 3 presents the shapes of the associations for the top ten most important individual variables for physical HRQoL among men and women separately. Increased pain (indicated by higher paracetamol intake), less self-reported physical activity, shortness of breath when hurrying, less gainful employment, and giving up trying to improve life were all associated with worse physical HRQoL among both sexes. Physical activity measured by accelerometry (total minutes per week) had a bell-shaped association with physical HRQoL, with a peak at approximately 200 minutes weekly.

thumbnail
Fig 3. Shapes of associations between variables and physical HRQoL.

The scatter plots show the factors with the top ten most important variables for physical health-related quality of life (HRQoL). Participants are represented by dots. The X-axis corresponds to the participants’ values of the variable. The SHapley Additive exPlanations. (SHAP) value (Y-axis) corresponds to the predicted change in physical HRQoL by the model for the participants. The lines are locally estimated scatterplot smoothing lines and can be seen as an average estimation of the predicted physical HRQoL among all participants. Variables without lines are dichotomous. The black horizontal line marks zero. Vigorous-intensity physical activity, total minutes corresponds to total minutes per week.

https://doi.org/10.1371/journal.pone.0294030.g003

Fig 4 presents the shapes of the associations for the top ten most important individual factors for mental HRQoL among men and women. An increased experience of stress had a dose‒response association with decreased mental HRQoL among both sexes. There was a dose‒response of increased pain (indicated by higher intake of paracetamol and diclofenac) and better HRQoL.

thumbnail
Fig 4. Shapes of associations between variables and mental HRQoL.

The scatter plots show the factors with the top ten most important variables for mental HrQoL. Participants are presented by dots. The X-axis corresponds to the participants’ values of the variable. The SHapley Additive exPlanations. (SHAP) value (Y-axis) corresponds to the predicted change in mental health-related quality of life (HRQoL) by the model for the participants. The lines are locally estimated scatterplot smoothing lines and can be seen as an average estimation of the predicted mental HRQoL among all participants. The black horizontal line represents zero. Experience of stress categories: 0 = Never; 1 = Some periods; 2 = Several periods last 5 years; 3 = Permanent stress last year; 4 = Permanent stress last 5 years.

https://doi.org/10.1371/journal.pone.0294030.g004

Discussion

In this large general population study, middle-aged men and women had similar levels of physical and mental HRQoL. The factors most strongly related to HRQoL were physical activity, employment, pain, and sense of control; these findings applied to both physical and mental HRQoL across both sexes. However, some factors seem to be particularly important for men’s and women’s HRQoL: pain was more important for physical and mental HRQoL among women than among men, and physical activity was more important for mental HRQoL among men than among women.

The present findings are novel in several ways. First, the findings that men and women had overall similar HRQoL differed from previous reports of worse HRQoL in women [8, 9]. This may be explained by the overall larger sample size in the present study, which reduced the risk of random differences between the sexes, as well as Sweden’s relatively high socioeconomic gender equality, as indicated by the characteristics of the present study`s participants. Socioeconomic status is a strong predictor of health and is far from equal between the sexes in many countries worldwide, where socioeconomic status may be a more important factor for HRQOL [6]. A second novel finding is that most of the factors were similarly associated with HRQoL between the sexes, and with only a few exceptions, we believe that public health interventions targeting both men and women can be beneficial for overall public health.

Physical activity was identified as the most important factor for both physical and mental HRQoL and corresponded to a large proportion of the differences in physical and mental HRQoL. The health benefits of physical activity are well documented [23]. Reinforced by the shape of association plots, our study shows that 200 minutes of vigorous weekly exercise is strongly associated with better HRQoL, which is in line with the WHO recommendations of 75–150 minutes weekly vigorous exercise or 150–300 minutes weekly moderate-intensity exercise [24]. However, resistance exercise of 60 min per week has previously been recommended for healthy ageing and longevity, but for healthy individuals there is no convincing evidence to limit minutes of resistance exercise per week [25].

Pain was very important for physical and mental HRQoL in our study. Pain is associated with multiple adverse health effects; it is the most important factor for self-perceived health [20] and can be described as a silent epidemic [26]. Many older adults also complain that they need stronger pain relieving medications [27]. The explanation of the association between the use of paracetamol and diclofenac and better mental HRQoL is not obvious. One explanation for diclofenac is that the treatment can pose a cardiovascular health risk [28], and risk groups of cardiovascular diseases can use the treatments to a lesser extent, and these participants might possess an overall worse mental HRQoL.

Sense of control was shown to be important for HRQoL in our study and could reflect the effects from characteristics that affect the individual’s life that they feel is out of their reach to improve. This can, for example, be chronic diseases, work situations, and social status–factors that can affect HRQoL and decrease the individual’s independence. We expect that especially marginalised groups with limited capability to change or influence aspects of their lives are affected by sense of control in relation to HRQoL [29].

Employment’s importance for mental HRQoL was especially reflected by work-related stress, support from colleagues, and influence over what to do at work, which can be compared with sense of control. Employment’s importance for physical HRQoL was largely reflected by early retirement and sick leave, which can be attributed to the physical limitations induced by the cause of the individual’s early retirement or sick leave. Influence on decisions at work was also important for physical HRQoL, and we believe that this can be attributed to physically demanding work environments requiring only lower education with low control over decisions.

The strengths of this study include the large sample size and the cohort being representative of the Swedish general population [13], which strengthens the generalisability. The use of machine learning methods enabled the analysis of the interplay between a wide range of factors representing a large spectrum of health aspects present in people’s everyday lives. The SF-12 is widely used to measure HRQoL and has been validated in different settings and populations [14], thereby enabling comparability with other studies. Another widely used HRQoL instrument is the EQ-5D [30]. However, the use of EQ-5D has been shown to present less variance of the HRQoL scores between participants because of the ceiling effect of the EQ-5D [30], meaning that an individual has to be severe sick to show any decreased HRQoL score. This could favour the SF-12 over the EQ-5D as an outcome in general population studies with overall healthy participants. Repeating these analyses with different measures of quality of life will be important, future work. The models used in this study show good generalisability when predicting unseen data from a separate study site, which further strengthens the generalisability of the present study’s findings.

The limitations of the present study include its nonrandomised cross-sectional design, wherefore causality cannot be inferred. However, the causative effects of many of the identified factors, such as physical activity and pain, on HRQoL have been widely studied [23, 26]. Another limitation is that pain was not reported directly by instruments; instead, “pain treated with nonprescription drugs” was used as a proxy for pain. Finally, as our study used a novel approach on an understudied field, it is challenging to compare our results with previous studies due to differences in the assumptions of the analysis methods used.

The present findings have several important implications. Physical activity, pain, and employment were identified as key factors that are likely to be amenable to interventions, and this study can support prioritising interventions. The identified factors need to be a target even before middle age to lay the foundation for long and happy lives. Considering the findings regarding physical activity of our study, previous studies [23, 31], and WHO recommendations [24], we suggest public health interventions promoting more regular physical activity among the whole population. However, future studies should focus on evaluating what type of physical activity would be most beneficial for HRQOL and well-being, especially in people who may already have some physical limitations due to co-morbidities. Our findings on the importance of pain also align with our findings of the importance of physical activity, which can be used as prevention against pain [32], but also against early retirement and sick leave, which were important within the employment factor. With our study’s findings in mind, we suggest a research focus on the prevention of pain in and before (throughout life) in middle age to increase the chances of a life free from pain in later ages. Finally, as many of the factors were similarly important to HRQoL, our findings indicate that a similar set of factors should be targeted in men and women. The potential is great, as healthy lifestyles are unequally distributed in the population.

In conclusion, middle-aged men and women had similar HRQoL, and the factors most strongly related to physical and mental HRQoL are physical activity, employment, pain, and sense of control. All these factors can be modified on an individual level and should be targeted by public health interventions that are aimed towards both men and women overall.

Supporting information

S1 Table.

Abbreviations: CABG = coronary artery bypass graft; COPD = Chronic obstructive pulmonary disease; FEV1 = forced expiratory volume in 1 second; FVC = Forced vital capacity; Hb = haemoglobin; HbA1c = haemoglobin A1c; HDL = high-density lipoprotein; hsCRP = High-sensitivity C-reactive protein; IBD = inflammatory bowel disease; LDL = low-density lipoprotein; MEF50 = maximal expiratory flow at 50% of the forced vital capacity; MI = myocardial infarction; OLD = obstructive lung disease; PCI = Percutaneous Coronary Intervention; SLE = Systemic lupus erythematosus; VCmax = Maximum vital capacity.

https://doi.org/10.1371/journal.pone.0294030.s001

(DOCX)

S2 Table. Hyperparameters were selected by 10-folded cross-validation on the training set.

The selected hyperparameters were used in the final models that were evaluated on the test set.

https://doi.org/10.1371/journal.pone.0294030.s002

(DOCX)

S3 Table. The factors are the summarised importance scores of similar variables, which were assigned before the analysis.

The importance score corresponds to the SHapley Additive exPlanations (SHAP) absolute mean divided by the models’ mean absolute error, which is comparable to the effect size. The SHAP absolute mean corresponds to the average degree of change from the mean score of the Short Form 12 for physical HrQoL (men: 53.4; women: 51.4) by a predictor variable among all participants. Abbreviations: CABG = coronary artery bypass graft; IBD = inflammatory bowel disease; MI = myocardial infarction; OLD = obstructive lung disease; PCI = Percutaneous Coronary Intervention.

https://doi.org/10.1371/journal.pone.0294030.s003

(DOCX)

S4 Table. The importance score corresponds to the SHapley Additive exPlanations (SHAP) absolute mean divided by the models’ mean absolute error, which is comparable to the effect size.

The SHAP absolute mean corresponds to the average degree of change from the mean score of the Short Form 12 for physical HrQoL (men: 53.4; women: 51.4) by a predictor variable among all participants. Abbreviations: CABG = coronary artery bypass graft; COPD = Chronic obstructive pulmonary disease; FEV1 = forced expiratory volume in 1 second; FVC = Forced vital capacity; Hb = haemoglobin; HbA1c = haemoglobin A1c; HDL = high-density lipoprotein; hsCRP = High-sensitivity C-reactive protein; IBD = inflammatory bowel disease; LDL = low-density lipoprotein; MEF50 = maximal expiratory flow at 50% of the forced vital capacity; MI = myocardial infarction; OLD = obstructive lung disease; PCI = Percutaneous Coronary Intervention; SLE = Systemic lupus erythematosus; VCmax = Maximum vital capacity.

https://doi.org/10.1371/journal.pone.0294030.s004

(DOCX)

S1 Fig. The process was conducted when training four separate models for predicting: Physical HRQoL among men; physical HRQoL among women; mental HRQoL among men; and mental HRQoL among women.

The Stockholm study site was used as the test sets. For the men´s physical and mental HRQoL models, the test sets comprised of 18% of the total men participant. For the women´s physical and mental HRQoL models the test sets comprised of 16% of the total women participants.

https://doi.org/10.1371/journal.pone.0294030.s005

(JPEG)

S1 Checklist. STROBE statement—Checklist of items that should be included in reports of cross-sectional studies.

https://doi.org/10.1371/journal.pone.0294030.s006

(DOCX)

References

  1. 1. World Health Organization. Basic documents, 48th ed. 2014.
  2. 2. Haraldstad K, Wahl A, Andenaes R, Andersen JR, Andersen MH, Beisland E, et al. A systematic review of quality of life research in medicine and health sciences. Qual Life Res. 2019;28(10):2641–50. Epub 2019/06/13. pmid:31187410.
  3. 3. Ware J Jr., Kosinski M, Keller SD. A 12-Item Short-Form Health Survey: construction of scales and preliminary tests of reliability and validity. Med Care. 1996;34(3):220–33. Epub 1996/03/01. pmid:8628042.
  4. 4. Yin S, Njai R, Barker L, Siegel PZ, Liao Y. Summarizing health-related quality of life (HRQOL): development and testing of a one-factor model. Population Health Metrics. 2016;14(1):22. pmid:27408606
  5. 5. van Nieuwenhuizen AJ, Buffart LM, Langendijk JA, Vergeer MR, Voortman J, Leemans CR, et al. Health-related quality of life and overall survival: a prospective study in patients with head and neck cancer treated with radiotherapy. Quality of Life Research. 2021;30(4):1145–53. pmid:33289866
  6. 6. Vinnikov D, Raushanova A, Romanova Z, Tulekov Z. Health-related quality of life in a general population sample in Kazakhstan and its sociodemographic and occupational determinants. Health Qual Life Outcomes. 2021;19(1):199. Epub 2021/08/23. pmid:34419062.
  7. 7. Djarv T, Wikman A, Johar A, Lagergren P. Poor health-related quality of life in the Swedish general population: the association with disease and lifestyle factors. Scand J Public Health. 2013;41(7):744–53. Epub 2013/06/14. pmid:23761936.
  8. 8. Van Wilder L, Devleesschauwer B, Clays E, De Buyser S, Van der Heyden J, Charafeddine R, et al. The impact of multimorbidity patterns on health-related quality of life in the general population: results of the Belgian Health Interview Survey. Qual Life Res. 2021. Epub 2021/08/24. pmid:34424487.
  9. 9. Lindqvist Bagge AS, Carlander A, Fahlke C, Olofsson Bagge R. Health-related quality of life (FACT-GP) in Sweden. Health Qual Life Outcomes. 2020;18(1):172. Epub 2020/06/10. pmid:32513181.
  10. 10. Kanesarajah J, Waller M, Whitty JA, Mishra GD. Multimorbidity and quality of life at mid-life: A systematic review of general population studies. Maturitas. 2018;109:53–62. Epub 2018/02/18. pmid:29452782.
  11. 11. Liu Y, Chen PC, Krause J, Peng L. How to Read Articles That Use Machine Learning: Users’ Guides to the Medical Literature. JAMA. 2019;322(18):1806–16. Epub 2019/11/13. pmid:31714992.
  12. 12. Bergstrom G, Berglund G, Blomberg A, Brandberg J, Engstrom G, Engvall J, et al. The Swedish CArdioPulmonary BioImage Study: objectives and design. J Intern Med. 2015;278(6):645–59. Epub 2015/06/23. pmid:26096600.
  13. 13. Bonander C, Nilsson A, Bjork J, Blomberg A, Engstrom G, Jernberg T, et al. The value of combining individual and small area sociodemographic data for assessing and handling selective participation in cohort studies: Evidence from the Swedish CardioPulmonary bioImage Study. PLoS One. 2022;17(3):e0265088. Epub 20220308. pmid:35259202.
  14. 14. Gandek B, Ware JE, Aaronson NK, Apolone G, Bjorner JB, Brazier JE, et al. Cross-validation of item selection and scoring for the SF-12 Health Survey in nine countries: results from the IQOLA Project. International Quality of Life Assessment. J Clin Epidemiol. 1998;51(11):1171–8. pmid:9817135.
  15. 15. Wareham NJ, Jakes RW, Rennie KL, Schuit J, Mitchell J, Hennings S, et al. Validity and repeatability of a simple index derived from the short physical activity questionnaire used in the European Prospective Investigation into Cancer and Nutrition (EPIC) study. Public Health Nutr. 2003;6(4):407–13. pmid:12795830.
  16. 16. Swedish Public Health agency´s national survey [cited 2022 06/09]. https://www.folkhalsomyndigheten.se/the-public-health-agency-of-sweden/public-health-reporting/.
  17. 17. Mahler DA, Wells CK. Evaluation of clinical methods for rating dyspnea. Chest. 1988;93(3):580–6. Epub 1988/03/01. pmid:3342669.
  18. 18. Rosengren A, Hawken S, Ounpuu S, Sliwa K, Zubaid M, Almahmeed WA, et al. Association of psychosocial risk factors with risk of acute myocardial infarction in 11119 cases and 13648 controls from 52 countries (the INTERHEART study): case-control study. Lancet. 2004;364(9438):953–62. pmid:15364186.
  19. 19. Ekblom O, Ekblom-Bak E, Bolam KA, Ekblom B, Schmidt C, Soderberg S, et al. Concurrent and predictive validity of physical activity measurement items commonly used in clinical settings—data from SCAPIS pilot study. BMC Public Health. 2015;15:978. Epub 20150928. pmid:26415512.
  20. 20. Olsson M, Currow DC, Ekstrom MP. Exploring the most important factors related to self-perceived health among older men in Sweden: a cross-sectional study using machine learning. BMJ Open. 2022;12(6):e061242. Epub 20220621. pmid:35728903.
  21. 21. Chen T, Guestrin C. XGBoost: A Scalable Tree Boosting System2016 March 01, 2016:[arXiv:1603.02754 p.]. https://ui.adsabs.harvard.edu/abs/2016arXiv160302754C.
  22. 22. Lundberg SM, Erion G, Chen H, DeGrave A, Prutkin JM, Nair B, et al. From Local Explanations to Global Understanding with Explainable AI for Trees. Nat Mach Intell. 2020;2(1):56–67. Epub 2020/07/02. pmid:32607472.
  23. 23. Nguyen TM, Nguyen VH, Kim JH. Physical Exercise and Health-Related Quality of Life in Office Workers: A Systematic Review and Meta-Analysis. Int J Environ Res Public Health. 2021;18(7). Epub 20210405. pmid:33916437.
  24. 24. World Health Organization. Physical activity: World Health Organization; 2020. https://www.who.int/news-room/fact-sheets/detail/physical-activity.
  25. 25. Burtscher J, Strasser B, D’Antona G, Millet GP, Burtscher M. How much resistance exercise is beneficial for healthy aging and longevity? J Sport Health Sci. 2023;12(3):284–6. Epub 20221107. pmid:36356853.
  26. 26. Domenichiello AF, Ramsden CE. The silent epidemic of chronic pain in older adults. Prog Neuropsychopharmacol Biol Psychiatry. 2019;93:284–90. Epub 20190417. pmid:31004724.
  27. 27. Nawai A, Leveille SG, Shmerling RH, van der Leeuw G, Bean JF. Pain severity and pharmacologic pain management among community-living older adults: the MOBILIZE Boston study. Aging Clin Exp Res. 2017;29(6):1139–47. Epub 20170221. pmid:28224474.
  28. 28. Schmidt M, Sørensen HT, Pedersen L. Diclofenac use and cardiovascular risks: series of nationwide cohort studies. BMJ. 2018;362:k3426. pmid:30181258
  29. 29. Bonmatí-Tomas A, Malagón-Aguilera MC, Gelabert-Vilella S, Bosch-Farré C, Vaandrager L, García-Gil MM, et al. Salutogenic health promotion program for migrant women at risk of social exclusion. International Journal for Equity in Health. 2019;18(1):139. pmid:31481094
  30. 30. De Smedt D, Clays E, Annemans L, De Bacquer D. EQ-5D Versus SF-12 in Coronary Patients: Are They Interchangeable? Value in Health. 2014;17(1):84–9. pmid:24438721
  31. 31. Ekblom-Bak E, Borjesson M, Bergman F, Bergstrom G, Dahlin-Almevall A, Drake I, et al. Accelerometer derived physical activity patterns in 27.890 middle-aged adults: The SCAPIS cohort study. Scand J Med Sci Sports. 2022;32(5):866–80. Epub 20220207. pmid:35080270.
  32. 32. Fjeld MK, Arnes AP, Engdahl B, Morseth B, Hopstock LA, Horsch A, et al. Consistent pattern between physical activity measures and chronic pain levels: the Tromso Study 2015–2016. Pain. 2022. Epub 20220908. pmid:36083173.