The Impact of Death Anxiety and Spirituality Level on Psychological Well-Being of Geriatric Home Care Patients: Machine Learning Approach

Article information

Psychiatry Investig. 2026;23(5):696-703
Publication date (electronic) : 2026 April 29
doi : https://doi.org/10.30773/pi.2026.0010
1Department of Medical Services and Techniques, Muş Alparslan University, Varto Vocational School, Muş, Türkiye
2Department of Midwifery, Sakarya University, Faculty of Health Sciences, Sakarya, Türkiye
Correspondence: Mehmet Uçar, PhD Department of Medical Services and Techniques, Muş Alparslan University, Muş 49250, Türkiye Tel: +90-5393116608, E-mail: m.ucar@alparslan.edu.tr
Received 2026 January 13; Revised 2026 March 10; Accepted 2026 March 25.

Abstract

Objective

To investigate the effects of death anxiety and spirituality on the psychological well-being of geriatric home care patients.

Methods

A descriptive cross-sectional design was conducted between January and June 2024 with 280 individuals aged ≥65 years living in a provincial center in eastern Türkiye. Data were collected using the personal information form, Spiritual Orientation Scale, Psychological Well-being Scale, and Death Anxiety Scale. Descriptive statistics, t-tests, and machine learning based Shapley value analysis were applied.

Results

Psychological well-being was significantly associated with death anxiety and spirituality. Lower death anxiety (t=-4.253, p<0.001) and higher spirituality (t=4.728, p<0.001) were linked to better psychological well-being. Shapley value analysis identified spirituality as the strongest predictor.

Conclusion

Reducing death anxiety and enhancing spirituality may improve psychological well-being in geriatric home care patients. Integrating spirituality-based psychosocial interventions into geriatric care may strengthen emotional resilience and quality of life. Future longitudinal studies are recommended to better understand the causal relationships between death anxiety, spirituality, and psychological well-being in geriatric home care populations.

INTRODUCTION

As the elderly population increases worldwide, there is a corresponding rise in age-related illnesses, which in turn highlights the growing need for home care services [1,2]. Home care service is a type of service that requires a serious and planned organization, is open to external factors, requires a separate team and training, and is relatively difficult to control. In this process, the family may experience economic, social and psychological distress due to living with a patient continuously. For the informal caregiver, daily activities such as providing proper care to the sick person, giving medications at the right time, ensuring personal hygiene, and feeding the patient may be difficult and may create pressure on the person [1,3]. Interventions for emergencies can be difficult as there may ot always be a healthcare professional with the patient [4].

Psychological well-being can be defined as the ability of individuals to manage the situations they encounter in their lives that come from their existence [5,6]. Although psychological wellbeing is evaluated as the absence of negative conditions (anxiety, depression, etc.) in people, it is stated that this situation does not meet the full meaning. Ryff and Keyes [7] put forward a model of psychological well-being. There are six dimensions in this model [6,7]. Psychological well-being is of great importance for individuals receiving home health care services [7].

Death is inevitable for all human beings; the important thing is to come to terms with this reality so that growth and development can continue [8]. At this point, death education can be effective in reducing death anxiety and changing negative attitudes towards the care of the terminally ill patient by raising the nurse’s awareness of the phenomenon of death [9]. Death education programs first started in the United States of America (USA) and then became widespread in countries such as Canada and the UK, and advanced death education programs were established [9,10]. Death anxiety is a lifelong feeling that starts from birth and lasts throughout life, and develops after the realization that the person will no longer exist, that he/she may lose himself/herself and the world, that he/she may be nothing. It is defined in different ways in the literature and sometimes confused with fear of death or used in a similar sense [11]. Age, gender, personality traits, sociocultural factors, developmental process, religious beliefs, and terminal illness were found to be associated with death anxiety [12]. Spirituality refers to all the inner resources to which an individual is connected. Even if an individual does not believe in any religion or power, the importance and balance he/she attaches to life and inner peace is the content of spirituality. Spirituality is not necessarily related to religion. Spirituality is an important phenomenon that affects psychological well-being and death anxiety processes [12-14].

