Finance, Risk Analytics, Data Science, Machine Learning.
(information retained) with just 1 PC. We calculate the product of “PC1” and “PV” for each row, storing the results in the “Result1” column of “df_calculation”. We compute the sum of squared “Result1” values and multiply it by the first eigenvalue obtained from PCA, which represents the variance