Behavior Research Methods

, Volume 41, Issue 2, pp 507–514 | Cite as

TwoMP: A MATLAB graphical user interface for two-mode partitioning

  • Jan SchepersEmail author
  • Joeri Hofmans


Two-way two-mode data occur in almost every domain of scientific psychology. The information present in such data, however, may be hard to grasp because of the dimensions of one or both modes. Two-mode partitioning addresses this problem by breaking down both modes into a number of mutually exclusive and exhaustive subsets. Although such a technique may be very useful, up to now, software—and consequently, two-mode partitioning—has been available only to a handful of specialists in the field. In this article, we present a free, easy-to-use MATLAB graphical user interface (TwoMP) for two-mode partitioning models, specifically developed for nonspecialist users. A short formal introduction is given on the statistics of the method, and the basic use of TwoMP is demonstrated with an example.


Output File Model Selection Criterion Core Matrix Column Cluster Label File 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


  1. Baier, D., Gaul, W., & Schader, M. (1997). Two-mode overlapping clustering with applications to simultaneous benefit segmentation and market structuring. In R. Klar & O. Opitz (Eds.), Classification and knowledge organization (pp. 557–566). Berlin: Springer.Google Scholar
  2. Carroll, J. D., & Arabie, P. (1980). Multidimensional scaling. Annual Review of Psychology, 31, 607–649.CrossRefPubMedGoogle Scholar
  3. Castillo, W., & Trejos, J. (2002). Two-mode partitioning: Review of methods and application of tabu search. In K. Jajuga, A. Sokolowski, & H.-H. Bock (Eds.), Classification, clustering, and related topics: Recent advances and applications (pp. 43–51). Heidelberg: Springer.Google Scholar
  4. Ceulemans, E., & Kiers, H. A. L. (2006). Selecting among three-mode principal component models of different types and complexities: A numerical convex hull based method. British Journal of Mathematical & Statistical Psychology, 59, 133–150.CrossRefGoogle Scholar
  5. Ceulemans, E., & Van Mechelen, I. (2005). Hierarchical classes models for three-way three-mode binary data: Interrelations and model selection. Psychometrika, 70, 461–480.CrossRefGoogle Scholar
  6. Gaul, W., & Schader, M. (1996). A new algorithm for two-mode clustering. In H.-H. Bock & W. Polasek (Eds.), Classification and knowledge organization (pp. 15–23). Berlin: Springer.Google Scholar
  7. Hand, D. J., & Krzanowski, W. J. (2005). Optimising k-means clustering results with standard software packages. Computational Statistics & Data Analysis, 49, 969–973.CrossRefGoogle Scholar
  8. Hartiga, J. A. (1975). Clustering algorithms. New York: Wiley.Google Scholar
  9. Kiers, H. A. L. (2004). Clustering all three modes of three-mode data: Computational possibilities and problems. In J. Antoch (Ed.), COMPSTAT: Proceedings in Computational Statistics (pp. 303–313). Heidelberg: Springer.Google Scholar
  10. MacQueen, J. (1967). Some methods for classification and analysis of multivariate observations. In L. M. Le Cam & J. Neyman (Eds.), Proceedings of the Fifth Berkeley Symposium on Mathematical Statistics and Probability (Vol. 1, pp. 281–297). Berkeley: University of California Press.Google Scholar
  11. Rocci, R., & Vichi, M. (2008). Two-mode multi-partitioning. Computational Statistics & Data Analysis, 52, 1984–2003.CrossRefGoogle Scholar
  12. Schepers, J., Ceulemans, E., & Van Mechelen, I. (2008). Selecting among multi-mode partitioning models of different complexities: A comparison of four model selection criteria. Journal of Classification, 25, 67–85.CrossRefGoogle Scholar
  13. Schepers, J., Van Mechelen, I., & Ceulemans, E. (2006). Threemode partitioning. Computational Statistics & Data Analysis, 51, 1623–1642.CrossRefGoogle Scholar
  14. Selim, S. Z., & Ismail, M. A. (1984). K-means type algorithms: A generalized convergence theorem and characterization of local optimality. IEEE Transactions on Pattern Analysis & Machine Intelligence, 6, 81–87.CrossRefGoogle Scholar
  15. Steinley, D. (2003). Local optima in K-means clustering: What you don’t know may hurt you. Psychological Methods, 8, 294–304.CrossRefPubMedGoogle Scholar
  16. Timmerman, M. E., & Kiers, H. A. L. (2000). Three-mode principal components analysis: Choosing the numbers of components and sensitivity to local optima. British Journal of Mathematical & Statistical Psychology, 53, 1–16.CrossRefGoogle Scholar
  17. Van Mechelen, I., Bock, H.-H., & De Boeck, P. (2004). Two-mode clustering methods: A structured overview. Statistical Methods in Medical Research, 13, 363–394.CrossRefPubMedGoogle Scholar
  18. Van Mechelen, I., & Schepers, J. (2007). A unifying model involving a categorical and/or dimensional reduction for multimode data. Computational Statistics & Data Analysis, 52, 537–549.CrossRefGoogle Scholar
  19. van Rosmalen, J., Groenen, P. J., Trejos, J., & Castillo, W. (2005). Global optimization strategies for two-mode clustering (Rep. EI 2005-33). Rotterdam: Erasmus Universiteit Rotterdam, Econometric Institute.Google Scholar

Copyright information

© Psychonomic Society, Inc. 2009

Authors and Affiliations

  1. 1.Katholieke Universiteit LeuvenLeuvenBelgium
  2. 2.Psychology and NeurosciencesMaastricht UniversityMaastrichtThe Netherlands

Personalised recommendations