In this study, impact of death anxiety and spirituality on psychological well-being of geriatric home care patients will be determined. This study focuses on elderly individuals receiving home care, a population often overlooked in previous research on death anxiety, spirituality, and psychological well-being. By addressing this gap, the study contributes to the literature by highlighting how these factors are associated in a vulnerable group and by drawing attention to an underexplored aspect of geriatric healthcare. We propose two hypotheses.

H1: Spirituality has an effect on psychological well-being in elderly home care patients.

H2: Death anxiety has an effect on psychological well-being in elderly home care patients.

H01: Spirituality has no effect on psychological well-being in elderly home care patients.

H02: Death anxiety has no effect on psychological well-being in elderly home care patients.

METHODS

Research design

The study was planned in a descriptive cross-sectional design. The research data were collected by the researchers between January 30, 2024 and June 30, 2024 by face-to-face survey method. The population of the study consisted of 735 elderly patients aged 65 years and over registered in the home care unit of a state hospital located in a province in eastern Türkiye. The sample size was 253 home care patients with alpha= 0.05, 95% confidence interval in case the population was known. The study was completed with 280 home care patients. Following the study, a post hoc power analysis was conducted based on the results obtained from 280 participants, revealing that the study’s power is 99% at a medium effect size and a 95% confidence level [15]. The STROBE guideline was used in the reporting of this research paper [16].

Participants and procedure

Inclusion criteria

Individuals aged 65 years and older who were registered in the home care unit had no communication problems, and voluntarily agreed to participate in the study were included.

Exclusion criteria

Individuals under the age of 65 years, those who declined to participate, those diagnosed with severe psychiatric disorders, and those with advanced-stage cancer were excluded from the study.

Data collection: the researchers first informed the participants about the purpose of the study and then asked them to give written informed consent. Then, together with the home care nurses, they conducted face-to-face interviews with them at home (approximately 15–20 minutes) and asked them to fill in the data collection forms prepared by the researcher for this purpose.

Measurements

“Personal information form,” which was developed by the researchers after the literature review and “Spiritual Orientation Scale,” “Psychological Well-being Scale,” and “Death Anxiety Scale” were used as data collection tools. The personal information form prepared by the researchers consists of questions (age, gender, education level, income level, etc.).

The Spiritual Orientation Scale developed by Kasapoğlu [17] was used to assess their spiritual orientation. The Spiritual Orientation Scale consists of 16 questions determined with a 7-point Likert scale. In this study, the scale items were designed according to the perspective of belief in a higher power, meaning and search, and prayer/meditation, which are accepted as the basic criteria of spirituality. A high score on the scale indicates a high level of spiritual orientation. Cronbach’s α coefficient of the scale was found to be 0.87 [17]. In our study, Cronbach’s α value of the scale was found to be 0.94.

The Psychological Well-being Scale was developed by Diener et al. [18] to measure socio-psychological well-being as a complement to existing well-being measures. The scale was adapted into Turkish by Telef [19]. The items of the Psychological Wellbeing Scale are answered between 1–7 in the form of strongly disagree (1) to strongly agree (7). All items are expressed positively. Scores range from 8 (if strongly disagree with all items) to 56 (if strongly agree with all items). A high score indicates that the person has many psychological resources and strengths. Cronbach’s α coefficient was 0.80 [19]. In our study, Cronbach’s α value of the scale was found to be 0.93.

The scale created by Sarıkaya and Baloğlu [20] consists of 20 items and measures death anxiety. The items of the scale are evaluated on a 5-point Likert scale. The lowest score that can be obtained from the scale is 0 and the highest score is 80. The range of 0–12 points indicates very low death anxiety, 13–29 points indicates low death anxiety, 30–47 points indicates moderate death anxiety, 48–64 points indicates high death anxiety, and 65–80 points indicates very high death anxiety. The scale consists of 3 sub-dimensions: uncertainty of death, exposure, and suffering. The uncertainty of death sub-dimension includes questions 1, 2, 3, 4, 5, 6, 7, 8, 9, and 10 of the scale. The highest score that can be obtained from this sub-dimension is 40 and the lowest score is 0. Exposure sub-dimension consists of questions 11, 12, 13, 14, 15, 16, and 17. The highest possible score for this subscale is 28 and the lowest possible score is 0. Suffering sub-dimension consists of questions 18, 19, and 20 of the scale. The highest possible score for this sub-dimension is 12 and the lowest possible score is 0. Cronbach’s α coefficient was 0.95 and test-retest reliability was 0.82 [20]. In our study, Cronbach’s α value of the scale was found to be 0.95.

