# Multidimensional scaling

**Multidimensional scaling** (**MDS**) is a means of visualizing the level of similarity of individual cases of a dataset. It refers to a set of related ordination techniques used in information visualization, in particular to display the information contained in a distance matrix. An MDS algorithm aims to place each object in *N*-dimensional space such that the between-object distances are preserved as well as possible. Each object is then assigned coordinates in each of the *N* dimensions. The number of dimensions of an MDS plot *N* can exceed 2 and is specified a priori. Choosing *N*=2 optimizes the object locations for a two-dimensional scatterplot.^{[1]}

## Types

MDS algorithms fall into a taxonomy, depending on the meaning of the input matrix:

- Classical multidimensional scaling
- Also known as Principal Coordinates Analysis, Torgerson Scaling or Torgerson–Gower scaling. Takes an input matrix giving dissimilarities between pairs of items and outputs a coordinate matrix whose configuration minimizes a loss function called
*strain*.^{[1]} - Metric multidimensional scaling
- A superset of classical MDS that generalizes the optimization procedure to a variety of loss functions and input matrices of known distances with weights and so on. A useful loss function in this context is called
*stress*, which is often minimized using a procedure called stress majorization. - Non-metric multidimensional scaling
- In contrast to metric MDS, non-metric MDS finds both a non-parametric monotonic relationship between the dissimilarities in the item-item matrix and the Euclidean distances between items, and the location of each item in the low-dimensional space. The relationship is typically found using isotonic regression.

- Louis Guttman's
**smallest space analysis**(SSA) is an example of a non-metric MDS procedure.

- Louis Guttman's

- Generalized multidimensional scaling
- An extension of metric multidimensional scaling, in which the target space is an arbitrary smooth non-Euclidean space. In cases where the dissimilarities are distances on a surface and the target space is another surface, GMDS allows finding the minimum-distortion embedding of one surface into another.
^{[2]}

## Details

The data to be analyzed is a collection of objects (colors, faces, stocks, . . .) on which a *distance function* is defined,

These distances are the entries of the *dissimilarity matrix*

The goal of MDS is, given , to find vectors such that

where is a vector norm. In classical MDS, this norm is the Euclidean distance, but, in a broader sense, it may be a metric or arbitrary distance function.^{[3]}

In other words, MDS attempts to find an embedding from the objects into such that distances are preserved. If the dimension is chosen to be 2 or 3, we may plot the vectors to obtain a visualization of the similarities between the objects. Note that the vectors are not unique: With the Euclidean distance, they may be arbitrarily translated, rotated, and reflected, since these transformations do not change the pairwise distances .

(Note: The symbol indicates the set of real numbers, and the notation refers to the Cartesian product of copies of , which is an -dimensional vector space over the field of the real numbers.)

There are various approaches to determining the vectors . Usually, MDS is formulated as an optimization problem, where is found as a minimizer of some cost function, for example,

