public class MeanScale extends Object
The scale is often the standard-deviation.
Constructor and Description |
---|
MeanScale() |
MeanScale(double mean,
double scale) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
double |
getMean()
The mean.
|
double |
getScale()
The scale, typically the standard-deviation.
|
int |
hashCode() |
void |
setMean(double mean)
The mean.
|
void |
setScale(double scale)
The scale, typically the standard-deviation.
|
String |
toString() |
double |
zScore(double value)
Converts a value to a z-score given the parameterization in this object.
|
public MeanScale(double mean, double scale)
public MeanScale()
public double zScore(double value)
value
- the value to convert.public double getMean()
public double getScale()
public void setMean(double mean)
public void setScale(double scale)
protected boolean canEqual(Object other)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.