Statistical analysis

The analysis of the study data was performed by using SPSS 22.0 (IBM Corp.), and G*Power 3.1 Statistical package software (Heinrich-Heine-Universität Düsseldorf). Percentage, arithmetic mean, standard deviation, and minimum and maximum values were calculated using SPSS 22.0. Necessary normality tests were performed in the process of analyzing the data and it was understood that the data showed normal distribution (kurtosis and skewness, -1.5 to +1.5) [21]. p-value of <0.05 was considered statistically significant. Predictive analyses were performed with R programming language version 4.1.3 (R Core Team). In addition to conventional statistical analyses, machine learning techniques were employed to explore the relative importance of predictors and to provide a complementary analytical perspective for understanding the factors associated with psychological well-being.

Ethics approval

Ethical approval for the study was obtained from a university scientific research and publication ethics committee in Türkiye (Date and Number: 08.11.2023-116369). Then, institutional permission (Approval no. 24.01.2024. E-35465298- 619-235024677) was obtained from the Provincial Health Directorate where the research was conducted. Written informed consent was obtained from all participants with the voluntary consent form after they were informed about the purpose of the study, the procedures involved, and their voluntary participation. Throughout the research process, the researchers adhered to the principles outlined in the Declaration of Helsinki. Publication permission was obtained from the participants.

RESULTS

In our study, 55.0% of the individuals were women, 36.8% were primary school graduates, 55.7% had less income than expenses, 56.8% had poor health perception, 87.9% received support, 43.2% had received home care services for 0–2 years, 31.8% had cardiovascular disease, 87.5% used assistive devices, and the mean age was 75.77±8.73 years (Table 1).

Descriptive characteristics of individuals (N=280)

The results of the hierarchical regression models, conducted to reveal the effects of death anxiety and spirituality on psychological well-being were examined.

Statistical estimates for Model 1 show that the model is significant and usable (F(1,278)=23.509, p=0.001). Death anxiety level explains 7.5% of the total variance of psychological well-being level. In the regression model, when the t-test results regarding the significance of the regression coefficient were analyzed; it was found that the decrease in the level of death anxiety of the participants (t=-4.849, p<0.001) caused a statistical increase in the level of “psychological well-being.”

Statistical estimates for Model 2 show that the model is significant and usable (F(2,277)=23.834, p=0.001). Death anxiety and spirituality explain 14.1% of the total variance of psychological well-being. In the regression model, when the t-test results regarding the significance of the regression coefficient were examined, it was found that the decrease in the level of death anxiety (t=-4.253, p<0.001) and the increase in the level of spirituality (t=4.728, p<0.001) caused a statistical increase in the level of “psychological well-being” (Table 2).

Hierarchical regression analysis results on the effect of death anxiety and spirituality level on psychological well-being

The dataset used in this study focuses on the Psychological Well-being Scale. The dataset is divided into 70.0% training and 30.0% test data for training and testing the model, so that the training set has 197 observations and the test set has 83 observations. The models built for Psychological Well-being Scale prediction and the determination of the best hyperparameters based on logarithmized train data are given in Figure 1.

Figure 1.

Established models for Psychological Well-being Scale prediction and determination of the best hyperparameters based on logarithmized train data. RMSE, root mean squared error; KNN, k-nearest neighbors; SVM, support vector machine; avNNet, averaged neural network; RF, random forest; XGBoost, extreme gradient boosting; MONMLP, monotone multi-layer perceptron neural network; NN, neural network; QRNN, quasi-recurrent neural network.

