java.lang.Object | |
↳ | org.jfree.data.statistics.BoxAndWhiskerCalculator |
A utility class that calculates the mean, median, quartiles Q1 and Q3, plus
a list of outlier values...all from an arbitrary list of
Number
objects.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Calculates the statistics required for a
BoxAndWhiskerItem
from a list of Number objects. | |||||||||||
Calculates the statistics required for a
BoxAndWhiskerItem
from a list of Number objects. | |||||||||||
Calculates the first quartile for a list of numbers in ascending order.
| |||||||||||
Calculates the third quartile for a list of numbers in ascending order.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Calculates the statistics required for a BoxAndWhiskerItem
from a list of Number
objects. Any items in the list
that are null
, not an instance of Number
, or
equivalent to Double.NaN
, will be ignored.
values | a list of numbers (a null list is not
permitted). |
---|---|
stripNullAndNaNItems | a flag that controls the handling of null and NaN items. |
Calculates the statistics required for a BoxAndWhiskerItem
from a list of Number
objects. Any items in the list
that are null
, not an instance of Number
, or
equivalent to Double.NaN
, will be ignored.
values | a list of numbers (a null list is not
permitted). |
---|
Calculates the first quartile for a list of numbers in ascending order.
If the items in the list are not in ascending order, the result is
unspecified. If the list contains items that are null
, not
an instance of Number
, or equivalent to
Double.NaN
, the result is unspecified.
values | the numbers in ascending order (null not
permitted). |
---|
Calculates the third quartile for a list of numbers in ascending order.
If the items in the list are not in ascending order, the result is
unspecified. If the list contains items that are null
, not
an instance of Number
, or equivalent to
Double.NaN
, the result is unspecified.
values | the list of values (null not permitted). |
---|