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
solve(t(X) %*% X) %*% t(X) %*% y

\[\mathbf{A} = \begin{bmatrix} 1 & 2 \\ 4 & 5 \end{bmatrix}\]

\[\mathbf{B} = \begin{bmatrix} 1 & 2 & 3 \\ 3 & 6 & 9 \\ 2 & 5 & 7\end{bmatrix}\] * Are these both invertible?

\[(\mathbf{y}-\mathbf{X}\beta)^T(\mathbf{y}-\mathbf{X}\beta)+\lambda\beta^T\beta\]