The metrics (root mean squared error and mean absolute error) used to compare the hyperparameter values are given in Figure 2. In the analysis, the random forest method found the most successful result.

Figure 2.

Metric values corresponding to the prediction of the test data obtained by inverse transformation of the most accurate models according to the hyperparameter values. MAE, mean absolute error; RMSE, root mean squared error; KNN, k-nearest neighbors; MONMLP, monotone multi-layer perceptron neural network; NN, neural network; QRNN, quasi-recurrent neural network; REG, regression; RF, random forest; SVM, support vector machine; XGBoost, extreme gradient boosting; avNNet, averaged neural network.

The prediction performance of the model on the test data is shown in Figure 3.

Figure 3.

Psychological Well-being Scale test data prediction with random forest method.

According to the Shapley variable, Spirituality Scale was determined as the most important variable in the prediction of the Psychological Well-being Scale variable (Figure 4). In addition to conventional statistical analyses, machine learning analysis using the random forest algorithm was performed to further evaluate the predictive importance of the variables. The results of the Shapley value analysis indicated that spirituality was the most influential predictor of psychological well-being, followed by death anxiety. These findings support the results obtained from the hierarchical regression analysis and provide additional insight into the relative contribution of the predictors.

Figure 4.

Determining the contribution of variables to the model for Psychological Well-being Scale estimation with Shapley values.

The distribution, interaction, and density graph of the variables Psychological Well-being Scale, Death Anxiety Scale, and Spirituality Scale are given in Figure 5.

Figure 5.

Distribution, interaction, and density graph of Psychological Well-being Scale, Death Anxiety Scale, and Spirituality Scale variables.

DISCUSSION

In our study, we aimed to determine the effect of death anxiety level and spirituality level on psychological well-being in geriatric home care patients. In this section, the findings are discussed in the light of the literature.

In our study, there is a significant relationship between death anxiety level and psychological well-being. As the level of death anxiety decreases, psychological well-being increases. The result of this study supports the result of Eslami and Omranian [22] that death anxiety has a direct and significant effect on wellbeing and that death anxiety is a factor that reduces psychological well-being. In a study, it was also found that there was a weak negative relationship between death anxiety and psychological well-being [23]. In addition to these studies, Nagaraj and Nithyanandan [24] also found a significant negative relationship between death anxiety and psychological well-being. Shukla and Rishi [25] found an inverse relationship between death anxiety and well-being in those who reported higher levels of death anxiety, which supports the results of our study.

In our study, there is a significant relationship between spirituality level and psychological well-being. As the level of spirituality increases, the level of psychological well-being increases. In a study, it was found that there is a significant relationship between spirituality and psychological well-being [26]. The result that spirituality is related to psychological well-being is in parallel with our study. In a different study, it was also emphasized in their study that although high levels of spirituality are not protective, low levels of spirituality can harm psychological well-being [27]. In our study, the increase in psychological wellbeing with increasing spirituality level supports this result. Akbayram and Keten [28] showed that spirituality has a positive effect on psychological well-being and psychological resilience. Singh and Sharma [29] also showed a positive relationship between psychological health and spirituality. Similar results were found in the literatüre [30-33]. In a study, it was found that religiosity and spirituality are important predictors of psychological well-being, in contrast to demographic factors and traditional factors such as social resources and physical health [34]. When we look at our study findings and the studies conducted, it shows that the level of death anxiety and spirituality level affect the level of psychological well-being.

In light of previous studies, our findings extend the literature by examining the combined effects of death anxiety and spirituality, specifically in geriatric home care patients. Unlike studies conducted in general elderly populations or institutionalized settings, this research highlights the psychosocial determinants of well-being in a home-based care context. This novel focus provides new knowledge to inform the design of holistic interventions and underscores the need for integrating spiritual and psychological support into community and home healthcare models.

Conclusions

