added hint to exercise 5

This commit is contained in:
mhjensen
2018-09-05 16:46:51 +02:00
parent 5d287fa028
commit 1b59ce5a0c
7 changed files with 22 additions and 10 deletions
+5 -2
View File
@@ -171,12 +171,15 @@ Discuss these quantities as functions of the variable \( \lambda \) in the Ridge
<p>
Using the singular value decomposition, show that the variance of the direction vector
\( \hat{z}_i=\hat{X}\hat{v}_i \) is equal to (equation (3.49) of Hastie <em>et al.</em>)
\( \hat{z}_i=\hat{X}\hat{v}_i=\hat{u}_1d_1 \) is equal to (equation (3.49) of Hastie <em>et al.</em>)
$$
\mathrm{Var}(\hat{z}_i)=\frac{d_i^2}{N},
$$
where \( d_i \) are the singular values of the matrix \( \hat{X} \). Give an interpretation of these results, in particular in connection with the variance of the coefficients you obtained in the previous exercise.
where \( d_i \) are the singular values of the matrix \( \hat{X} \). In Hastie <em>et al</em>, the matrix elements of \( X \) are centered. The consequence is that the mean values of for example \( \hat{u}_i \) are zero.
<p>
Give an interpretation of these results, in particular in connection with the variance of the coefficients you obtained in the previous exercise.
<p>
<!-- navigation buttons at the bottom of the page -->
+5 -2
View File
@@ -136,12 +136,15 @@ Discuss these quantities as functions of the variable \( \lambda \) in the Ridge
<p>
Using the singular value decomposition, show that the variance of the direction vector
\( \hat{z}_i=\hat{X}\hat{v}_i \) is equal to (equation (3.49) of Hastie <em>et al.</em>)
\( \hat{z}_i=\hat{X}\hat{v}_i=\hat{u}_1d_1 \) is equal to (equation (3.49) of Hastie <em>et al.</em>)
$$
\mathrm{Var}(\hat{z}_i)=\frac{d_i^2}{N},
$$
where \( d_i \) are the singular values of the matrix \( \hat{X} \). Give an interpretation of these results, in particular in connection with the variance of the coefficients you obtained in the previous exercise.
where \( d_i \) are the singular values of the matrix \( \hat{X} \). In Hastie <em>et al</em>, the matrix elements of \( X \) are centered. The consequence is that the mean values of for example \( \hat{u}_i \) are zero.
<p>
Give an interpretation of these results, in particular in connection with the variance of the coefficients you obtained in the previous exercise.
<!-- ------------------- end of main content --------------- -->
Binary file not shown.
+4 -2
View File
@@ -211,11 +211,13 @@ Discuss these quantities as functions of the variable $\lambda$ in the Ridge and
\subsection{Exercise 5}
Using the singular value decomposition, show that the variance of the direction vector
$\hat{z}_i=\hat{X}\hat{v}_i$ is equal to (equation (3.49) of Hastie \emph{et al.})
$\hat{z}_i=\hat{X}\hat{v}_i=\hat{u}_1d_1$ is equal to (equation (3.49) of Hastie \emph{et al.})
\[
\mathrm{Var}(\hat{z}_i)=\frac{d_i^2}{N},
\]
where $d_i$ are the singular values of the matrix $\hat{X}$. Give an interpretation of these results, in particular in connection with the variance of the coefficients you obtained in the previous exercise.
where $d_i$ are the singular values of the matrix $\hat{X}$. In Hastie \emph{et al}, the matrix elements of $X$ are centered. The consequence is that the mean values of for example $\hat{u}_i$ are zero.
Give an interpretation of these results, in particular in connection with the variance of the coefficients you obtained in the previous exercise.
% ------------------- end of main content ---------------
Binary file not shown.
+4 -2
View File
@@ -181,11 +181,13 @@ Discuss these quantities as functions of the variable $\lambda$ in the Ridge and
\subsection*{Exercise 5}
Using the singular value decomposition, show that the variance of the direction vector
$\hat{z}_i=\hat{X}\hat{v}_i$ is equal to (equation (3.49) of Hastie \emph{et al.})
$\hat{z}_i=\hat{X}\hat{v}_i=\hat{u}_1d_1$ is equal to (equation (3.49) of Hastie \emph{et al.})
\[
\mathrm{Var}(\hat{z}_i)=\frac{d_i^2}{N},
\]
where $d_i$ are the singular values of the matrix $\hat{X}$. Give an interpretation of these results, in particular in connection with the variance of the coefficients you obtained in the previous exercise.
where $d_i$ are the singular values of the matrix $\hat{X}$. In Hastie \emph{et al}, the matrix elements of $X$ are centered. The consequence is that the mean values of for example $\hat{u}_i$ are zero.
Give an interpretation of these results, in particular in connection with the variance of the coefficients you obtained in the previous exercise.
% ------------------- end of main content ---------------
+4 -2
View File
@@ -54,10 +54,12 @@ Discuss these quantities as functions of the variable $\lambda$ in the Ridge and
===== Exercise 5 =====
Using the singular value decomposition, show that the variance of the direction vector
$\hat{z}_i=\hat{X}\hat{v}_i$ is equal to (equation (3.49) of Hastie *et al.*)
$\hat{z}_i=\hat{X}\hat{v}_i=\hat{u}_1d_1$ is equal to (equation (3.49) of Hastie *et al.*)
!bt
\[
\mathrm{Var}(\hat{z}_i)=\frac{d_i^2}{N},
\]
!et
where $d_i$ are the singular values of the matrix $\hat{X}$. Give an interpretation of these results, in particular in connection with the variance of the coefficients you obtained in the previous exercise.
where $d_i$ are the singular values of the matrix $\hat{X}$. In Hastie *et al*, the matrix elements of $X$ are centered. The consequence is that the mean values of for example $\hat{u}_i$ are zero.
Give an interpretation of these results, in particular in connection with the variance of the coefficients you obtained in the previous exercise.