IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0313276.html

Exploring happiness factors with explainable ensemble learning in a global pandemic

Author

Listed:
  • Md Amir Hamja
  • Mahmudul Hasan
  • Md Abdur Rashid
  • Md Tanvir Hasan Shourov

Abstract

Happiness is a state of contentment, joy, and fulfillment, arising from relationships, accomplishments, and inner peace, leading to well-being and positivity. The greatest happiness principle posits that morality is determined by pleasure, aiming for a society where individuals are content and free from suffering. While happiness factors vary, some are universally recognized. The World Happiness Report (WHR), published annually, includes data on ‘GDP per capita’, ‘social support’, ‘life expectancy’, ‘freedom to make life choices’, ‘generosity’, and ‘perceptions of corruption’. This paper predicts happiness scores using Machine Learning (ML), Deep Learning (DL), and ensemble ML and DL algorithms and examines the impact of individual variables on the happiness index. We also show the impact of COVID-19 pandemic on the happiness features. We design two ensemble ML and DL models using blending and stacking ensemble techniques, namely, Blending RGMLL, which combines Ridge Regression (RR), Gradient Boosting (GB), Multilayer Perceptron (MLP), Long Short-Term Memory (LSTM), and Linear Regression (LR), and Stacking LRGR, which combines LR, Random Forest (RF), GB, and RR. Among the trained models, Blending RGMLL demonstrates the highest predictive accuracy with R2 of 85%, MSE of 0.15, and RMSE of 0.38. We employ Explainable Artificial Intelligence (XAI) techniques to uncover changes in happiness indices, variable importance, and the impact of the COVID-19 pandemic on happiness. The study utilizes an open dataset from the WHR, covering 156 countries from 2018 to 2023. Our findings indicate that ‘GDP per capita’ is the most critical indicator of happiness score (HS), while ‘social support’ and ‘healthy life expectancy’ are also important features before and after the pandemic. However, during the pandemic, ‘social support’ emerged as the most important indicator, followed by ‘healthy life expectancy’ and ‘GDP per capita’, because social support is the prime necessity in the pandemic situation. The outcome of this research helps people understand the impact of these features on increasing the HS and provides guidelines on how happiness can be maintain during unwanted situations. Future research will explore advanced methods and include other related features with real-time monitoring for more comprehensive insights.

