Hello to everyone,
I have carried out principal components regression using the PROC PLS procedure with 'method=pcr'. I have concluded that the number of principal componentns to keeo is 2.
My question is:
Can I derive a model for my response variables and the 2 principal components I have found? If yes, waht is the command I should use in order to derive the coefficients for each PC? I have the intercept of the model.
Regards,
George
The SOLUTION option in the model statement will give you the model terms.
As a side issue, it was never clear to me why PCR was an option in PROC PLS, as the two component PLS model should always fit as well or better than the two component PCR model.
The SOLUTION option in the model statement will give you the model terms.
As a side issue, it was never clear to me why PCR was an option in PROC PLS, as the two component PLS model should always fit as well or better than the two component PCR model.
The thing is that I have to carry out different methods of Modern regression with a data set where the predictors are highly collinear. I have also carries Partial Least Squares Regression and the objective is to compare the different kinds of regression.
Hope this clears your question.
--
George
It's kind of hard for me to accept that PCR is a "modern" regression method, I would claim it is an antique method that should not be used in the 21st century. Nevertheless, you might want to take a look at the paper by Frank and Friedman, who did such a comparison of many different regression methods.
I totally understand what you are saying but I only follow orders here. Nevertheless thank you for your advice.
George
🙂
but I only follow orders here
I didn't think AI had come that far...
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.