mann_whitney
function performs a Mann-Whitney U-test on two random samples drawn with different queries. The mann_whitney
function takes four parameters:
- the numeric field to perform the Mann-Whitney U-test on
- the Lucene/Solr query for drawing the first sample
- the Lucene/Solr query for drawing the second sample
- the sample size for both samples
Sample syntax
Result set
The result set for themann_whitney
function contains one row with the results of the mann_whitney
test. The mann_whitney
function returns the U-statistic. The p_value
field can be selected to return the p-value for the Mann-Whitney test.
Sample result set in Apache Zeppelin

Visualization
Sample visualization of themann_whitney
function using the Apache Zeppelin number visualization:
