Skip to main content
Log in

Predicting How Well Adolescents Get Along with Peers and Teachers: A Machine Learning Approach

  • Empirical Research
  • Published:
Journal of Youth and Adolescence Aims and scope Submit manuscript

Abstract

How well adolescents get along with others such as peers and teachers is an important aspect of adolescent development. Current research on adolescent relationship with peers and teachers is limited by classical methods that lack explicit test of predictive performance and cannot efficiently discover complex associations with potential non-linearity and higher-order interactions among a large set of predictors. Here, a transparently reported machine learning approach is utilized to overcome these limitations in concurrently predicting how well adolescents perceive themselves to get along with peers and teachers. The predictors were 99 items from four instruments examining internalizing and externalizing psychopathology, sensation-seeking, peer pressure, and parent-child conflict. The sample consisted of 3232 adolescents (M = 14.0 years, SD = 1.0 year, 49% female). Nonlinear machine learning classifiers predicted with high performance adolescent relationship with peers and teachers unlike classical methods. Using model explainability analyses at the item level, results identified influential predictors related to somatic complaints and attention problems that interacted in nonlinear ways with internalizing behaviors. In many cases, these intrapersonal predictors outcompeted in predictive power many interpersonal predictors. Overall, the results suggest the need to cast a much wider net of variables for understanding and predicting adolescent relationships, and highlight the power of a data-driven machine learning approach with implications on a predictive science of adolescence research.

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.

Institutional subscriptions

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5

Similar content being viewed by others

