Reuse & Permissions

It is not necessary to obtain permission to reuse this article or its components as it is available under the terms of the Creative Commons Attribution 4.0 International license. This license permits unrestricted use, distribution, and reproduction in any medium, provided attribution to the author(s) and the published article's title, journal citation, and DOI are maintained. Please note that some figures may have been included with permission from other third parties. It is your responsibility to obtain the proper permission from the rights holder directly for these figures.

Export citation

Export citation

Choose format for download:

Download Citation
  • Open Access

Advancing clustering methods in physics education research: A case for mixture models

Minghui Wang1,*, Meagan Sundstrom2,*,†, Karen Nylund-Gibson3, and Marsha Ing4

  • *These authors contributed equally to this work.
  • †Contact author: sundstrommeagan@gmail.com

Phys. Rev. Phys. Educ. Res. 21, 020126 – Published 15 September, 2025

DOI: https://doi.org/10.1103/1fn4-nqvj

Abstract

Clustering methods are often used in physics education research (PER) to identify subgroups of individuals within a population who share similar response patterns or characteristics. Among these, k-means (or k-modes, for categorical data) is one of the most commonly used clustering methods in PER. This algorithm, however, is distance-based rather than model-based: it relies on algorithmic partitioning and assigns each individual to one subgroup through hard assignment. Researchers must also conduct post hoc analyses to relate subgroup membership to other variables. Mixture models are a model-based alternative that offers several statistical tools for choosing the optimal number of subgroups, accounts for classification errors by assigning individuals probabilities of belonging to each subgroup rather than hard assignment, and allows researchers to directly integrate subgroup membership into a broader latent variable framework. In this paper, we outline the theoretical similarities and differences between k-modes clustering and latent class analysis (one type of mixture model for categorical data). We also present parallel analyses using each method to address the same research questions in order to demonstrate these similarities and differences. We provide the data and r code to replicate the worked example presented in the paper for researchers interested in using mixture models.

View figure in article

Physics Subject Headings (PhySH)

Article Text

