Alteryx Designer Desktop Discussions

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

Distribution Analysis : Error in round(fn$chisqpvalue, 4) :

User514
7 - Meteor

What does this error mean?

2 REPLIES 2
danilang
19 - Altair
19 - Altair

Hi @User514 

 

This error is generated by the underlying R library.  I can't find any documentation on this, but there seems to be a lower bound on the number of items in the list when calculating the Chi-squared value.  This lower bound seems to be 13 items.   Anything less than this generates this error.  13 or more values runs with no errors.  In the attached version I just take the first 13 values of your input and pass these through successfully.  If I lower this to 12, it errors

 

danilang_0-1623161441427.png

 

Since your original workflow pulls out the records by RecordID, none of the groups have the required 13 rows.

 

Another thing to note is that you can only use lognormal, Wiebull and gamma distributions with non-negative data.

 

Dan

 

    

User514
7 - Meteor

I tried it with another data set, and with just the lognormal and I still get the same error

Labels