Class Moment
java.lang.Object
analytical.Moment
Moment of a distribution used by the method of moments (MoM) exact algorithm of JMVA.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetBinomialMoment(int[] replicas) doublegetFirstPowerMoment(double firstBinomialMoment) doublegetSecondPowerMoment(double firstPowerMoment, double secondBinomialMoment) doublegetStandardDeviation(double variance) doublegetThirdPowerMoment(double firstPowerMoment, double secondPowerMoment, double thirdBinomialMoment) doublegetVariance(double firstPowerMoment, double secondPowerMoment) booleanstatic void
-
Constructor Details
-
Moment
public Moment()
-
-
Method Details
-
loadModel
- Throws:
SolverException
-
getBinomialMoment
- Throws:
SolverException
-
getFirstPowerMoment
public double getFirstPowerMoment(double firstBinomialMoment) -
getSecondPowerMoment
public double getSecondPowerMoment(double firstPowerMoment, double secondBinomialMoment) -
getThirdPowerMoment
public double getThirdPowerMoment(double firstPowerMoment, double secondPowerMoment, double thirdBinomialMoment) -
getVariance
public double getVariance(double firstPowerMoment, double secondPowerMoment) -
getStandardDeviation
public double getStandardDeviation(double variance) -
main
-