Catalano.Statistics
Class ContinuousHistogram
- java.lang.Object
-
- Catalano.Statistics.ContinuousHistogram
-
public class ContinuousHistogram extends java.lang.ObjectHistogram for continuous random values.
-
-
Constructor Summary
Constructors Constructor and Description ContinuousHistogram(int[] values, FloatRange range)Initializes a new instance of the ContinuousHistogram class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description floatgetMax()Maximum value.floatgetMean()Mean value.floatgetMedian()Median value.floatgetMin()Minimum value.FloatRangegetRange(float percent)Get range around median containing specified percentage of values.floatgetStdDev()Standart Deviation value.int[]getValues()Values of the histogram.voidUpdate()Update statistical value of the histogram.
-
-
-
Constructor Detail
-
ContinuousHistogram
public ContinuousHistogram(int[] values, FloatRange range)Initializes a new instance of the ContinuousHistogram class.- Parameters:
values- Values of the histogram.range- Range of random values.
-
-
Method Detail
-
getValues
public int[] getValues()
Values of the histogram.- Returns:
-
getMean
public float getMean()
Mean value.- Returns:
-
getStdDev
public float getStdDev()
Standart Deviation value.- Returns:
-
getMedian
public float getMedian()
Median value.- Returns:
-
getMin
public float getMin()
Minimum value.- Returns:
-
getMax
public float getMax()
Maximum value.- Returns:
-
getRange
public FloatRange getRange(float percent)
Get range around median containing specified percentage of values.- Parameters:
percent- Values percentage around median.- Returns:
- Returns the range which containes specifies percentage of values.
-
Update
public void Update()
Update statistical value of the histogram.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG