Now that it's live, don't forget to accept your certification badge on Credly today! Learn more here.
We are currently experiencing an issue with Email verification at this time and working towards a solution. Should you encounter this issue, please click on the "Send Verification Button" a second time and the request should go through. If the issue still persists for you, please email support@alteryx.com for assistance.

Alteryx Designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
SOLVED

Model comparison tool

tutankamon
7 - Meteor

Hi everyone,

 

I am having an inconsistent result in the workflow I have made for a linear regression. I just wanted to check the value of R^2 and I have noticed that the linear regression tool gives me a different R^2 from the model comparison tool, and I have used exactly the same data to fit and to test the model on purpose, just to check if both tools were giving me the same number. I do not understand why both tools give me a different R^2 since the data is the same. Please, find attach the workflow and dataset I am using.

 

Thanks in advance!Untitled.png

2 REPLIES 2
JeffF
Alteryx
Alteryx

Hi @tutankamon

 

The Correlation field in the Model Comparison output is the Coefficient of Correlation, or R. Square it to get R^2.

 

Here's an article about it:

What is the difference between coefficient of determination, and coefficient of correlation?

 

Thanks.

tutankamon
7 - Meteor

Hi @JeffF,

 

Thank you very much for your answer. Now it does make sense.

 

Kind regards,

Javier

Labels