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?
Secure your spot at the must-attend AI and analytics event of 2024: SAS Innovate 2024! Get ready for a jam-packed agenda featuring workshops, super demos, breakout sessions, roundtables, inspiring keynotes and incredible networking events.
Register by March 1 to snag the Early Bird rate of just $695! Don't miss out on this exclusive offer.
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.