Hello,
I'm doing a scatter plot with a linear fit line.
I would like to export (in whatever format) the Details, more specifically the equation that's being generated, correlation coefficient and R-square.
I need to use the estimates in another calculation.
Does anyone have any ideas on how to do it?
Thank you
Hi Elle,
You can export the underlying data for a scatter plot, but you can't export the equation, correlation coefficient, or r-square value. Do you have SAS Visual Statistics licensed as well? If you do, you could right click on the scatterplot, then click on "Launch", then open up one of the visualizations in Visual Statistics (linear regression, generalized linear model, etc.), through which you could get to the r-square and additional details.
I hope this helps!
Varsha
Hello,
Yes I have Visual Statistics, but passing to linear regression switches my response variable with the explanatory variable and everything gets duplicated, which is a major inconvenience since there are a lot of scatter plots generated at a high frequency.
This option would be perfect if somehow I could program VA to do it automatically whenever a scatter plot is created. Any thoughts on that?
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.
Find more tutorials on the SAS Users YouTube channel.