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

Hi! 

I'm not quite clear on how to visualize the spearman's correlation and p-value (as it is reporting the Pearson's correlation) into the legend on the scatter plot. 

Here is my code and graph, any advice would be most appreciated! 

 

proc corr data = Omni.Omi_sweeps spearman plots=scatter;
var D_ww_cpL1000 D7_active;
run; 

lu_king_0-1678687459245.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
sbxkoenk
SAS Super FREQ

Maybe using this way of working?

Usage Note 37000: Producing a scatter plot matrix of ranked variables if SPEARMAN correlations are requested
https://support.sas.com/kb/37/000.html

 

Koen

View solution in original post

1 REPLY 1
sbxkoenk
SAS Super FREQ

Maybe using this way of working?

Usage Note 37000: Producing a scatter plot matrix of ranked variables if SPEARMAN correlations are requested
https://support.sas.com/kb/37/000.html

 

Koen

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 1 reply
  • 801 views
  • 2 likes
  • 2 in conversation