a. Using the original values, compute theEuclidean distance between the first two observations. (Roundintermediate calculations to at least 4 decimal places and yourfinal answer to 2 decimal places.)
Euclidean distance between observations 1 and 2___________
b. Using the original values, compute theManhattan distance between the first two observations. (Round yourfinal answer to 2 decimal places.)
Manhattan distance between observations 1 and 2___________
c. Use z-scores to standardize thevalues, and then compute the Euclidean distance between the firsttwo observations. (Round intermediate calculations to at least 4decimal places and your final answer to 2 decimal places.)
The z-score standardized euclidean distance betweenobservations 1 and 2 ___________
d. Use the min-max transformation to normalizethe values, and then compute the Euclidean distance between thefirst two observations. (Round intermediate calculations to atleast 4 decimal places and your final answer to 2 decimalplaces.)
The min-max standardized euclidean distance betweenobservations 1 and 2 ___________
The accompanying data file contains 10 observations with twovariables, x1 and x2.
x1 | x2 |
3.05 | 3.12 |
9.28 | 4.02 |
7.09 | 4.1 |
8.52 | 2.76 |
2.27 | 2.48 |
5.57 | 3.21 |
4.51 | 1.29 |
6.9 | 3.89 |
4.33 | 2.75 |
6.04 | 3.98 |