Been doing loads of reading about PCA, FA and SVD but still fail to understand the fundamentals of how PCA links with factor analysis in the context of risk modelling. Here is where I'm stuck:
Given a TxN matrix, each row is a time period, column is an asset. This is returns in the basis of assets. We center each column and find the eigenvectors of the cov matrix. Then regress out the eigenvectors. The regression coefficients are thought of as factor returns and an eigenvector (if endowed with variance via sqrt(eigenvalue)) give exposures of each asset to the factor (portfolio) associated w that eigenvector.
In factor modelling, we say each factor is a portfolio (weighted combination of assets), its returns are the returns of the assets weighted by the weights which define the portfolio.
Mathematically, the eigenvectors are a basis. What variance is it that they maximise here? Is it that the eigenvector with the highest eigenvalue includes exposures of assets to a portfolio with the highest possible risk - dispersion of returns over time ?
Next, why do I need regression? Can't I just project my original variables (assets) onto the subspace spanned by SOME of the factors, and keep only that (or remove it to get residual returns).
Scale: I've seen many answers about "endowing the eigenvectors with scale to get loadings" by multiplying them by the sqrt(eigenvector), so that their squared norm gives the variance. What role does this play in the factor model exactly? Finally, I've seen legacy code at work where they standardise X first (divide each column by std) and at the end rescale it back up. I've also seen examples where they DON'T scale it back up in the end, what is the purpose of that and the difference between the two?