Application Exercise
Show that \(E[\hat\beta|\mathbf{X}] = \beta\). Start with the equation below.
\[E[\hat{\beta}|\mathbf{X}] = E[\mathbf{I}\beta +(\mathbf{X}^T\mathbf{X})^{-1}\mathbf{X}^T\epsilon|\mathbf{X}]\]
- Open Rstudio Server Pro
- Create a new project (call it something sensible, perhaps
03-appex-expectation
)
- Click File > New File > R Markdown
- Delete everything except for
---
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