The accompanying data file contains 10 observations with three variables, x 1 , x 2 , and
Question:
The accompanying data file contains 10 observations with three variables, x1, x2, and x3.
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 the three variables. 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 the three variables. Use the minmax 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