We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
By rearranging the equations we can see that y ~-x. So that eliminates all the positive choices. Correlation is on the range [-1 1] so we can eliminate -4/3 and they are not perfectly correlated (because then the two equations would be equal). So by elimination the answer must be the one that is negative and >-1
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Day 8: Pearson Correlation Coefficient II
You are viewing a single comment's thread. Return to all comments →
By rearranging the equations we can see that
y ~-x
. So that eliminates all the positive choices. Correlation is on the range [-1 1] so we can eliminate -4/3 and they are not perfectly correlated (because then the two equations would be equal). So by elimination the answer must be the one that is negative and >-1