With the increase in the elderly population, the number of individuals receiving home care services is gradually increasing. Spirituality, psychological well-being and death anxiety are among the most important issues in geriatric individuals. As a result of this study, it was determined that the decrease in the level of death anxiety of the participants receiving elderly home care services caused a statistical increase in the level of “psychological well-being.” In this study, it was determined that the decrease in the level of death anxiety and the increase in the level of spirituality of the participants caused a statistical increase in the level of “psychological well-being.” In line with the research findings, formal and informal caregivers who take care of elderly individuals should help to meet the spiritual needs of the elderly. The effects of death anxiety and spirituality on psychological well-being should be taken into consideration. Health professionals should provide health services without ignoring the spirituality, death anxiety, and psychological well-being of the geriatrics. In conclusion, this study not only demonstrates the interplay between death anxiety, spirituality, and psychological well-being in home care patients but also fills an important gap in the literature by focusing on a neglected population.

Limitations

This study has several limitations that should be considered when interpreting the findings. First, the cross-sectional design limits the ability to infer causal relationships between death anxiety, spirituality, and psychological well-being. Second, the data were collected using self-report scales, which may introduce response bias and social desirability effects. Third, the study sample consisted only of elderly individuals receiving home care services in a single province in eastern Türkiye, which may limit the generalizability of the findings to other populations or healthcare settings. Future studies using longitudinal designs and more diverse samples are recommended to strengthen the generalizability of the results.

Notes

Availability of Data and Material

The data that support the findings of this study areavailable on request from the corresponding author.

Conflicts of Interest

The authors have no potential conflicts of interest to disclose.

Author Contributions

Conceptualization: Mehmet Uçar, Metin Yildiz. Data curation: Mehmet Uçar, Metin Yildiz. Formal analysis: Mehmet Uçar. Investigation: Mehmet Uçar, Metin Yildiz. Methodology: Mehmet Uçar, Metin Yildiz. Writing—original draft: Mehmet Uçar. Writing—review & editing: Mehmet Uçar, Metin Yildiz.

Funding Statement

None

Acknowledgments

The authors would like to thank all participants for making this study possible.

References

