There should be an option to define the strategy to use to calculate median, q1, q3
It could be:
- inclusive - default, interpolated
- exclusive - interpolated
- tukeyHinges (Tukey’s hinge): not interpolated
For array [1,2,3,4,5,6] we expect:
| Method |
Interpolated? |
Uses All Data? |
Q1 (for [1–6]) |
Q3 (for [1–6]) |
| Inclusive |
Yes |
Yes |
2.25 |
4.75 |
| Exclusive |
Yes |
Yes |
~2.5 |
~4.5 |
| Tukey’s Hinges |
No |
No |
2 |
5 |
Need to check how this is related to xBoxPlotWithOutliers
There should be an option to define the strategy to use to calculate median, q1, q3
It could be:
For array [1,2,3,4,5,6] we expect:
Need to check how this is related to
xBoxPlotWithOutliers