The accompanying data file contains 28 observations with three variables, x 1 , x 2 , and
Question:
The accompanying data file contains 28 observations with three variables, x1, x2, and x3.
a. Using the original values, compute the Euclidean distance for all possible pairs of the first three observations.
b. 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 for all possible pairs of the first three observations. Compare the results with part a.
c. Using the original values, and then the z-score standardized values, compute the Manhattan distance for all possible pairs of the first three observations.
Step by Step Answer:
Business Analytics Communicating With Numbers
ISBN: 9781260785005
1st Edition
Authors: Sanjiv Jaggia, Alison Kelly, Kevin Lertwachara, Leida Chen