public class StatisticalDescription extends Object implements Serializable
median_real_element
has the following meaning:
if the data for which this StatisticalDescription
was created
has an even number of elements, the conventional median is the average of
the two middle elements - in such a case,
median_real_element
carries the value of the "left" element of
these two. If there is an uneven number of elements, the value of field
median_real_element
should equal
that of field
median
.Constructor and Description |
---|
StatisticalDescription() |
StatisticalDescription(Long max,
Double mean,
Double median,
Long median_real_element,
Long min,
Double standardDeviation,
Double variance) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkConsistency() |
boolean |
equals(Object obj) |
Logger |
getLogger() |
long |
getMax() |
double |
getMean() |
long |
getMedian_real_element() |
double |
getMedian() |
long |
getMin() |
double |
getStandardDeviation() |
double |
getVariance() |
void |
setMax(long max) |
void |
setMean(double mean) |
void |
setMedian_real_element(long median_real_element) |
void |
setMedian(double median) |
void |
setMin(long min) |
void |
setStandardDeviation(double standardDeviation) |
void |
setVariance(double variance) |
boolean |
shallowEquals(Object obj)
Shallow because standard deviation and variance are not compared.
|
String |
toString() |
public boolean checkConsistency()
public Logger getLogger()
public long getMax()
public double getMean()
public double getMedian()
public long getMedian_real_element()
public long getMin()
public double getStandardDeviation()
public double getVariance()
public void setMax(long max)
public void setMean(double mean)
public void setMedian(double median)
public void setMedian_real_element(long median_real_element)
public void setMin(long min)
public void setStandardDeviation(double standardDeviation)
public void setVariance(double variance)
public boolean shallowEquals(Object obj)
obj
-