ChatGPT’s answer to Bree’s brilliant question


You may remember that Bree stymied me in class last week when she asked (Stephen’s paraphrase): “we’re attempting to use some number M of principal components < p, which will help us get a more parsimonious model with fewer parameters to fit. However, to compute the loadings for the principal components, aren't we fitting coefficients for each PC in its linear combination of all the features?" Here's ChatGPT's response:

You’re absolutely correct that we’re estimating lots of coefficients when we compute principal components. In fact, we might estimate more coefficients overall than ordinary regression would!

But the point of PCR isn’t to minimize the total number of numerical quantities we calculate. It’s to minimize the number of degrees of freedom available to fit the response variable.

PCA estimates its loadings without looking at the response variable. Once those directions are established, PCR has only \(M\) slope coefficients it can adjust to predict \(y\), rather than \(p\).

Thus, PCR reduces the flexibility of the predictive model, even though it doesn’t necessarily reduce the total number of coefficients computed during training.

This is something I’m going to have to mull over. It’s not immediately obvious to me that “oh, but we’re not involving the response variable, only the predictors” answers the question satisfactorily. I’m going to ask a couple statistics oracles I know: stay tuned.


Leave a Reply

Your email address will not be published. Required fields are marked *