# what formal statistics to use for groups presented by violin plots

There are several posts about interpreting violin plots like Violin plots interpretation or https://mode.com/blog/violin-plot-examples ,which I think I understand.

In my mind, however, I am asking a different question that has not been answered - what formal "statistics" can we use to determine if two groups, presented by violin plots, are the same or different.

For any two groups represented by violin plots, we get median, interquartile ranges and probability/density of being at certain values, ... etc, which are all good and well. But formally, how big a difference in the density plot, or in the interquartile ranges, or in the median, do they have to be for two groups to be considered different ? In the end, do we resort back to the traditional stats, such as Kruskal–Wallis test, t-test, to tackle each and every feature presented in the violin plots or are there formal statistics that can compare and contrast multiple features of the violin plots and conclude if the two groups are "statistically different" or not ?

• Why and how are you comparing violin plots? These are just plots. Presumably you want to compare the data that was used to generate the plot? Or do you only have the data presented in the plot? Sep 16, 2019 at 5:57