About this question

PCA Total Variance

Medium · Data Science · Quant Trader interview question · PCA, linear-algebra, eigenvalues, variance, covariance

You are analyzing a dataset of stock returns using Principal Component Analysis (PCA) to reduce dimensionality and identify key factors. You've calculated the covariance matrix of the stock returns. What is the sum of the eigenvalues of this covariance matrix equal to?