Consider the following portion of data that lists the starting salaries (in $1,000) of newly hired employees
Question:
Consider the following portion of data that lists the starting salaries (in $1,000) of newly hired employees and their college GPAs:
a. Without transforming the values, compute the Euclidean distance for all possible pairs of the first three employees. Make sure to exclude the employee numbers in the calculations.
b. Compute the z-score standardized values for salary and GPA, and then compute the Euclidean distance for all possible pairs of the first three employees. Discuss the impact that standardization has on the similarity distance.
c. Using the z-score standardized values, compute the Manhattan distance for all possible pairs of the first three employees. Discuss the differences between the Euclidean and Manhattan distances.
Step by Step Answer:
Business Analytics Communicating With Numbers
ISBN: 9781260785005
1st Edition
Authors: Sanjiv Jaggia, Alison Kelly, Kevin Lertwachara, Leida Chen