Class MeanScale
Object
org.anchoranalysis.math.statistics.MeanScale
public class MeanScale extends Object
Stores the mean and scale for a distribution.
The scale is often the standard-deviation.
- Author:
- Owen Feehan
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)doublegetMean()The mean.doublegetScale()The scale, typically the standard-deviation.inthashCode()voidsetMean(double mean)The mean.voidsetScale(double scale)The scale, typically the standard-deviation.StringtoString()doublezScore(double value)Converts a value to a z-score given the parameterization in this object.
-
Constructor Details
-
Method Details
-
zScore
public double zScore(double value)Converts a value to a z-score given the parameterization in this object.- Parameters:
value- the value to convert.- Returns:
- the value converted to a z-score.
-
getMean
public double getMean()The mean. -
getScale
public double getScale()The scale, typically the standard-deviation. -
setMean
public void setMean(double mean)The mean. -
setScale
public void setScale(double scale)The scale, typically the standard-deviation. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-