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.
It's very simple. They are giving two different regression equations just to ensure you pick the correct one. Since we are given a value of 'y' and are asked to estimate a value of 'x', we need to pick the equation for 'y regressed on x'. Then you just need to plug in your value for y and solve for x.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Correlation and Regression Lines - A Quick Recap #4
You are viewing a single comment's thread. Return to all comments →
It's very simple. They are giving two different regression equations just to ensure you pick the correct one. Since we are given a value of 'y' and are asked to estimate a value of 'x', we need to pick the equation for 'y regressed on x'. Then you just need to plug in your value for y and solve for x.