price, in US dollarscarat, depth, table, x, y, z\[y_i = \theta_0 + \sum_{m=1}^M\theta_m z_{im} + \epsilon_i, \qquad \epsilon_i \stackrel{ind}{\sim} N\left(0, \sigma^2\right)\]
\[\widehat\theta_0 = \bar y, \qquad \widehat\theta_m = \frac{z_m^\top\left(y - \bar y\mathbf{1}\right)}{z_m^\top z_m} = \frac{z_m^\top\left(y - \bar y\mathbf{1}\right)}{nv_m}, \quad m = 1, \ldots, M\]
\[E\left[\widehat\theta_m\right] = \theta_m, \qquad Var\left[\widehat\theta_m\right] = \frac{z_m^\top z_m\,\sigma^2}{\left(nv_m\right)^2} = \frac{\sigma^2}{nv_m}\]
| Component | Variance \(v_m\) | Estimate \(\widehat\theta_m\) | Standard error | \(\lvert\widehat\theta_m\rvert\) / standard error |
|---|---|---|---|---|
| PC1 | 4.0012 | 0.479 | 0.013 | 37.1 |
| PC2 | 1.3899 | −0.011 | 0.022 | 0.5 |
| PC3 | 0.5779 | −0.029 | 0.034 | 0.9 |
| PC4 | 0.0298 | −1.474 | 0.149 | 9.9 |
| PC5 | 0.0009 | 0.235 | 0.873 | 0.3 |
| PC6 | 0.0003 | −0.133 | 1.518 | 0.1 |
\[\widehat y_i = \bar y + \sum_{m=1}^M\widehat\theta_m\sum_{j=1}^p\phi_{jm}\tilde x_{ij} = \bar y + \sum_{j=1}^p\widehat\beta_j\tilde x_{ij}, \qquad \widehat\beta = \boldsymbol{\Phi}_M\widehat\theta\]
\[\widehat y^R_\lambda = \bar y\mathbf{1} + \sum_{m=1}^p\frac{v_m}{v_m + \lambda/n}\,\widehat\theta_mz_m\]
\[\phi^{\text{PLS}}_{j1} = \frac{g_j}{\sqrt{\sum_{l=1}^p g_l^2}}, \qquad g_j = \frac{1}{n}\sum_{i=1}^n\tilde x_{ij}\left(y_i - \bar y\right)\]
| Direction | Variance of scores | Squared correlation with log price | Squared covariance with log price |
|---|---|---|---|
| First principal component | 4.001 | 0.8781 | 3.6687 |
| First PLS direction | 3.999 | 0.8793 | 3.6712 |
| Least squares direction | 0.397 | 0.9408 | 0.3900 |
\[\tilde{\mathbf{x}}^{(2)}_{\cdot j} = \tilde{\mathbf{x}}_{\cdot j} - \frac{\left(z^{\text{PLS}}_1\right)^\top\tilde{\mathbf{x}}_{\cdot j}}{\left(z^{\text{PLS}}_1\right)^\top z^{\text{PLS}}_1}\,z^{\text{PLS}}_1\]
\[\phi^{\text{PLS}}_2 \propto \left(\tilde{\mathbf{X}}^{(2)}\right)^\top\left(y - \bar y\mathbf{1}\right), \qquad z^{\text{PLS}}_2 = \tilde{\mathbf{X}}^{(2)}\phi^{\text{PLS}}_2\]
| Method | \(M\) | Training MSE | 10-fold CV estimate | Test MSE |
|---|---|---|---|---|
| Least squares | 6 | 0.0618 | 0.0778 | 0.0726 |
| PCR | 4 | 0.0619 | 0.0744 | 0.0727 |
| PLS | 4 | 0.0619 | 0.0745 | 0.0727 |
DS 3030