References

  • Achenbach, T. M., & Rescorla, L. A. (2001). Manual for the ASEBA school-age forms and profiles. University of Vermont, Research Center for Children, Youth & Families.

  • Allen, J. P., Porter, M. R., & McFarland, F. C. (2006). Leaders and followers in adolescent close friendships: Susceptibility to peer influence as a predictor of risky behavior, friendship instability, and depression. Development and Psychopathology, 18(1), 155–172.

    Article  PubMed  PubMed Central  Google Scholar 

  • Andrews, N. C., Hanish, L. D., Updegraff, K. A., Martin, C. L., & Santos, C. E. (2016). Targeted victimization: Exploring linear and curvilinear associations between social network prestige and victimization. Journal of Youth and Adolescence, 45(9), 1772–1785.

    Article  PubMed  Google Scholar 

  • Ang, R. P., Li, X., Huan, V. S., Liem, G. A. D., Kang, T., Wong, Q., & Yeo, J. Y. (2020). Profiles of antisocial behavior in school-based and at-risk adolescents in Singapore: A latent class analysis. Child Psychiatry and Human Development, 51(4), 585–596.

    Article  PubMed  Google Scholar 

  • Ansari, A., Hofkens, T. L., & Pianta, R. C. (2020). Teacher-student relationships across the first seven years of education and adolescent outcomes. Journal of Applied Developmental Psychology, 71, 101200.

    Article  Google Scholar 

  • Arnett, J. J. (1996). Sensation seeking, aggressiveness, and adolescent reckless behavior. Personality and Individual Differences, 20(6), 693–702.

    Article  Google Scholar 

  • Attar-Schwartz, S., Mishna, F., & Khoury-Kassabri, M. (2019). The role of classmates’ social support, peer victimization and gender in externalizing and internalizing behaviors among Canadian youth. Journal of Child and Family Studies, 28(9), 2335–2346.

    Article  Google Scholar 

  • Bae, S. M., Lee, S. A., & Lee, S.-H. (2015). Prediction by data mining, of suicide attempts in Korean adolescents: a national study. Neuropsychiatric Disease and Treatment, 11, 2367–2375.

    Article  PubMed  PubMed Central  Google Scholar 

  • Bosacki, S., Dane, A., Marini, Z., & YLC‐CURA. (2007). Peer relationships and internalizing problems in adolescents: Mediating role of self‐esteem. Emotional and Behavioural Difficulties, 12(4), 261–282.

  • Branje, S. (2018). Development of parent–adolescent relationships: Conflict interactions as a mechanism of change. Child Development Perspectives, 12(3), 171–176.

    Article  Google Scholar 

  • Brechwald, W. A., & Prinstein, M. J. (2011). Beyond homophily: A decade of advances in understanding peer influence processes. Journal of Research on Adolescence, 21(1), 166–179.

    Article  PubMed  PubMed Central  Google Scholar 

  • Brown, B. B. (2004). Adolescents’ relationships with peers. In R. M. Lerner, & L. Steinberg (Eds.), Handbook of adolescent psychology (pp. 363–394). John Wiley & Sons Inc.

  • Browne, M. W. (2000). Cross-validation methods. Journal of Mathematical Psychology, 44(1), 108–132.

    Article  PubMed  Google Scholar 

  • Chawla, N. V., Bowyer, K. W., Hall, L. O., & Kegelmeyer, W. P. (2002). SMOTE: Synthetic minority over-sampling technique. Journal of Artificial Intelligence Research, 16, 321–357.

    Article  Google Scholar 

  • Chen, X., Li, F., Nydegger, L., Gong, J., Ren, Y., Dinaj-Koci, V., Sun, H., & Stanton, B. (2013). Brief sensation seeking scale for chinese–cultural adaptation and psychometric assessment. Personality and Individual Differences, 54(5), 604–609.

    Article  PubMed  PubMed Central  Google Scholar 

  • Christodoulou, E., Ma, J., Collins, G. S., Steyerberg, E. W., Verbakel, J. Y., & Van Calster, B. (2019). A systematic review shows no performance benefit of machine learning over logistic regression for clinical prediction models. Journal of Clinical Epidemiology, 110, 12–22.

    Article  PubMed  Google Scholar 

  • Chung, G. H., Flook, L., & Fuligni, A. J. (2011). Reciprocal associations between family and peer conflict in adolescents’ daily lives. Child Development, 82(5), 1390–1396.

    Article  PubMed  PubMed Central  Google Scholar 

  • Clasen, D. R., & Brown, B. B. (1985). The multidimensionality of peer pressure in adolescence. Journal of Youth and Adolescence, 14(6), 451–468.

    Article  PubMed  Google Scholar 

  • Collins, G. S., Dhiman, P., Navarro, C. L. A., Ma, J., Hooft, L., Reitsma, J. B., Logullo, P., Beam, A. L., Peng, L., & Van Calster, B. (2021). Protocol for development of a reporting guideline (TRIPOD-AI) and risk of bias tool (PROBAST-AI) for diagnostic and prognostic prediction model studies based on artificial intelligence. BMJ Open, 11(7), e048008.

    Article  PubMed  PubMed Central  Google Scholar 

  • Cunningham, P., & Delany, S. J. (2021). k-Nearest neighbour classifiers—A tutorial. ACM Computing Surveys (CSUR), 54(6), 1–25.

    Article  Google Scholar 

  • De Bolle, M., & Tackett, J. L. (2013). Anchoring bullying and victimization in children within a five–factor model–based person–centred framework. European Journal of Personality, 27(3), 280–289.

    Article  Google Scholar 

  • De Goede, I. H., Branje, S. J., & Meeus, W. H. (2009). Developmental changes in adolescents’ perceptions of relationships with their parents. Journal of Youth and Adolescence, 38(1), 75–88.

    Article  PubMed  Google Scholar 

  • Dwyer, D. B., Falkai, P., & Koutsouleris, N. (2018). Machine learning approaches for clinical psychology and psychiatry. Annual Review of Clinical Psychology, 14, 91–118.

    Article  PubMed  Google Scholar 

  • Elkins, I. J., McGue, M., & Iacono, W. G. (1997). Genetic and environmental influences on parent–son relationships: Evidence for increasing genetic influence during adolescence. Developmental Psychology, 33(2), 351–363.

    Article  PubMed  Google Scholar 

  • Engel, M. L., Winiarski, D. A., Reidy, B. L., & Brennan, P. A. (2018). Early life somatic complaints: Longitudinal associations with maternal and child psychopathology. Journal of Developmental and Behavioral Pediatrics, 39(7), 573–579.

    Article  PubMed  PubMed Central  Google Scholar 

  • Ferguson, S. M., & Ryan, A. M. (2019). It’s lonely at the top: Adolescent students’ peer-perceived popularity and self-perceived social contentment. Journal of Youth and Adolescence, 48(2), 341–358.

    Article  PubMed  Google Scholar 

  • Friedman, J. H. (2001). Greedy function approximation: A gradient boosting machine. Annals of Statistics, 29, 1189–1232.

  • Gao, L., Liu, J., Hua, S., Yang, J., & Wang, X. (2022). Teacher-student relationship and adolescents’ bullying perpetration: A moderated mediation model of deviant peer affiliation and peer pressure. Journal of Social and Personal Relationships. https://doi.org/10.1177/02654075221074393.

  • Giletta, M., Choukas-Bradley, S., Maes, M., Linthicum, K. P., Card, N. A., & Prinstein, M. J. (2021). A meta-analysis of longitudinal peer influence effects in childhood and adolescence. Psychological Bulletin, 147(7), 719–747.

    Article  PubMed  Google Scholar 

  • Gorrese, A. (2016). Peer attachment and youth internalizing problems: A meta-analysis. Child & Youth Care Forum, 45(2), 177–204.

    Article  Google Scholar 

  • Hofman, J. M., Watts, D. J., Athey, S., Garip, F., Griffiths, T. L., Kleinberg, J., Margetts, H., Mullainathan, S., Salganik, M. J., & Vazire, S. (2021). Integrating explanation and prediction in computational social science. Nature, 595(7866), 181–188.

    Article  PubMed  Google Scholar 

  • Jacobucci, R., & Grimm, K. J. (2020). Machine learning and psychological research: The unexplored effect of measurement. Perspectives on Psychological Science, 15(3), 809–816.

    Article  PubMed  Google Scholar 

  • Jellesma, F. C., Rieffe, C., & Terwogt, M. M. (2008). My peers, my friend, and I: Peer interactions and somatic complaints in boys and girls. Social Science and Medicine, 66(11), 2195–2205.

    Article  PubMed  Google Scholar 

  • Kaufman, T. M., Kretschmer, T., Huitsing, G., & Veenstra, R. (2020). Caught in a vicious cycle? Explaining bidirectional spillover between parent-child relationships and peer victimization. Development and Psychopathology, 32(1), 11–20.

    Article  PubMed  Google Scholar 

  • Kim, J. H., Tsai, W., Kodish, T., Trung, L. T., Lau, A. S., & Weiss, B. (2019). Cultural variation in temporal associations among somatic complaints, anxiety, and depressive symptoms in adolescence. Journal of Psychosomatic Research, 124, 109763.

    Article  PubMed  PubMed Central  Google Scholar 

  • Laursen, B., Coy, K. C., & Collins, W. A. (2017). Reconsidering changes in parent-child conflict across adolescence: A meta-analysis. Child Development, 69(3), 817–832.

    Article  Google Scholar 

  • Miller, P. J., Lubke, G. H., McArtor, D. B., & Bergeman, C. (2016). Finding structure in data using multivariate tree boosting. Psychological Methods, 21(4), 583.

    Article  PubMed  PubMed Central  Google Scholar 

  • Mõttus, R., & Rozgonjuk, D. (2021). Development is in the details: Age differences in the Big Five domains, facets, and nuances. Journal of Personality and Social Psychology, 120(4), 1035–1048.

    Article  PubMed  Google Scholar 

  • Murray, A. L., Obsuth, I., Speyer, L., Murray, G., McKenzie, K., Eisner, M., & Ribeaud, D. (2021). Developmental cascades from aggression to internalizing problems via peer and teacher relationships from early to middle adolescence. Journal of Youth and Adolescence, 50(4), 663–673.

    Article  PubMed  PubMed Central  Google Scholar 

  • Nair, J., Nair, S. S., Kashani, J. H., Reid, J. C., & Rao, V. G. (2001). A neural network approach to identifying adolescent adjustment. Adolescence, 36(141), 153–153.

    PubMed  Google Scholar 

  • Pakarinen, E., Silinskas, G., Hamre, B. K., Metsäpelto, R.-L., Lerkkanen, M.-K., Poikkeus, A.-M., & Nurmi, J.-E. (2018). Cross-lagged associations between problem behaviors and teacher-student relationships in early adolescence. Journal of Early Adolescence, 38(8), 1100–1141.

    Article  Google Scholar 

  • Ribeiro, M. T., Singh, S., & Guestrin, C. (2016). “Why should I trust you?” Explaining the predictions of any classifier. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 1135–1144.

  • Rivers, A. S., Russon, J., Winston-Lindeboom, P., Ruan-Iu, L., & Diamond, G. (2021). Family and peer relationships in a residential youth sample: Exploring unique, non-linear, and interactive associations with depressive symptoms and suicide risk. Journal of Youth and Adolescence, 1–12. https://link.springer.com/article/10.1007/s10964-021-01524-x#citeas.

  • Rocca, R., & Yarkoni, T. (2021). Putting psychology to the test: Rethinking model evaluation through benchmarking and prediction. Advances in Methods and Practices in Psychological Science. https://doi.org/10.31234/osf.io/e437b.

  • Roorda, D. L., & Koomen, H. M. (2021). Student–teacher relationships and students’ externalizing and internalizing behaviors: A cross‐lagged study in secondary education. Child Development, 92(1), 174–188.

    Article  PubMed  Google Scholar 

  • Senior, M., Fanshawe, T., Fazel, M., & Fazel, S. (2021). Prediction models for child and adolescent mental health: A systematic review of methodology and reporting in recent research. JCPP Advances, 1(3), e12034.

    Article  Google Scholar 

  • Shmueli, G. (2010). To explain or to predict? Statistical Science, 25(3), 289–310.

    Article  Google Scholar 

  • Theimann, M. (2016). School as a space of socialization and prevention. European Journal of Criminology, 13(1), 67–91.

    Article  Google Scholar 

  • Urban, C. J., & Gates, K. M. (2021). Deep learning: A primer for psychologists. Psychological Methods, 26, 743–773.

  • van Aken, M. A. G., & Asendorpf, J. B. (2018). Personality and peer relationships. In W. M. Bukowski, B. Laursen, & K. H. Rubin (Eds.), Handbook of peer interactions, relationships, and groups (2nd ed., pp. 159–176). Guildford Press.

  • Wang, Z., Yu, C., Zhang, W., Chen, Y., Zhu, J., & Liu, Q. (2017). School climate and adolescent aggression: A moderated mediation model involving deviant peer affiliation and sensation seeking. Personality and Individual Differences, 119, 301–306.

    Article  Google Scholar 

  • Wentzel, K. R. (2017). Peer relationships, motivation, and academic performance at school. In A. J. Elliot, C. S. Dweck, & D. S. Yeager (Eds.), Handbook of competence and motivation (pp. 586–603). The Guilford Press.

  • Wolpert, D. H. (1996). The lack of a priori distinctions between learning algorithms. Neural Computation, 8(7), 1341–1390.

    Article  Google Scholar 

  • Yarkoni, T., & Westfall, J. (2017). Choosing prediction over explanation in psychology: Lessons from machine learning. Perspectives on Psychological Science, 12(6), 1100–1122.

    Article  PubMed  PubMed Central  Google Scholar 

  • Yu, T., & Zhu, H. (2020). Hyper-parameter optimization: A review of algorithms and applications. Preprint retrieved from https://doi.org/10.48550/arXiv.2003.05689.

  • Zuckerman, M. (1994). Behavioral expressions and biosocial bases of sensation seeking. Cambridge University Press.

