The Sashelp.Mileages
data set contains a table of flying mileages between 10 US cities. This data set is frequently used to illustrate cluster
analysis and multidimensional scaling. The following steps display information about the Sashelp.Mileages
data set and create Figure B.17:
title 'Flying Mileages between 10 US Cities Data'; proc contents data=sashelp.Mileages varnum; ods select position; run; title 'The Full Data Set'; proc print data=sashelp.Mileages noobs; id city; run;
Figure B.17: Flying Mileages between 10 US Cities Data
The Full Data Set |
City | Atlanta | Chicago | Denver | Houston | LosAngeles | Miami | NewYork | SanFrancisco | Seattle | WashingtonDC |
---|---|---|---|---|---|---|---|---|---|---|
Atlanta | 0 | . | . | . | . | . | . | . | . | . |
Chicago | 587 | 0 | . | . | . | . | . | . | . | . |
Denver | 1212 | 920 | 0 | . | . | . | . | . | . | . |
Houston | 701 | 940 | 879 | 0 | . | . | . | . | . | . |
Los Angeles | 1936 | 1745 | 831 | 1374 | 0 | . | . | . | . | . |
Miami | 604 | 1188 | 1726 | 968 | 2339 | 0 | . | . | . | . |
New York | 748 | 713 | 1631 | 1420 | 2451 | 1092 | 0 | . | . | . |
San Francisco | 2139 | 1858 | 949 | 1645 | 347 | 2594 | 2571 | 0 | . | . |
Seattle | 2182 | 1737 | 1021 | 1891 | 959 | 2734 | 2408 | 678 | 0 | . |
Washington D.C. | 543 | 597 | 1494 | 1220 | 2300 | 923 | 205 | 2442 | 2329 | 0 |