Hello All,
A student is running this on a couple hundred thousand data points:
ods graphics on;
proc corr data=temp plots=scatter ;
var QLREST2 age _BMI4;
run;
ods graphics off;
I have looked into the proc reg with the plots(MAXPOINTS=) and still could not generate a plot. Anybody run into this?
Thank you!
I'm confused. What procedure are you having problems with? You posted code for PROC CORR, but later you say, "I tried with proc corr and it worked."
If this is the FitPlot in PROC REG, then you should know that the output is a heatmap for a large number of points. The MAXPOINTS= option accepts two parameters. See the last paragraphs of the previous link for a discussion and example of controlling the appearance of the FitPlot.
What is the error you are getting? Click on the {i} icon and paste the SASLOG for PROC CORR (showing the error message) into the window that opens.
What is the output destination? HTML, PDF, other?
This is the error.
ERROR: Java virtual machine exception. java.lang.OutOfMemoryError: GC overhead limit exceeded.
ERROR: Java virtual machine exception. java.lang.OutOfMemoryError: GC overhead limit exceeded.
However, that was from the proc reg and I tried with proc corr and it worked (produced a plot). I'll keep working on it. Thank you.
I'm confused. What procedure are you having problems with? You posted code for PROC CORR, but later you say, "I tried with proc corr and it worked."
If this is the FitPlot in PROC REG, then you should know that the output is a heatmap for a large number of points. The MAXPOINTS= option accepts two parameters. See the last paragraphs of the previous link for a discussion and example of controlling the appearance of the FitPlot.
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!
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.
Ready to level-up your skills? Choose your own adventure.