Chapter 5: Problem 58
Fitting a Line to Data In Exercises \(55-60\), find the least squares regression line \(y=a x+b\) for the points \(\left(x_{1}, y_{1}\right),\left(x_{2}, y_{2}\right), \ldots,\left(x_{n}, y_{n}\right)\) by solving the system for \(a\) and \(b\). (If you are unfamiliar with summation notation, look at the discussion in Section 7.1.) $$ \left\\{\begin{array}{c} n b+\left(\sum_{i=1}^{n} x_{i}\right) a=\sum_{i=1}^{n} y_{i} \\ \left(\sum_{i=1}^{n} x_{i}\right) b+\left(\sum_{i=1}^{n} x_{i}^{2}\right) a=\sum_{i=1}^{n} x_{i} y_{i} \end{array}\right. $$ $$ \left\\{\begin{array}{r} 6 b+15 a=23.6 \\ 15 b+55 a=48.8 \end{array}\right. $$
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.