BookmarkSubscribeRSS Feed
ellouho1
Calcite | Level 5

Dear members,

 

do you know how can I get this kind of figures.

 

I tried with PROC PRINCOMP but there is no plot correspend to it

 

plot.png

 

Best regards

3 REPLIES 3
ellouho1
Calcite | Level 5

Dear members,

 

do you know how can I get this kind of figures.

 

I tried with PROC PRINCOMP but there is no plot correspend to it.

 

 

 

plot.png

 

 

Best regards,

 

 

 

PaigeMiller
Diamond | Level 26

Your example plots don't really indicate what is being plotted in terms of principal components. Are they scores? Are they loadings? Are they something else? What is the central point where the lines converge? Can you indicate with more clarity what it is that you want to plot?


Scatterplots of loadings or scatterplots of scores are easy, as PROC PRINCOMP will output these quantities, and PROC SGPLOT will plot them. Connecting the data values to some centroid is something that I don't think is built into SAS, and so you'd have to figure out how to do that yourself.

--
Paige Miller
Reeza
Super User
FYI - note that I've merged your two posts as they are identical.

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1124 views
  • 0 likes
  • 3 in conversation