Multidimensional scaling (MDS) is a visual representation of distances or dissimilarities between sets of objects. “Objects” can be colors, faces, map coordinates, political persuasion, or any kind of a categorical variable.
Two general methods exist for solving the MDS problem. The first is called Metric, or `Classical, Multidimensional Scaling (MMDS)` since it tries to reproduce the original metric or distances.
The proximity 𝛿𝑖𝑗 between observation vectors 𝒚𝑖 and 𝒚𝑗 is given by
𝛿𝑖𝑗 = [(𝒚𝑖 − 𝒚𝑗)′(𝒚𝑖 − 𝒚𝑗)]1/2
which indicates the distance between the vectors 𝒚𝑖 and 𝒚𝑗. If the observation vectors are available, we can calculate these distances. The process of reduction to a lower dimensional geometric representation is called metric multidimensional scaling (MMDS).
The second method, called `Non-Metric Multidimensional Scaling (NMMDS)`, assumes that only the ranks of the distances are known. Hence, the NMMDS method produces a graph which tries to reproduce these ranks. This method is also known as `ordinal MDS` and is suitable for qualitative data. If the original distances are only similarities based on judgment, the process is called non metric multidimensional scaling (NMMDS), and the final spatial representation preserves only the rank order among the similarities.
Part(a)
Description of the data
The data set shows the airline distances between Ten U.S. Cities.
MMDS_1 =cmdscale(Air_line_data_2, k =2)plot(MMDS_1[,1], MMDS_1[,2], type ="n", xlab ="", ylab ="", axes =FALSE,main ="cmdscale (stats)")text(MMDS_1[,1], MMDS_1[,2],labels(Air_line_data_2), cex =0.9, xpd =TRUE)
Resulted plot indicate that Washington and New York are closet cities. Secondly we can see that Los Angeles and San Francisco are close to each other. On the other hand Miami and Seattle are the farthest cities to each other. Also San Francisco is located far away from Miami, New York and Washington.
Part(b)
Description of the data
The data matrix used in this analysis represents the sum of the dissimilarities between the World War II politicians.
According to above plot we can see that “Franco” and “Mussolini” has got the more similarity compared to others. It is clear that “Hitler” and “Mussolini” has second highest similarity. Next we can find the there is a similarity between “De Gaulle” and “Churchill”. On the other hand “Mussolini” and “Attlee” has the highest amount of dissimilarity according to the above plot.