Download references

Funding

This study was partially funded by Singapore Ministry of Education (MOE) under the Education Research Funding Programme (PG 05/21 FA) and administered by National Institute of Education, Nanyang Technological University, Singapore. Any opinions, findings, conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the Singapore MOE and NIE.

Data Sharing and Declaration

Processed data, analysis code and machine learning models are available in National Institute of Education Data Repository, https://doi.org/10.25340/R4/SA2FV8.

Author information

Authors and Affiliations

Authors

Contributions

F.A. conceived of the study, implemented analyses, and wrote the manuscript; R.P.A. conceived of the study, collected the original data, provided input to analyses, and wrote the manuscript. All authors read and approved the final manuscript.

Corresponding author

Correspondence to Farhan Ali.

Ethics declarations

Conflict of Interest

The authors declare no competing interests.

Ethical Approval

All study procedures received approval from Nanyang Technological University IRB prior to data collection and analyses.

Informed Consent

Written informed consent was obtained from each participant and their parents for data collection.

Additional information

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

Supplementary Information

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Ali, F., Ang, R.P. Predicting How Well Adolescents Get Along with Peers and Teachers: A Machine Learning Approach. J Youth Adolescence 51, 1241–1256 (2022). https://doi.org/10.1007/s10964-022-01605-5

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10964-022-01605-5

Keywords

Navigation