1. Mahmood MN, Dhakal SP. Ageing population and society: a scientometric analysis. Qual Quant 2023;57:3133–3150.
2. World Health Organization. Ageing and health [Internet] Available at: https://www.who.int/news-room/fact-sheets/detail/ageing-and-health. Accessed December 28, 2025.
3. Tay EL, Lee SWH, Yong GH, Wong CP. A systematic review and meta-analysis of the efficacy of custom game based virtual rehabilitation in improving physical functioning of patients with acquired brain injury. Technol Disabil 2018;30:1–23.
4. Mahler M, Sarvimäki A, Clancy A, Stenbock-Hult B, Simonsen N, Liveng A, et al. Home as a health promotion setting for older adults. Scand J Public Health 2014;42(15 Suppl):36–40.
5. Chen S, Niu M, Ngai CSB. What is the next step of ICT development? The changes of ICT use in promoting elderly healthcare access: a systematic literature review. Heliyon 2024;10e25197.
6. Khirallah Abd El Fatah N, Abdelwahab Khedr M, Alshammari M, Mabrouk Abdelaziz Elgarhy S. Effect of immersive virtual reality reminiscence versus traditional reminiscence therapy on cognitive function and psychological well-being among older adults in assisted living facilities: a randomized controlled trial. Geriatr Nurs 2024;55:191–203.
7. Ryff CD, Keyes CL. The structure of psychological well-being revisited. J Pers Soc Psychol 1995;69:719–727.
8. Bazrafshan MR, Delam H, Mansouri A, Jokar M, Kavi E, Soufi O. The effect of reminiscence intervention on psychological well-being among individuals with history of suicide attempt: a randomized controlled trial. J Health Sci Surveill Syst 2023;11:84–90.
9. Alshakhs S, Park T, McDarby M, Reid MC, Czaja S, Adelman R, et al. Interventions for family caregivers of patients receiving palliative/hospice care at home: a scoping review. J Palliat Med 2024;27:112–127.
10. Menzies RE, Julien A, Sharpe L, Menzies RG, Helgadóttir FD, Dar-Nimrod I. Overcoming death anxiety: a phase I trial of an online CBT program in a clinical sample. Behav Cogn Psychother 2023;51:374–379.
11. Khodabakhshi-Koolaee A, Falsafinejad MR, Zoljalali T, Ghazizadeh C. Dialectical behavior therapy: effect on emotion regulation and death anxiety in older female adults. Omega (Westport) 2024;88:1218–1231.
12. Fekih-Romdhane F, Malaeb D, Postigo A, Sakr F, Dabbous M, Khatib SE, et al. The relationship between climate change anxiety and psychotic experiences is mediated by death anxiety. Int J Soc Psychiatry 2024;70:574–581.
13. Li Y, Dong W, Tang H, Guo X, Wu S, Lu G, et al. Correlates of death anxiety for patients with cancer: a systematic review and meta-analysis. J Clin Nurs 2024;33:1933–1947.
14. Sun M, Tian X, Peng Y, Wang Z, Lu Y, Xiao W. Effects of meaning therapy on spirituality, psychological health, and quality of life in patients with cancer: a systematic review and meta-analysis of randomized controlled trials. Asia Pac J Oncol Nurs 2024;11:100388.
15. Cohen J. Statistical power analysis for the behavioral sciences (2nd ed) Hillsdale: Lawrence Erlbaum Associates; 1988.
16. Vandenbroucke JP, von Elm E, Altman DG, Gøtzsche PC, Mulrow CD, Pocock SJ, et al. Strengthening the reporting of observational studies in epidemiology (STROBE): explanation and elaboration. PLoS Med 2007;4e297.
17. Kasapoğlu F. Development of spiritual orientation scale: the study of validity and reliability. Inonu Univ Egit Fak Derg 2015;16:51–68.
18. Diener E, Wirtz D, Tov W, Kim-Prieto C, Choi DW, Oishi S, et al. New well-being measures: short scales to assess flourishing and positive and negative feelings. Soc Indic Res 2010;97:143–156.
19. Telef BB. The adaptation of psychological well-being into Turkish: a validity and reliability study. Hacet Univ Egit Fak Derg 2013;28:374–384.
20. Sarıkaya Y, Baloğlu M. The development and psychometric properties of the Turkish death anxiety scale (TDAS). Death Stud 2016;40:419–431.
21. Tabachnick BG, Fidell LS, Ullman JB. Using multivariate statistics (vol. 5) Boston: Pearson; 2007.
22. Eslami RS, Omranian M. Social support and psychological well-being of the elderly: the mediating role of death anxiety. J Soc Sci Humanit Res 2021;9:97–107.
23. Yüksel MY, Serezli K, Bostancıoğlu N. Death anxiety, life satisfaction and psychological well-being in middle adults. Spir Psychol Couns 2024;9:57–74.
24. Nagaraj M, Nithyanandan DV. Death anxiety and psychological wellbeing of institutionalized elderly: relationship, association, and influences of demography. Indian J Gerontol 2019;33:255–267.
25. Shukla P, Rishi P. A corelational study of psychosocial & spiritual well being and death anxiety among advanced stage cancer patients. Am J Appl Psychol 2014;2:59–65.
26. Bożek A, Nowak PF, Blukacz M. The relationship between spirituality, health-related behavior, and psychological well-being. Front Psychol 2020;11:1997.
27. Ballew SH, Hannum SM, Gaines JM, Marx KA, Parrish JM. The role of spiritual experiences and activities in the relationship between chronic illness and psychological well-being. J Relig Health 2012;51:1386–1396.
28. Akbayram HT, Keten HS. The relationship between religion, spirituality, psychological well-being, psychological resilience, life satisfaction of medical students in the Gaziantep, Turkey. J Relig Health 2024;63:2847–2859.
29. Singh M, Sharma T. Relationship between psychological well-being and spirituality among young adults. Indian J Posit Psychol 2023;14:207–210.
30. Basileyo AE. Spirituality and psychological well-being: the mediating role pessimism. LPU-Laguna J Multidiscip Res 2019;3:26–41.
31. Tanzeel S, Malik NI. Spirituality and psychological well-being among muslims and christians adolescents and young adults. Al-Idah 2017;35:53–61.
32. Temane QM, Wissing MP. The role of spirituality as a mediator for psychological well-being across different contexts. S Afr J Psychol 2006;36:582–597.
33. Ivtzan I, Chan CP, Gardner HE, Prashar K. Linking religion and spirituality with psychological well-being: examining self-actualisation, meaning in life, and personal growth initiative. J Relig Health 2013;52:915–929.
34. Hafeez A, Rafique R. Spirituality and religiosity as predictors of psychological well-being in residents of old homes. Dialogue (Pakistan) 2013;8:285–301.

