TOPICS
Search

Multidimensional Scaling


Multidimensional scaling (MDS) is a family of methods that represents objects as points in a low-dimensional space so that distances between the points approximate given pairwise dissimilarities. Given dissimilarities delta_(ij), MDS seeks points y_1, ..., y_n in R^p whose fitted distances

 d_(ij)(Y)=||y_i-y_j||,
(1)

reproduce the structure of the delta_(ij) as closely as possible (Borg and Groenen 2005).

Classical multidimensional scaling, also called principal coordinates analysis or Torgerson scaling, starts with the matrix Delta^((2))=(delta_(ij)^2) and the centering matrix

 J=I-1/n11^(T).
(2)

Double centering gives

 B=-1/2JDelta^((2))J.
(3)

If the dissimilarities are Euclidean distances, B is a positive semidefinite matrix and is the gram matrix of a centered realization. If B=VLambdaV^(T) is an eigendecomposition, the coordinates in p dimensions are obtained from the p largest positive eigenvalues and their eigenvectors as

 Y_p=V_pLambda_p^(1/2).
(4)

The rank of B is the smallest dimension of an exact Euclidean realization. When an exact realization in R^p is impossible, truncating the eigendecomposition gives a best rank-p positive semidefinite approximation to B in the Frobenius norm. For Euclidean input data, classical MDS and principal component analysis give equivalent centered configurations up to an isometry (Young and Householder 1938, Torgerson 1952).

Metric MDS more generally finds coordinates by minimizing a stress function such as

 sigma(Y)=sum_(i<j)w_(ij)(delta_(ij)-d_(ij)(Y))^2,
(5)

where the w_(ij) are nonnegative weights. Nonmetric MDS replaces the dissimilarities by fitted values constrained to have the same rank order, thereby attempting to preserve ordinal rather than numerical distance information (Kruskal 1964a, 1964b).

MDS coordinates are not unique: translating, rotating, or reflecting a configuration preserves all of its pairwise distances. The quality and interpretation of a representation therefore depend on the target dimension and the chosen loss function, not on the orientation of its coordinate axes.

Metric multidimensional scaling is available in the Wolfram Language using DimensionReduce[data, p, Method -> "MultidimensionalScaling"].


See also

Distance Matrix, Frobenius Norm, Gram Matrix, Isometry, Positive Semidefinite Matrix

Explore with Wolfram|Alpha

References

Borg, I. and Groenen, P. J. F. Modern Multidimensional Scaling: Theory and Applications, 2nd ed. New York: Springer-Verlag, 2005. https://doi.org/10.1007/0-387-28981-X.Kruskal, J. B. "Multidimensional Scaling by Optimizing Goodness of Fit to a Nonmetric Hypothesis." Psychometrika 29, 1-27, 1964a. https://doi.org/10.1007/BF02289565.Kruskal, J. B. "Nonmetric Multidimensional Scaling: A Numerical Method." Psychometrika 29, 115-129, 1964b. https://doi.org/10.1007/BF02289694.Torgerson, W. S. "Multidimensional Scaling: I. Theory and Method." Psychometrika 17, 401-419, 1952. https://doi.org/10.1007/BF02288916.Young, G. and Householder, A. S. "Discussion of a Set of Points in Terms of Their Mutual Distances." Psychometrika 3, 19-22, 1938. https://doi.org/10.1007/BF02287916.

Cite this as:

Weisstein, Eric W. "Multidimensional Scaling." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/MultidimensionalScaling.html

Subject classifications