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: 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 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
  • 887 views
  • 2 likes
  • 2 in conversation