A solution may then be found by numerical optimization techniques. For some particularly chosen cost functions, minimizers can be stated analytically in terms of matrix eigendecompositions.{{ safesubst:#invoke:Unsubst||date=__DATE__ |$B=
{{#invoke:Category handler|main}}{{#invoke:Category handler|main}}^{[citation needed]}
}}

## Procedure

There are several steps in conducting MDS research:

**Formulating the problem**– What variables do you want to compare? How many variables do you want to compare? More than 20 is often considered cumbersome. {{ safesubst:#invoke:Unsubst||date=__DATE__ |$B=

{{#invoke:Category handler|main}}{{#invoke:Category handler|main}}^{[citation needed]}
}} Fewer than 8 (4 pairs) will not give valid results. {{ safesubst:#invoke:Unsubst||date=__DATE__ |$B=
{{#invoke:Category handler|main}}{{#invoke:Category handler|main}}^{[citation needed]}
}} What purpose is the study to be used for?

**Obtaining input data**– Respondents are asked a series of questions. For each product pair, they are asked to rate similarity (usually on a 7 point Likert scale from very similar to very dissimilar). The first question could be for Coke/Pepsi for example, the next for Coke/Hires rootbeer, the next for Pepsi/Dr Pepper, the next for Dr Pepper/Hires rootbeer, etc. The number of questions is a function of the number of brands and can be calculated as where*Q*is the number of questions and*N*is the number of brands. This approach is referred to as the “Perception data : direct approach”. There are two other approaches. There is the “Perception data : derived approach” in which products are decomposed into attributes that are rated on a semantic differential scale. The other is the “Preference data approach” in which respondents are asked their preference rather than similarity.**Running the MDS statistical program**– Software for running the procedure is available in many software for statistics. Often there is a choice between Metric MDS (which deals with interval or ratio level data), and Nonmetric MDS (which deals with ordinal data).**Decide number of dimensions**– The researcher must decide on the number of dimensions they want the computer to create. The more dimensions, the better the statistical fit, but the more difficult it is to interpret the results.**Mapping the results and defining the dimensions**– The statistical program (or a related module) will map the results. The map will plot each product (usually in two-dimensional space). The proximity of products to each other indicate either how similar they are or how preferred they are, depending on which approach was used. How the dimensions of the embedding actually correspond to dimensions of system behavior, however, are not necessarily obvious. Here, a subjective judgment about the correspondence can be made (see perceptual mapping).**Test the results for reliability and validity**– Compute R-squared to determine what proportion of variance of the scaled data can be accounted for by the MDS procedure. An R-square of 0.6 is considered the minimum acceptable level. {{ safesubst:#invoke:Unsubst||date=__DATE__ |$B=

{{#invoke:Category handler|main}}{{#invoke:Category handler|main}}^{[citation needed]}
}} An R-square of 0.8 is considered good for metric scaling and .9 is considered good for non-metric scaling. Other possible tests are Kruskal’s Stress, split data tests, data stability tests (i.e., eliminating one brand), and test-retest reliability.

**Report the results comprehensively**– Along with the mapping, at least distance measure (e.g., Sorenson index, Jaccard index) and reliability (e.g., stress value) should be given. It is also very advisable to give the algorithm (e.g., Kruskal, Mather), which is often defined by the program used (sometimes replacing the algorithm report), if you have given a start configuration or had a random choice, the number of runs, the assessment of dimensionality, the Monte Carlo method results, the number of iterations, the assessment of stability, and the proportional variance of each axis (r-square).

## Applications

Applications include scientific visualisation and data mining in fields such as cognitive science, information science, psychophysics, psychometrics, marketing and ecology. New applications arise in the scope of autonomous wireless nodes that populate a space or an area. MDS may apply as a real time enhanced approach to monitoring and managing such populations.

Furthermore, MDS has been used extensively in geostatistics, for modeling the spatial variability of the patterns of an image (by representing them as points in a lower-dimensional space),^{[4]} and natural language processing, for modeling the semantic and affective relatedness of natural language concepts (by representing them as points in a 100-dimensional vector space).^{[5]}

### Marketing

In marketing, MDS is a statistical technique for taking the preferences and perceptions of respondents and representing them on a visual grid, called perceptual maps. By mapping multiple attributes and multiple brands at the same time, a greater understanding of the marketplace and of consumers' perceptions can be achieved, as compared with a basic two attribute perceptual map.^{[6]}

### Comparison and advantages

Potential customers are asked to compare pairs of products and make judgments about their similarity. Whereas other techniques (such as factor analysis, discriminant analysis, and conjoint analysis) obtain underlying dimensions from responses to product attributes identified by the researcher, MDS obtains the underlying dimensions from respondents’ judgments about the similarity of products. This is an important advantage. {{ safesubst:#invoke:Unsubst||date=__DATE__ |$B=
{{#invoke:Category handler|main}}{{#invoke:Category handler|main}}^{[citation needed]}
}} It does not depend on researchers’ judgments. It does not require a list of attributes to be shown to the respondents. The underlying dimensions come from respondents’ judgments about pairs of products. Because of these advantages, MDS is the most common technique used in perceptual mapping. {{ safesubst:#invoke:Unsubst||date=__DATE__ |$B=
{{#invoke:Category handler|main}}{{#invoke:Category handler|main}}^{[citation needed]}
}}

## Implementations

*cmdscale*in*R**NMS*in PC-ORD, Multivariate Analysis of Ecological Data- Orange, a free data mining software suite, module orngMDS
- ViSta has implementations of MDS by Forrest W. Young. Interactive graphics allow exploring the results of MDS in detail.
- usabiliTEST's Online Card Sorting software is utilizing MDS to plot the data collected from the participants of usability tests.

## See also

- Positioning (marketing)
- Perceptual mapping
- Product management
- Marketing
- Generalized multidimensional scaling (GMDS)
- Data clustering
- Factor analysis
- Discriminant analysis
- Nonlinear dimensionality reduction
- Distance geometry
- Cayley–Menger determinant
- Dimension reduction

## Bibliography

- ↑
^{1.0}^{1.1}{{#invoke:citation/CS1|citation |CitationClass=book }} - ↑ {{#invoke:Citation/CS1|citation |CitationClass=journal }}
- ↑ Kruskal, J. B., and Wish, M. (1978),
*Multidimensional Scaling*, Sage University Paper series on Quantitative Application in the Social Sciences, 07-011. Beverly Hills and London: Sage Publications. - ↑ Honarkhah, M and Caers, J, 2010,
*Stochastic Simulation of Patterns Using Distance-Based Pattern Modeling*, Mathematical Geosciences, 42: 487–517 - ↑ Cambria, E, Song, Y, Wang, H and Howard, N, 2013, 'Semantic multi-dimensional scaling for open-domain sentiment analysis", IEEE Intelligent Systems
- ↑ Fripp G, 2014, Understanding Perceptual Maps for Marketing

- {{#invoke:citation/CS1|citation

|CitationClass=book }}

- {{#invoke:citation/CS1|citation

|CitationClass=book }}

- {{#invoke:Citation/CS1|citation

|CitationClass=journal }}

- {{#invoke:citation/CS1|citation

|CitationClass=book }}

- {{#invoke:citation/CS1|citation

|CitationClass=book }} Template:Refend

## External links

- Making MDS Maps on Excel
- NewMDSX: Multidimensional Scaling Software
- MDS page
- MDS in C++ by Antonio Gulli
- The orngMDS module for MDS from Orange (software)