The accompanying data file contains 10 observations with two variables, x 1 and x 2 . a.
Question:
The accompanying data file contains 10 observations with two variables, x1 and x2.
a. Using the original values, compute the Euclidean distance between the first two observations.
b. Using the original values, compute the Manhattan distance between the first two observations.
c. Based on the entire data set, calculate the sample mean and standard deviation for x1 and x2. Use z-scores to standardize the values, and then compute the Euclidean distance between the first two observations.
d. Based on the entire data set, find the minimum and maximum values for x1 and x2. Use the min-max transformation to normalize the values, and then compute the Euclidean distance between the first two observations.
Step by Step Answer:
Business Analytics Communicating With Numbers
ISBN: 9781260785005
1st Edition
Authors: Sanjiv Jaggia, Alison Kelly, Kevin Lertwachara, Leida Chen