Article information Continued

Figure 1.

Established models for Psychological Well-being Scale prediction and determination of the best hyperparameters based on logarithmized train data. RMSE, root mean squared error; KNN, k-nearest neighbors; SVM, support vector machine; avNNet, averaged neural network; RF, random forest; XGBoost, extreme gradient boosting; MONMLP, monotone multi-layer perceptron neural network; NN, neural network; QRNN, quasi-recurrent neural network.

Figure 2.

Metric values corresponding to the prediction of the test data obtained by inverse transformation of the most accurate models according to the hyperparameter values. MAE, mean absolute error; RMSE, root mean squared error; KNN, k-nearest neighbors; MONMLP, monotone multi-layer perceptron neural network; NN, neural network; QRNN, quasi-recurrent neural network; REG, regression; RF, random forest; SVM, support vector machine; XGBoost, extreme gradient boosting; avNNet, averaged neural network.

Figure 3.

Psychological Well-being Scale test data prediction with random forest method.

Figure 4.

Determining the contribution of variables to the model for Psychological Well-being Scale estimation with Shapley values.

Figure 5.

Distribution, interaction, and density graph of Psychological Well-being Scale, Death Anxiety Scale, and Spirituality Scale variables.

Table 1.

Descriptive characteristics of individuals (N=280)

Demographic characteristics Value
Gender
 Women 154 (55.0)
 Men 126 (45.0)
Education status
 Illiterate 24 (8.6)
 Literate 85 (30.4)
 Primary school 103 (36.8)
 High school 54 (19.3)
 Higher education 14 (5.0)
Monthly income
 My income is less than my expenses 156 (55.7)
 My income is equal to my expenses 116 (41.4)
 My income is more than my expenses 8 (2.9)
Perception of health
 Good 20 (7.1)
 Middle 101 (36.1)
 Bad 159 (56.8)
Receipt of support
 Yes 246 (87.9)
 No 34 (12.1)
Duration of receiving home care services (yr)
 0–2 121 (43.2)
 3–5 93 (33.2)
 Over 5 66 (23.6)
Disease type
 Tumor-related diseases 4 (1.4)
 Cardiovascular diseases 89 (31.8)
 Orthopedic diseases 15 (5.4)
 Neurological diseases 26 (9.3)
 Diseases such as stroke 50 (17.9)
 Diabetes-hypertension 96 (34.3)
Auxiliary device use status
 Yes 245 (87.5)
 No 35 (12.5)
Age (yr) 75.77±8.73 (65–104)

Values are presented as N (%) or mean±standard deviation (min–max).

Table 2.

Hierarchical regression analysis results on the effect of death anxiety and spirituality level on psychological well-being

Predictive variables Psychological Well-being Scale (dependent variable)
B SD β t p*
Model 1
 (Constant) 40.767 1.562 26.092 <0.001
 Death Anxiety Scale -0.175 0.036 -0.279 -4.849 <0.001
Model 2
 (Constant) 17.530 5.140 3.410 <0.001
 Death Anxiety Scale -0.150 0.035 -0.239 -4.253 <0.001
 Spirituality Scale 0.239 0.051 0.265 4.728 <0.001
R Model 1: 0.279
Model 2: 0.383
R²/adjusted R² Model 1: 0.078/0.075
Model 2: 0.147/0.141
R² change Model 1: 0.078
Model 2: 0.069
F Model 1: 23.509
Model 2: 23.834
*

p<0.001.

SD, standard deviation.