BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
SASdevAnneMarie
Rhodochrosite | Level 12

Hello Experts,

 

I'm wondering how to show the PCA correlation circle in SAS. 

Is it possible ? I can not use the proc iml for drawing the circle. 

 

Thank you for your help !

1 ACCEPTED SOLUTION

Accepted Solutions
StatDave
SAS Super FREQ

This can be done using the PLOTS= option in PROC PRINCOMP.  See the Getting Started example in the PRINCOMP procedure documentation. The following extracts two principal components and produces the plot with variance circles at 50%, 75%, and 100%.

proc princomp data=Crime n=2 plots=pattern(circles=50 75 100);
   id State;
run;

PatternPlot.png 

View solution in original post

3 REPLIES 3
StatDave
SAS Super FREQ

This can be done using the PLOTS= option in PROC PRINCOMP.  See the Getting Started example in the PRINCOMP procedure documentation. The following extracts two principal components and produces the plot with variance circles at 50%, 75%, and 100%.

proc princomp data=Crime n=2 plots=pattern(circles=50 75 100);
   id State;
run;

PatternPlot.png 

SASdevAnneMarie
Rhodochrosite | Level 12
Thank you, StatDave!

Catch up on SAS Innovate 2026

Dive into keynotes, announcements and breakthroughs on demand.

Explore Now →
What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 345 views
  • 6 likes
  • 3 in conversation