Order by relevance to subgroups in Box Plot should consider the value of the statistics as well
- Dominant language
- Python
- Stars
- 5.7k
- Forks
- 1.1k
- Avg merge
- 12d 2h
- Merged PRs (30d)
- 1
Description
**What's wrong?**
Box Plot can sort features according to the relevance to subgroups. The score for ordering is the p-value of corresponding statistics, this either being t-test, ANOVA, or chi-square.
The problem emerges if the (rounded?) p-value for a set of features is 0. Than, it may happen, for instance, that the features with the same p-value but different t-test are sorted randomly. Here, we would expect that the feature with a higher value of the statistics are listed first. For instances, in the attached workflow, where we split the data according to HDI, this particular feature, that is, HDI, would be listed first. In this example, HDI has t=20.3, and estimated gross national income has t=13.4, yet the later appears first in the list.

[boxplot-ranking-problem.ows.zip](https://github.com/biolab/orange3/files/9157496/boxplot-ranking-problem.ows.zip)
**What's your environment?**
MacOSX, latest dmg version
Contributor guide
Assessment
This issue has not been assessed yet.