2024-03-07
What is MDS and why do we use it?
Demonstration
Comparison with PCA
A tool to convert a distance or dissimilarity matrix into a set of points in a plane
Can be based on distances (using one of many metrics) or ranks of dissimilarities, when it is called non-metric MDS (NMDS)
NMDS suitable if you can rank objects as being closer or farther away, but the scale of the quantification is skewed or not important
Use latitude and longitude of cities to compute distance between each pair
Use MDS on distance matrix to reconstruct relative positions
Use latitude and longitude of cities to compute distance between each pair
Use MDS on distance matrix to reconstruct relative positions
When you can compute the similarity of pairs of objects (or distance between pairs).
How similar are the species in two communities?
How similar are two countries based on economic development?
Columns are objects (sample locations, countries)
Be sure the observations (rows) are all measured in the same units
Both make plots of points on abstract axes
Otherwise, completely different methods!
PCA is a rotation and projection of data to select linear combinations of original variables that highlight variation
MDS converts pairwise distance or dissimilarity matrix into relative positions