Skip to main content
Log in

Religious Affiliation in the Twenty-First Century: A Machine Learning Perspective on the World Value Survey

  • ORIGINAL ARTICLE
  • Published:
Society Aims and scope Submit manuscript

Abstract

This paper is a quantitative analysis of the data collected globally by the World Value Survey. The data is used to study the trajectories of change in individuals’ religious beliefs, values, and behaviors in societies. Utilizing random forest, we aim to identify the key factors of religiosity and classify respondents of the survey as religious and non-religious using country-level data. We use resampling techniques to balance the data and improve imbalanced learning performance metrics. The results of the variable importance analysis suggest that Age and Income are the most important variables in the majority of countries. The results are discussed with fundamental sociological theories regarding religion and human behavior. This study is an application of machine learning in identifying the underlying patterns in the data of 30 countries participating in the World Value Survey. The results from variable importance analysis and classification of imbalanced data provide valuable insights beneficial to theoreticians and researchers of social sciences.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16
Fig. 17

Similar content being viewed by others

Data Availability

The dataset analyzed during the current study is publicly available in the World Value Survey (WVS) repository. https://www.worldvaluessurvey.org/wvs.jsp

Code Availability

The code is available in the author’s GitHub repository. https://github.com/ElahehJafarigol

References

  • Ahmed M Abdel-Khalek. Happiness, health, and religiosity: Significant relations. Mental Health, Religion & Culture, 9(1):85–97, 2006.

    Article  Google Scholar 

  • Annapurna Samantaray and Dash Satya Ranjan (2020) Feature selection techniques to predict the religion of a country from its flag. In Smart Intelligent Computing and Applications: Proceedings of the Third International Conference on Smart Computing and Informatics, Volume 1, pages 191–201. Springer.

  • Bengtson Vern L, Silverstein Merril, Putney Norella M, and Harris Susan C. Does religiousness increase with age? age changes and generational differences over 35 years. Journal for the scientific study of religion, 54(2):363–379, 2015.

    Article  Google Scholar 

  • Berger Peter L. A sociological view of the secularization of theology. Journal for the Scientific Study of Religion, 6(1):3–16, 1967.

    Article  Google Scholar 

  • Berhoum Adel, Mohammed Charaf Eddine Meftah, Abdelkader Laouid, and Mohammad Hammoudeh. Machine learning to classify religious communities and detect extremism on social networks: Ml to crcs and de through text tweets on sns. International Journal of Organizational and Collective Intelligence (IJOCI), 12(1):1–19, 2022.

    Article  Google Scholar 

  • Bettendorf Leon JH and Dijkgraaf Elbert (2008) Religion and income: Heterogeneity between countries.

  • Bettendorf Leon and Dijkgraaf Elbert. The bicausal relation between religion and income. Applied Economics, 43(11):1351–1363, 2011.

    Article  Google Scholar 

  • Bruce Steve (2002) God is dead: Secularization in the West, volume 3. Blackwell Oxford.

  • Chawla Nitesh V, Bowyer Kevin W, Hall Lawrence O, and Kegelmeyer W Philip (2002) Smote: synthetic minority over-sampling technique. Journal of artificial intelligence research, 16:321–357.

  • Cooper Anthony-Paul, Awuni Kolog Emmanuel, and Sutinen Erkki. Exploring the use of machine learning to automate the qualitative coding of church-related tweets. Fieldwork in Religion, 14(2):140–159, 2019.

    Article  Google Scholar 

  • Esping-Andersen Gosta (1990) The three worlds of welfare capitalism. Princeton University Press.

  • Finke Roger and Stark Rodney. Religious choice and competition. American Sociological Review, 63(5):761–766, 1998.

    Article  Google Scholar 

  • Fortuin Nienke PM, Schilderman Johannes BAM, and Venbrux Eric. The search for meaning in later life: On the connection between religious narratives and narratives of aging. Journal of Religion, Spirituality & Aging, 32(1):3–24, 2020.

    Article  Google Scholar 

  • Giddens Anthony (2020) Modernity and self-identity: Self and society in the late modern age. In The new social theory reader, pages 354–361. Routledge.

  • Goel Garima, Maguire Liam, Li Yuhua, and McLoone Sean (2013) Evaluation of sampling methods for learning from imbalanced data. In Intelligent Computing Theories: 9th International Conference, ICIC 2013, Nanning, China, July 28-31, 2013. Proceedings 9, pages 392–401. Springer.

  • Gorski Philip S (2000) Historicizing the secularization debate: Church, state, and society in late medieval and early modern europe, ca. 1300 to 1700. American sociological review, 138–167.

  • Gorski Philip S and Altınordu Ate¸s. After secularization? Annu. Rev. Sociol, 34:55–85, 2008.

    Article  Google Scholar 

  • Hackett Conrad, Grim Brian, Stonawski Marcin, Skirbekk Vegard, Potanˇcokov´a Michaela, and Abel Guy (2012) The global religious landscape. Washington, DC: Pew Research Center.

  • Hall Deborah L, Matz David C, and Wood Wendy. Why don’t we practice what we preach? a meta-analytic review of religious racism. Personality and social psychology review, 14(1):126–139, 2010.

    Article  Google Scholar 

  • Halman Loek and Draulans Veerle. How secular is europe? The British Journal of Sociology, 57(2):263–288, 2006.

    Article  Google Scholar 

  • Han Hui, Wang Wen-Yuan, and Mao Bing-Huan (2005) Borderline-smote: a new oversampling method in imbalanced data sets learning. In Advances in Intelligent Computing: International Conference on Intelligent Computing, ICIC 2005, Hefei, China, August 23-26, 2005, Proceedings, Part I 1, pages 878–887. Springer.

  • He Haibo, Bai Yang, Garcia Edwardo A, and Li Shutao (2008) Adasyn: Adaptive synthetic sampling approach for imbalanced learning. In 2008 IEEE international joint conference on neural networks (IEEE world congress on computational intelligence), 1322–1328. IEEE.

  • Hekmatpour Peyman. Inequality and religiosity in a global context: Different secularization paths for developed and developing nations. International Journal of Sociology, 50(4):286–309, 2020.

    Article  Google Scholar 

  • Hout Michael and Fischer Claude S (2002) Why more americans have no religious preference: Politics and generations. American Sociological Review, pp. 165–190.

  • Iannaccone Laurence R. Why strict churches are strong. American Journal of sociology, 99(5):1180–1211, 1994.

    Article  Google Scholar 

  • Idler Ellen. Religion and aging in a context of secularization. Innovation in Aging, 4(Suppl 1):657, 2020.

    Article  Google Scholar 

  • Inglehart Ronald, Haerpfer Christian W, Moreno Alejandro, Welzel Christian, Kizilova Kseniya, Diez-Medrano Jaime, Lagos Marta, Norris Pipa, Ponarin Eduard, Puranen Bi, et al. (2018) World values survey: all rounds, country-pooled datafile version: v2015-04-18.

  • Inglehart Ronald (2000) Culture and democracy. Culture matters: How values shape human progress, pp. 80–97.

  • Inglehart Ronald, Haerpfer Christian, Moreno Alejandro, Welzel Christian, Kizilova Kseniya, Diez-Medrano Jaime, Lagos Marta, Norris Pippa, Ponarin Eduard, Puranen Bi, et al. (2014) World values survey: Round six-country-pooled datafile version. Madrid: JD Systems Institute, 12.

  • Lane Justin E. Can we predict religious extremism? Religion, Brain & Behavior, 7(4):299–304, 2017.

    Article  Google Scholar 

  • Layman Geoffrey (2001) The great divide: Religious and cultural conflict in American party politics. Columbia University Press.

  • Levin Jeff. Religion and positive well-being among israeli and diaspora jews: Findings from the world values survey. Mental Health, Religion & Culture, 15(7):709–720, 2012.

    Article  Google Scholar 

  • Maliepaard Mieke, Gijsberts M´erove, and Lubbers Marcel. Reaching the limits of secularization? turkish-and moroccan-dutch muslims in the netherlands 1998–2006. Journal for the Scientific Study of Religion, 51(2):359–367, 2012.

    Article  Google Scholar 

  • McLeod Jane D. and Nonnemaker James M (1999) Social Stratification and Inequality, p. 321–344. Springer US, Boston, MA.

  • Miller Tracy (2008) Us religious landscape survey religious beliefs and practices: Diverse and politically relevant. Technical report.

  • Mitchell Tom M (1997) Does machine learning really work? AI magazine, 18(3):11–11.

  • Norris Pippa and Ronald Inglehar Ronald. Sellers or buyers in religious markets? the supply and demand of religion (1). The Hedgehog Review, 8(1-2):69–93, 2006.

    Google Scholar 

  • Norris Pippa and Inglehart Ronald (2004) Cultural barriers to women’s leadership: A worldwide comparison. Citeseer.

  • Norris Pippa and Inglehart Ronald (2011) Sacred and secular: Religion and politics worldwide. Cambridge University Press.

  • Okulicz-Kozaryn Adam. Religiosity and life satisfaction across nations. Mental Health, Religion & Culture, 13(2):155–169, 2010.

    Article  Google Scholar 

  • Paris Roland. Human security: paradigm shift or hot air? International security, 26(2):87–102, 2001.

    Article  Google Scholar 

  • Pollack Detlef (2016) Religious pluralism: Undermining or reinforcing religiosity? Society, 53(2):131–136

  • Ruiter Stijn and Van Tubergen Frank. Religious attendance in cross-national perspective: A multilevel analysis of 60 countries. American Journal of Sociology, 115(3):863–95, 2009.

    Article  Google Scholar 

  • Schnabel Landon and Sean Bock. The persistent and exceptional intensity of american religion: A response to recent research. Sociological Science, 4:686–700, 2017.

    Article  Google Scholar 

  • Smith Tom W, Marsden Peter, Hout Michael, and Kim Jibum (1972) General social surveys. Sponsored by National Science Foundation. Chicago: NORC at the University of Chicago.

  • Smith Tom W, Hout Michael, Marsden Peter V (2017) General social surveys, 1972-2016.

  • Stark Oded (1999) Altruism and beyond: An economic analysis of transfers and exchanges within families and groups. Cambridge University Press.

  • Stark Rodney. Secularization, rip. Sociology of religion, 60(3):249–273, 1999.

    Article  Google Scholar 

  • Vasquez Manuel A and Marquardt Marie F (2003) Globalizing the sacred: Religion across the Americas. Rutgers University Press.

  • Vasquez Manuel A (2020) More than belief: A materialist theory of religion. Oxford University Press.

  • Voas David and Chaves Mark. Is the united states a counterexample to the secularization thesis? American Journal of Sociology, 121(5):1517–1556, 2016.

    Article  Google Scholar 

  • Wald Kenneth D and Calhoun-Brown Allison (2014) Religion and politics in the United States. Rowman & Littlefield.

  • Wallace James E. Relationships between law and religion in American society. Review of Religious Research, 7(2):63–70, 1966.

    Article  Google Scholar 

  • Warner et al. Michael (1993) Fear of a queer planet: Queer politics and social theory, volume 6. U of Minnesota Press.

  • Welzel Christian (2013) Freedom rising. Cambridge University Press.

  • Wilkins-Laflamme Sarah. Secularization and the wider gap in values and personal religiosity between the religious and nonreligious. Journal for the Scientific Study of Religion, 55(4):717–736, 2016.

    Article  Google Scholar 

  • Zhang Tony Huiquan (2020) Political freedom, education, and value liberalization and deliberalization: A cross-national analysis of the world values survey, 1981-2014. The Social Science Journal, pp 1–18.

  • Zhichen Gong and Chen Huanhuan (2016) Model-based oversampling for imbalanced sequence classification. In Proceedings of the 25th ACM International on Conference on Information and Knowledge Management, pages 1009–1018.

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Elaheh Jafarigol.

Ethics declarations

Conflict of Interest

The authors declare no competing interests.

Ethical approval

Not applicable.

Informed Consent

Not applicable.

Additional information

Publisher's note

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

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Jafarigol, E., Keely, W., Hortag, T. et al. Religious Affiliation in the Twenty-First Century: A Machine Learning Perspective on the World Value Survey. Soc 60, 733–749 (2023). https://doi.org/10.1007/s12115-023-00887-0

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s12115-023-00887-0

Keywords

Navigation