---
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
Show that \(\mathbf{e}^T\mathbf{e}=\mathbf{y}^T(\mathbf{I-H})\mathbf{y}\).
Calculate \(E[\mathbf{e}^T\mathbf{e}]=E[\mathbf{y}^T(\mathbf{I-H})\mathbf{y}]\).
Find the F-statistic for the model fit in Lab 02:
\[Salary = \beta_0 + \beta_1ATBat+\beta_2Hits +\epsilon\]
Use the code below to get started.