Finite Math and Applied Calculus (6th Edition)

Published by Brooks Cole
ISBN 10: 1133607705
ISBN 13: 978-1-13360-770-0

Chapter 1 - Section 1.4 - Linear Regression - Exercises - Page 102: 2

Answer

$2$

Work Step by Step

Residuals and Sum-of-Squares Error (SSE) If we model a collection of data $(x_{1}, y_{1})$ , . , $(x_{n}, y_{n})$ with a linear equation $\hat{y}=mx+b$, then the residuals are the $n$ quantities (Observed Value-Predicted Value): $(y_{1}-\hat{y}_{1}), (y_{2}-\hat{y}_{2}), \ldots, (y_{n}-\hat{y}_{n})$ . The sum-of-squares error (SSE) is the sum of the squares of the residuals: SSE $=(y_{1}-\hat{y}_{1})^{2}+(y_{2}-\hat{y}_{2})^{2}+\cdots+(y_{n}-\hat{y}_{n})^{2}.$ ---- Build a table, column by column \begin{array}{c|c|c|c|c|cc} & x & y & y'=x+1 & (y-y') & (y-y') ^ 2 \\ \hline & 0 & 1 & 1 & 0 & 0 \\ & 1 & 1 & 2 & -1 & 1 \\ & 2 & 2 & 3 & -1 & 1 \\ \hline & & & & {\bf SSE}= & {\bf 2} \\\hline \end{array}
Update this answer!

You can help us out by revising, improving and updating this answer.

Update this answer

After you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.