Hello experts,
I am trying proc corr between two variables in my dataset, when i run the code i got this warning message in log.
WARNING: The scatter plot matrix with more than 5000 points has been suppressed. Use the PLOTS(MAXPOINTS= ) option in the PROC CORR statement to change or override the cutoff
Again I have retried with this code plots(MAXPOINTS=NONE);
i got a NOTE in log saying that NOTE: The PLOTS option is ignored unless you also specify suboptions
Could you explain what does the log mean? and how to get the output in plots for my variables please?
Thanks in advance!
Thanks for providing the example code, it makes diagnosing and describing what's going on much easier.
In the code you provided no plot-request sub-option specified, and the note you see in the log indicates that no plots are produced unless a plot-request is specified. The description of the PLOTS= option in the PROC CORR documentation includes a description of the possible plot-request options you can make. The example code below should produce all of the appropriate plots:
proc corr data=hotel.Hotel_bookings plots(MAXPOINTS=NONE)=all;
var booking_changes adr;
run;
First thing, it is always a good idea to show the code you have submitted, or was generated. Best is to copy from the Log the entire procedure along with any notes, warning or errors . Copy the text and paste into a code box opened on the forum with the </> icon.
You have to tell what kind of plot such as Plots=matrix (options) or Plots=scatter(options)
The max points would go in the Options section
Thanks for providing the example code, it makes diagnosing and describing what's going on much easier.
In the code you provided no plot-request sub-option specified, and the note you see in the log indicates that no plots are produced unless a plot-request is specified. The description of the PLOTS= option in the PROC CORR documentation includes a description of the possible plot-request options you can make. The example code below should produce all of the appropriate plots:
proc corr data=hotel.Hotel_bookings plots(MAXPOINTS=NONE)=all;
var booking_changes adr;
run;
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.