Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
Upgrade Alteryx Designer in 10 Steps

Debating whether or not to upgrade to the latest version of Alteryx Designer?


KS Statistic in Binary Predictive Model

Alteryx Partner

Hi, ALL.


I was presenting Alteryx to someone I think would benefit from using it, showing its packaged tools from R.


Quickly I built a simple logistic model, nice and easy. Then when I was configuring a lift chart to show this model quality, I was asked about KS statistic...


I know performing Kolmogorov-Smirnov test is something really straightforward in R (there is a "ks.test()" command, just don't recall which library it uses...), but I was wondering:


Is there a pre-packaged tool in Alteryx that not only calculate KS Statistic, but also build a graphic showing the cumulative curves that give origin to KS statistic (as the maximum distance between these curves)?





Alteryx Certified Partner
Alteryx Certified Partner

I don't believe so.  @DrDan would know for sure.  Perhaps this is something that you could request in the ideas for a new tool?

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and reboot. Order shall return.
Alteryx Partner



Thanks for your suggestion.


If I get the time to do this (and DrDan confirms there is nothing already developed), maybe I'll create it (or at least try to) and publish it in Alteryx Gallery.






No we currently do not provide a KS test for binary classification models. We do provide a number of other statistics for these models in both the Lift Chart tool, but also, a more complete set of statistics, the Model Comparison tool that is available in the Predictive District of the Alteryx Analytics Gallery. The Model Comparison tool also addresses multinomial classification and continuous target models. Adding this measure to the Model Comparison tool would be very straight forward, since the measure is calculated from the ROC curve of the model, which is already calculated in the Model Comparison tool. We didn't include it in that tool since this is the first time we have had it requested, but we can definately do this in a futrue release.



Hi All,

Do you have some news about this issue?

How can I calculate the KS statistic after runing a logistic regression in Alteryx?

Thank you a lot!

Alteryx Partner



Any news on this issue?