---
title: "Untitled"
output: html_document
---
Give your work a sensible title
After adding your derivation to the file (remember you can incorporate \(\LaTeX\) by wrapping in $$
), knit it.
When you’ve finished, upload the .html file to Canvas
Distribute (FOIL / get rid of the parentheses) the RSS equation
\[RSS = (\mathbf{y} - \mathbf{X}\hat\beta)^T(\mathbf{y}-\mathbf{X}\hat\beta)\]
Solve \(\frac{\partial RSS}{\partial\hat\beta} =\)
Solve for \(\hat\beta\)
\[-2\mathbf{X}^T\mathbf{y}+2\mathbf{X}^T\mathbf{X}\hat\beta = 0\]