BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
gstratis
Fluorite | Level 6

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

1 ACCEPTED SOLUTION

Accepted Solutions
PaigeMiller
Diamond | Level 26

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. 

--
Paige Miller

View solution in original post

5 REPLIES 5
PaigeMiller
Diamond | Level 26

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. 

--
Paige Miller
gstratis
Fluorite | Level 6

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

PaigeMiller
Diamond | Level 26

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.

--
Paige Miller
gstratis
Fluorite | Level 6

I totally understand what you are saying but I only follow orders here. Nevertheless thank you for your advice.

 

George

🙂

Reeza
Super User

but I only follow orders here

I didn't think AI had come that far...

 

sas-innovate-2024.png

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.

 

Register now!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 5 replies
  • 676 views
  • 0 likes
  • 3 in conversation