BookmarkSubscribeRSS Feed
Elle
Quartz | Level 8

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

 

 

3 REPLIES 3
varsha_sas
SAS Employee

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

Elle
Quartz | Level 8

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?

varsha_sas
SAS Employee
Hi Elle,



Unfortunately, there is no way to program this in VA. The best option you have is to export the details manually, or, change to a linear regression and continue working in VS.



I'm sorry we don't have a better solution at this time, but please keep the questions coming.



Thanks!



Varsha


sas-innovate-2024.png

 

Time is running out to save with the early bird rate. Register by Friday, March 1 for just $695 - $100 off the standard rate.

 

Check out the agenda and get ready for a jam-packed event featuring workshops, super demos, breakout sessions, roundtables, inspiring keynotes and incredible networking events. 

 

Register now!

Tips for filtering data sources in SAS Visual Analytics

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.

Discussion stats
  • 3 replies
  • 1022 views
  • 0 likes
  • 2 in conversation