MathCastle
StatisticsSuperchallengeTwo Variables

Two Variables · Superchallenge problem

A least-squares line y^=a+bx\hat y = a + bx is fitted to (1,3)(1, 3), (2,7)(2, 7), (3,4)(3, 4), (4,9)(4, 9), (5,8)(5, 8), (6,12)(6, 12), giving residuals ei=yi−y^ie_i = y_i - \hat y_i. Without computing the line, find ∑iei y^i\displaystyle\sum_{i} e_i\,\hat y_i.