Alteryx Designer Desktop Discussions

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

SKU Pearson Correlation Coefficient Analysis

JAF90
5 - Atom

Hi all

 

I am trying to do a Pearson's correlation analysis to find out how likely my customers are to purchase another one of my products (SKUs) based on the overlap between them. For example, see the table below. You could argue customer C may well buy product 1000001254 as Customer A & B have it as well. In addition to volume, I have other columns but would like volume to be the key factor.

 

When I do the PCC calculation, it asks me for two numerical values. I have tried duplicating the same file but no luck to have 2 volume columns but its still not working properly (or dont know how I should say!). Thank you!

 

CustomerSKUVolume
Customer A1000006237516
Customer A1000006863315
Customer A1000001254326
Customer A1000001260385
Customer A1000001261815
Customer B1000001254125
Customer B1000001260355
Customer B1000001261555
Customer C1000001254295
Customer C1000001260852
Customer C1000006237755

 

6 REPLIES 6
CharlieS
17 - Castor
17 - Castor

Hi @JAF90 

 

I don't think the Pearson Correlation tool/analysis will provide what you're looking for. I would suggest checking out the Market Basket Affinity tool. 

https://help.alteryx.com/current/designer/mb-affinity-tool 

 

This does not take value into account, but does show the relationship of one SKU to others based on the presence in the same transaction. I've attached an example workflow that should this in action.

 

20210311-MarketBasket1.JPG

JAF90
5 - Atom

Thank you Charlie! Unfortunately my version of Alteryx does not support that tool... do you have any alternative solutions in mind? Appreciate it.

CharlieS
17 - Castor
17 - Castor

Happy to help.

 

Let's talk about your installation then. The predictive tools are free and included with your Designer license.

 

Do you have the Predictive tools installed?

What version of Designer are you running?

JAF90
5 - Atom

My version is 2019.4.8.22007. The tools under the Predictive tab are "Deploy" and "Score". I have some others Like Pearson and Spearman as part of the Data Investigation tools as well.

CharlieS
17 - Castor
17 - Castor

Hmmm, that's odd that you have some but not all. Do you have the Predictive Grouping tools? Are you able to add it to your toolbar?

 

20210311-MarketBasket2.JPG

 

If not, check out the RInstaller_2019.4.8.22007.exe from the download portal to install all the Predictive Tools. 

 

JAF90
5 - Atom

Hi Charlie - I decided to install the predictive tools instead and your solution works! Thank you very much!

Labels