References (51)

  1. Rochelle Gutiérrez, Research commentary: A gap-gazing fetish in mathematics education? Problematizing research on the achievement gap, J. Res. Math. Educ. 39, 357 (2008).
  2. Shaun R. Harper and Andrew H. Nichols, Are they not all the same?: Racial heterogeneity among black male undergraduates, J. Coll. Student Dev. 49, 199 (2008).
  3. Jarrad W. T. Pond and Jacquelyn J. Chini, Exploring student learning profiles in algebra-based studio physics: A person-centered approach, Phys. Rev. Phys. Educ. Res. 13, 010119 (2017).
  4. Onofrio Rosario Battaglia, Benedetto Di Paola, and Claudio Fazio, Unsupervised quantitative methods to analyze student reasoning lines: Theoretical aspects and examples, Phys. Rev. Phys. Educ. Res. 15, 020112 (2019).
  5. Katherine N. Quinn, Michelle M. Kelley, Kathryn L. McGill, Emily M. Smith, Zachary Whipps, and N. G. Holmes, Group roles in unstructured labs show inequitable gender divide, Phys. Rev. Phys. Educ. Res. 16, 010129 (2020).
  6. Tong Wan, Constance M. Doty, Ashley A. Geraets, Christopher A. Nix, Erin K. H. Saitta, and Jacquelyn J. Chini, Evaluating the impact of a classroom simulator training on graduate teaching assistants’ instructional practices and undergraduate student learning, Phys. Rev. Phys. Educ. Res. 17, 010146 (2021).
  7. Meagan Sundstrom, David G. Wu, Cole Walsh, Ashley B. Heim, and N. G. Holmes, Examining the effects of lab instruction and gender composition on intergroup interaction networks in introductory physics labs, Phys. Rev. Phys. Educ. Res. 18, 010102 (2022).
  8. Gerd Kortemeyer and Wolfgang Bauer, Cheat sites and artificial intelligence usage in online introductory physics courses: What is the extent and what effect does it have on assessments?, Phys. Rev. Phys. Educ. Res. 20, 010145 (2024).
  9. Kelley Commeford, Eric Brewe, and Adrienne Traxler, Characterizing active learning environments in physics using latent profile analysis, Phys. Rev. Phys. Educ. Res. 18, 010113 (2022).
  10. Meagan Sundstrom, Justin Gambrell, Colin Green, Adrienne L. Traxler, and Eric Brewe, Relative benefits of different active learning methods to conceptual physics learning, arXiv:2505.04577.
  11. Minghui Wang, Meagan Sundstrom, Karen Nylund-Gibson, and Marsha Ing, Open science framework, https://osf.io/7y9gf/ (2025).
  12. James MacQueen, Some methods for classification and analysis of multivariate observations, in Proceedings of the Fifth Berkeley Symposium on Mathematical Statistics and Probability, Volume 1: Statistics (University of California Press, Berkeley, CA, 1967), Vol. 5, pp. 281–298.
  13. Fionn Murtagh and Pedro Contreras, Algorithms for hierarchical clustering: An overview, Wiley Interdiscip. Rev. 2, 86 (2012).
  14. Douglas A. Reynolds, Gaussian mixture models, in Encyclopedia of Biometrics (Springer, Boston, MA, 2009), Vol. 741, pp. 659–663.
  15. Erich Schubert, Jörg Sander, Martin Ester, Hans Peter Kriegel, and Xiaowei Xu, DBSCAN revisited, revisited: Why and how you should (still) use DBSCAN, ACM Trans. Database Syst. 42, 1 (2017).
  16. Junyuan Xie, Ross Girshick, and Ali Farhadi, Unsupervised deep embedding for clustering analysis, in Proceedings of the International Conference on Machine Learning (PMLR, New York, NY, 2016), pp. 478–487.
  17. Bengt O. Muthén, Latent variable mixture modeling, in New Developments and Techniques in Structural Equation Modeling (Psychology Press, New York, NY, 2001), pp. 21–54.
  18. Katherine E. Masyn, Latent class analysis and finite mixture modeling, in The Oxford Handbook of Quantitative Methods, edited by Todd D. Little (Oxford University Press, New York, 2013), Vol. 2, pp. 551–611.
  19. Gareth James, Daniela Witten, Trevor Hastie, Tibshirani Robert et al., An Introduction to Statistical Learning (Springer, New York, 2013), Vol. 112.
  20. Zhexue Huang, A fast clustering algorithm to cluster very large categorical data sets in data mining, Data Min. Knowl. Discovery 3, 34 (1997), http://www.diag.uniroma1.it/~sassano/STAGE/Fast_Clustering.pdf.
  21. Jeroen K. Vermunt and Jay Magidson, Latent class cluster analysis, Appl. Latent Class Anal. 11, 60 (2002).
  22. Karen Nylund-Gibson and Andrew Young Choi, Ten frequently asked questions about latent class analysis, Transl. Issues Psychol. Sci. 4, 440 (2018).
  23. Guojun Gan and Michael Kwok-Po Ng, k-means clustering with outlier removal, Pattern Recogn. Lett. 90, 8 (2017).
  24. Sanjay Chawla and Aristides Gionis, k-means–: A unified approach to clustering and outlier detection, in Proceedings of the 2013 SIAM International Conference on Data Mining (SIAM, Austin, TX, 2013), pp. 189–197.
  25. Karen Nylund-Gibson, Ryan Grimm, Matt Quirk, and Michael Furlong, A latent transition mixture model using the three-step specification, Struct. Equation Model. 21, 439 (2014).
  26. Richard W. Grant, Jodi McCloskey, Meghan Hatfield, Connie Uratsu, James D. Ralston, Elizabeth Bayliss, and Chris J. Kennedy, Use of latent class analysis and k-means clustering to identify complex patient profiles, JAMA Network Open 3, e2029068 (2020).
  27. Nikoloas Papachristou, Payam Barnaghi, Bruce A. Cooper, Xiao Hu, Roma Maguire, Kathi Apostolidis, Jo Armes, Yvette P. Conley, Marilyn Hammer, Katsaragakis Stylianos et al., Congruence between latent class and k-modes analyses in the identification of oncology patients with distinct symptom experiences, J. Pain Symptom Manage. 55, 318 (2018).
  28. Jay Magidson and Jeroen Vermunt, Latent class models for clustering: A comparison with k-means, Can. J. Mark. Res. 20, 36 (2002), https://jeroenvermunt.nl/cjmr2002.pdf.
  29. Jacob Clark Blickenstaff, Women and science careers: Leaky pipeline or gender filter?, Gender Educ. 17, 369 (2005).
  30. Linda J. Sax, Kathleen J. Lehman, Ramón S. Barthelemy, and Gloria Lim, Women in physics: A comparison to science, technology, engineering, and math education over four decades, Phys. Rev. Phys. Educ. Res. 12, 020108 (2016).
  31. Anne Marie Porter and Rachel Ivie, Women in Physics and Astronomy (AIP Statistical Research Center, 2019), https://www.aip.org/statistics/women-in-physics-and-astronomy-2019.
  32. Maxwell Franklin, Eric Brewe, and Annette R. Ponnock, Examining reasons undergraduate women join physics, Phys. Rev. Phys. Educ. Res. 19, 010110 (2023).
  33. Justin A. Gutzwa, Ramón S. Barthelemy, Camila Amaral, Madison Swirtz, Adrienne Traxler, and Charles Henderson, How women and lesbian, gay, bisexual, transgender, and queer physics doctoral students navigate graduate education: The roles of professional environments and social networks, Phys. Rev. Phys. Educ. Res. 20, 020115 (2024).
  34. Chase Hatcher, Lily Donis, Adrienne Traxler, Madison Swirtz, Camila Manni, Justin Gutzwa, Charles Henderson, and Ramón Barthelemy, Egocentric mixed-methods SNA: Analyzing interviews with women and/or queer and LGBT+ Ph.D., arXiv:2504.10621.
  35. Maxwell Franklin and Eric Brewe, What correlates with persistence of women in physics?, Phys. Rev. Phys. Educ. Res. 21, 010115 (2025).
  36. Vincent Tinto, Dropout from higher education: A theoretical synthesis of recent research, Rev. Educ. Res. 45, 89 (1975).
  37. Paris Wicker, Dorian L. McCoy, Rachelle Winkle-Wagner, and Imani Barnes, A web of support: A critical narrative analysis of black women’s relationships in STEM disciplines, Rev. High. Educ. 47, 93 (2023).
  38. Ann Y. Kim and Gale M. Sinatra, Science identity development: An interactionist approach, Int. J. STEM Educ. 5, 1 (2018).
  39. Shweta Mishra, Social networks, social capital, social support and academic success in higher education: A systematic review with a special focus on “underrepresented” students, Educ. Res. Rev. 29, 100307 (2020).
  40. Zahra Hazari, Gerhard Sonnert, Philip M. Sadler, and Marie-Claire Shanahan, Connecting high school physics experiences, outcome expectations, physics identity, and physics career choice: A gender study, J. Res. Sci. Teach. 47, 978 (2010).
  41. Zahra Hazari, Deepa Chari, Geoff Potvin, and Eric Brewe, The context dependence of physics identity: Examining the role of performance/competence, recognition, interest, and sense of belonging for lower and upper female physics undergraduates, J. Res. Sci. Teach. 57, 1583 (2020).
  42. Adrienne Traxler and Jennifer Blue, Sex and gender as non-binary: What does this mean for physics teachers?, Phys. Teach. 58, 395 (2020).
  43. Peter J. Rousseeuw, Silhouettes: A graphical aid to the interpretation and validation of cluster analysis, J. Comput. Appl. Math. 20, 53 (1987).
  44. Michael N. Hallquist and Joshua F. Wiley, mplusautomation: An r package for facilitating large-scale latent variable analyses in mplus, Struct. Equation Model. 25, 621 (2018).
  45. John R. Hipp and Daniel J. Bauer, Local solutions in the estimation of growth mixture models, Psychol. Methods 11, 36 (2006).
  46. Daniel S. Nagin, Group-Based Modeling of Development (Harvard University Press, Cambridge, MA, 2005).
  47. Jeroen K. Vermunt, Latent class modeling with covariates: Two improved three-step approaches, Polit. Anal. 18, 450 (2010).
  48. Andrew Heckler, Rachel Henderson, Eric Kuo, Jayson Nissen, Tim Stelzer, and Bethany Wilcox, Editorial: Improving quantitative science in PRPER: Comments from the statistical modeling review committee, Phys. Rev. Phys. Educ. Res. 21, 020001 (2025).
  49. Daniel Spurk, Andreas Hirschi, Mo Wang, Domingo Valero, and Simone Kauffeld, Latent profile analysis: A review and “how to” guide of its application within vocational behavior research, J. Vocat. Behav. 120, 103445 (2020).
  50. Karen Nylund-Gibson, Adam C. Garber, Delwin B. Carter, Meiki Chan, Dina A. N. Arch, Odelia Simon, Kelly Whaling, Erica Tartt, and Smaranda I. Lawrie, Ten frequently asked questions about latent transition analysis, Psychol. Methods 28, 284 (2023).
  51. Gitta H. Lubke and Bengt Muthén, Investigating population heterogeneity with factor mixture models, Psychol. Methods 10, 21 (2005).

Outline

Information

Sign In to Your Journals Account

Filter

Filter

Article Lookup

Enter a citation