Package org.ojalgo.random.scedasticity
Class Homoscedastic
- java.lang.Object
-
- org.ojalgo.random.scedasticity.AbstractScedasticity
-
- org.ojalgo.random.scedasticity.Homoscedastic
-
- All Implemented Interfaces:
ScedasticityModel
public final class Homoscedastic extends AbstractScedasticity
-
-
Field Summary
Fields Modifier and Type Field Description private double
myMean
private double
myVariance
-
Fields inherited from class org.ojalgo.random.scedasticity.AbstractScedasticity
DEFAULT_VARIANCE, ELEVEN_TWELFTHS
-
-
Constructor Summary
Constructors Constructor Description Homoscedastic()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getMean()
double
getVariance()
void
initialise(double mean, double variance)
static Homoscedastic
newInstance()
static Homoscedastic
newInstance(double mean, double variance)
void
update(double value)
-
Methods inherited from class org.ojalgo.random.scedasticity.AbstractScedasticity
average, decreasing, parameters
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.ojalgo.random.scedasticity.ScedasticityModel
getStandardDeviation, variances
-
-
-
-
Method Detail
-
newInstance
public static Homoscedastic newInstance()
- See Also:
newInstance(double, double)
-
newInstance
public static Homoscedastic newInstance(double mean, double variance)
-
getMean
public double getMean()
-
getVariance
public double getVariance()
-
initialise
public void initialise(double mean, double variance)
-
update
public void update(double value)
-
-