Finding Line Equations
- Find the equation of the line that passes through the points (0,-2) and (3,7).
- Find the equation of the line that passes through the points (-2,4) and (3,-6).
Finding Line of Best Fit
- Graph the following points: (0,8), (1,5), (2,7), and (3,4), and draw and estimate the line of best fit.
- Given the line of best fit follows the equation, \(y=ax+b\), write an expression for the sum of square error, \(SSE\).
- Write the partial derivatives of \(SSE\) with respect to \(a\) and \(b\), and simplify.
- Set your two equations in part (c) equal to zero and solve for \(a\) and \(b\). Does this solution minimize or maximize \(SSE\)?
- Write the equation that for this line of best fit (called the least squares regression model)
Make up your own data
Choose 3 data point, and repeat the process in problem 2 to find the least squares regression linear equation.