updating regression slides

This commit is contained in:
Morten Hjorth-Jensen
2020-09-15 06:39:02 +02:00
parent b94ed0b01b
commit 7dc0d0b982
+9
View File
@@ -1606,6 +1606,15 @@ Going back to our OLS equation we have
We will come back to this expression when we discuss Ridge regression.
$$ \tilde{y}^{OLS}={\bf X}\hat{\beta}^{OLS}=\sum_{j=1}^p {\bf u}_j{\bf u}_j^T{\bf y}$$ and for Ridge we have 
$$ \tilde{y}^{Ridge}={\bf X}\hat{\beta}^{Ridge}=\sum_{j=1}^p {\bf u}_j\frac{\sigma_j^2}{\sigma_j^2+\lambda}{\bf u}_j^T{\bf y}$$ . 
It is indeed the economy-sized SVD, note the summation runs up tp $$p$$ only and not $$n$$. 
Here we have that $${\bf X} = {\bf U}{\bf \Sigma}{\bf V}^T$$, with $$\Sigma$$ being an $$ n\times p$$ matrix and $${\bf V}$$ being a $$ p\times p$$ matrix. We also have assumed here that $$ n > p$$. 
!split
===== Ridge and LASSO Regression =====