Suppose you’re choosing a university to attend, and you’d like to quantify how dissimilar any two universities are. You rate

Suppose you’re choosing a university to attend, and you’d like to quantify how dissimilar any two universities are. You rate each university you’re considering on several numerical traits. You decide on a very detailed list of 1000 traits, and you measure all of them! Some examples: The cost to attend (per year) The average Yelp review of nearby Thai restaurants The USA Today ranking of the Medical school The USA Today ranking of the Engineering school You decide that the dissimilarity between two universities is the total of the differences in their traits. That is, the dissimilarity is: the sum of the absolute values of the 1000 differences in their trait values. In the next cell, we’ve loaded arrays containing the 1000 trait values for Stanford and Berkeley.

Required:
Compute the dissimilarity (according to the above method) between Stanford and Berkeley. Call your answer dissimilarity.


Leave a Reply

Your email address will not be published. Required fields are marked *