Application Exercise

  1. Open Rstudio Server Pro
  2. Create a new project
  3. Click File > New File > R Markdown
  4. Delete everything except for
---
title: "Untitled"
output: html_document
---
  1. Give your work a sensible title
  2. When you’ve finished, upload the .html file to Canvas
y x
1 0
5 4
2 2
2 1
11 10

Using the data above calculate:

\[\hat{\textrm{var}}(y_{i} - \hat{y}_{(i)}) = \hat{\sigma}^2_{(i)}(1+x_i^T(\mathbf{X}_{(i)}^T\mathbf{X}_{(i)})^{-1}x_i)\]