cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar

How to add equation and Rsq to linear regression graph?

I did a linear regression and get the linear graph, equation and R squared.  But the graph only shows the linear line and data point.  Does anybody know how to add the equation and R squared value on the graph, like excel normally will do?

Thank you a lot!

 

Leehappyjourney_0-1653501953226.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: How to add equation and Rsq to linear regression graph?

This capability is handled in the Graph Builder

txnelson_0-1653502739387.png

Drag the x and y columns to their drop areas, then select the line of fit icon to add the regression line to the chart, then right click on the chart and under the Line of Fit object, add the Rsquare and Equation 

 

 

Jim

View solution in original post

1 REPLY 1
txnelson
Super User

Re: How to add equation and Rsq to linear regression graph?

This capability is handled in the Graph Builder

txnelson_0-1653502739387.png

Drag the x and y columns to their drop areas, then select the line of fit icon to add the regression line to the chart, then right click on the chart and under the Line of Fit object, add the Rsquare and Equation 

 

 

Jim