Suggested Citation

  • Md Amir Hamja & Mahmudul Hasan & Md Abdur Rashid & Md Tanvir Hasan Shourov, 2025. "Exploring happiness factors with explainable ensemble learning in a global pandemic," PLOS ONE, Public Library of Science, vol. 20(1), pages 1-32, January.
  • Handle: RePEc:plo:pone00:0313276
    DOI: 10.1371/journal.pone.0313276
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0313276
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0313276&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0313276?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Ed Diener, 1994. "Assessing subjective well-being: Progress and opportunities," Social Indicators Research: An International and Interdisciplinary Journal for Quality-of-Life Measurement, Springer, vol. 31(2), pages 103-157, February.
    2. Dora Gudmundsdottir, 2013. "The Impact of Economic Crisis on Happiness," Social Indicators Research: An International and Interdisciplinary Journal for Quality-of-Life Measurement, Springer, vol. 110(3), pages 1083-1101, February.
    3. Mohamed Ali Trabelsi, 2022. "What is the impact of social well-being factors on happiness?," European Journal of Management Studies, Emerald Group Publishing Limited, vol. 28(1), pages 37-47, December.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Joanna A. Kamińska & Andreia Dionísio & Paulo Infante & Rita Carrilho, 2025. "More Is Still Not Enough—What Is Necessary and Sufficient for Happiness?," Sustainability, MDPI, vol. 17(13), pages 1-25, July.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. František Petrovič & Patrik Maturkanič, 2022. "Urban-Rural Dichotomy of Quality of Life," Sustainability, MDPI, vol. 14(14), pages 1-18, July.
    2. Matthias Lühr & Maria K. Pavlova & Maike Luhmann, 2022. "They are Doing Well, but is it by Doing Good? Pathways from Nonpolitical and Political Volunteering to Subjective Well-Being in Age Comparison," Journal of Happiness Studies, Springer, vol. 23(5), pages 1969-1989, June.
    3. Amar Fall & Fatéma Safy-Godineau & David Carassus, 2018. "Perceptions de justice organisationnelle dans les collectivités locales : quels impacts sur le bien-être psychologique au travail et sur l’intention de quitter des agents ?," Post-Print hal-02142237, HAL.
    4. Mia M. Vainio & Daiva Daukantaitė, 2016. "Grit and Different Aspects of Well-Being: Direct and Indirect Relationships via Sense of Coherence and Authenticity," Journal of Happiness Studies, Springer, vol. 17(5), pages 2119-2147, October.
    5. E. Huebner & Rich Gilman & James Laughlin, 1999. "A Multimethod Investigation of the Multidimensionality of Children's Well-Being Reports: Discriminant Validity of Life Satisfaction and Self-Esteem," Social Indicators Research: An International and Interdisciplinary Journal for Quality-of-Life Measurement, Springer, vol. 46(1), pages 1-22, January.
    6. Violeta Misheva, 2016. "What Determines Emotional Well-Being? The Role of Adverse Experiences: Evidence Using Twin Data," Journal of Happiness Studies, Springer, vol. 17(5), pages 1921-1937, October.
    7. Susana Marques & J. Pais-Ribeiro & Shane Lopez, 2011. "The Role of Positive Psychology Constructs in Predicting Mental Health and Academic Achievement in Children and Adolescents: A Two-Year Longitudinal Study," Journal of Happiness Studies, Springer, vol. 12(6), pages 1049-1062, December.
    8. Malik, Faiza & Ishaq, Muhammad Ishtiaq, 2023. "Impact of minimalist practices on consumer happiness and financial well-being," Journal of Retailing and Consumer Services, Elsevier, vol. 73(C).
    9. Alexandra Nonnenmacher & Jürgen Friedrichs, 2013. "The Missing Link: Deficits of Country-Level Studies. A Review of 22 Articles Explaining Life Satisfaction," Social Indicators Research: An International and Interdisciplinary Journal for Quality-of-Life Measurement, Springer, vol. 110(3), pages 1221-1244, February.
    10. Ciorbagiu Ioana & Stoica Adrian, 2020. "The Importance Of Affective And Cognitive Dimensions Of Happiness - Analysis In European Countries," Annals - Economy Series, Constantin Brancusi University, Faculty of Economics, vol. 6, pages 138-148, December.
    11. Kennon M. Sheldon & Mike Corcoran & Mike Prentice, 2019. "Pursuing Eudaimonic Functioning Versus Pursuing Hedonic Well-Being: The First Goal Succeeds in Its Aim, Whereas the Second Does Not," Journal of Happiness Studies, Springer, vol. 20(3), pages 919-933, March.
    12. Zhu, Xinxin & Tian, Lili & Zhou, Jianhua & Huebner, E. Scott, 2019. "The developmental trajectory of behavioral school engagement and its reciprocal relations with subjective well-being in school among Chinese elementary school students," Children and Youth Services Review, Elsevier, vol. 99(C), pages 286-295.
    13. Nikolaos Antonakakis & Nikolaos Antonakakis & Alan Collins, 2014. "Does Fiscal Consolidation Really Get You Down? Evidence from Suicide Mortality," Department of Economics Working Papers wuwp182, Vienna University of Economics and Business, Department of Economics.
    14. Lan Chaplin, 2009. "Please May I Have a Bike? Better Yet, May I Have a Hug? An Examination of Children’s and Adolescents’ Happiness," Journal of Happiness Studies, Springer, vol. 10(5), pages 541-562, October.
    15. Lin, Jo-Hui & Wong, Jehn-Yih & Ho, Ching-hua, 2013. "Promoting frontline employees' quality of life: Leisure benefit systems and work-to-leisure conflicts," Tourism Management, Elsevier, vol. 36(C), pages 178-187.
    16. Maria K Pavlova & Matthias Lühr, 2023. "Volunteering and political participation are differentially associated with eudaimonic and social well-being across age groups and European countries," PLOS ONE, Public Library of Science, vol. 18(2), pages 1-36, February.
    17. Kirstin Hallmann & Christoph Breuer & Benedikt Kühnreich, 2013. "Happiness, pride and elite sporting success: What population segments gain most from national athletic achievements?," Sport Management Review, Taylor & Francis Journals, vol. 16(2), pages 226-235, April.
    18. Joar Vittersø, 2004. "Subjective Well-Being versus Self-Actualization: Using the Flow-Simplex to Promote a Conceptual Clarification of Subjective Quality of Life," Social Indicators Research: An International and Interdisciplinary Journal for Quality-of-Life Measurement, Springer, vol. 65(3), pages 299-331, February.
    19. Bartikowski, Boris & Laroche, Michel & Jamal, Ahmad & Yang, Zhiyong, 2018. "The type-of-internet-access digital divide and the well-being of ethnic minority and majority consumers: A multi-country investigation," Journal of Business Research, Elsevier, vol. 82(C), pages 373-380.
    20. Yang, Lin, 2018. "Measuring well-being: a multidimensional index integrating subjective well-being and preferences," LSE Research Online Documents on Economics 87789, London School of Economics and Political Science, LSE Library.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pone00:0313276. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.