FRM Part I · FRM Exam Part I · Machine Learning and Prediction
A covariance matrix for two variables is [[5, 3],[3, 5]]. The eigenvalues are 8 and 2, and the first principal component has weights (0.7071, 0.7071). Observation (x1, x2) = (4, 2) is expressed as deviations from means that are both zero. What is its score on the first principal component, and what proportion of total variance does that component explain?
The score is 0.7071 × 4 + 0.7071 × 2 ≈ 4.24. Total variance is 10, equal to the eigenvalue sum, so the first component with eigenvalue 8 explains 8/10 = 80% of total variance.
- AScore 4.24; proportion 80%Correct
- BScore 4.24; proportion 40%
- CScore 6.00; proportion 80%
- DScore 2.83; proportion 80%
Explanation
Score = 0.7071×4 + 0.7071×2 = 0.7071×6 = 4.243. Total variance = 5+5 = 10 = 8+2 (the eigenvalue sum), so the first component explains 8/10 = 80%. Score 6.00 forgets to scale by the unit-length weights; 40% would use the average eigenvalue incorrectly; 2.83 uses the wrong data combination.
Did you get it right without looking?
One question tells you little. A timed set on Machine Learning and Prediction shows your real accuracy, how long you take and where you lose marks.
More Machine Learning and Prediction questions
- An analyst applies principal components analysis (PCA) to a set of highly correlated predictors before fitting a prediction model. Which sta…
- A data scientist fits a model with very low training error but much higher error on a held-out validation set. Which is the most appropriate…
- A random forest has 200 trees, each trained on a bootstrap sample of n = 1,000 observations. Approximately what fraction of observations is …
- A PCA on six standardized variables yields eigenvalues of 3.0, 1.5, 0.6, 0.45, 0.30 and 0.15. What is the minimum number of components neede…
- A bank tests a default-prediction classifier on 200 loans. The model flags 40 loans as defaults, of which 30 actually defaulted. In total 50…
- A bank's credit-default classifier is tested on 200 loans. It flags 50 loans as defaults, of which 40 actually defaulted. In total 60 loans …