Solved – how to find a linear combination of predictors maximizing correlation between its score and dependent variable in R

correlationpartial least squaresr

Please correct me if I am wrong as I am not good at R. I think I can find a linear combination maximizing correlation between predictors and dependent variables by running partial least squares analysis with standardized X without intercept and standardized Y matrix.

But how can I do that with pls or any other package in R? Does it do that with default settings?

Best Answer

No, PLS package does not maximize correlation between scores and response values in default settings. I couldn't so far find whether the package has that functionality or not although manual mentioned about it with a sentence.

And you are right. You need to deal with standardized matrices to do PLS for the correlation maximization.