- 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 doublemyMeanprivate doublemyVariance-
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 doublegetMean()doublegetVariance()voidinitialise(double mean, double variance)static HomoscedasticnewInstance()static HomoscedasticnewInstance(double mean, double variance)voidupdate(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)
-
-