use R package 'modes' to detect bimodality, calculate coefficients and create a chart
You could use that in KNIME and see if you can use the statistics that are provided by this package to make a decision. It also creates a plot where you can visually inspect if there is a Bi-Modal distribution. You might adapt that to test for further distributions.
Please note I am not an expert in these statistics, just built them into a workflow :slight_smile:. The description 9 for the package for example states that for the:
bimodality_coefficient - "The bimodality coefficient has a range of zero to one (that is: [0,1]) where a value greater than “5/9” suggests bimodality. "
So with 0.774 being larger than 0.556 the statistic here would indicate that the distribution is bimodal. And the visual inspection seems to support that.
I was toying around with creating a variable to bring the description into the graphic but gave up for now. You might include that ins some future graphic you might create.
To use this workflow in KNIME, download it from the below URL and open it in KNIME:
Download WorkflowDeploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well? Do you think, the search results could be improved or something is missing? Then please get in touch! Alternatively, you can send us an email to mail@nodepit.com.
Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.