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?
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!
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?
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
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.