java.lang.Object
org.ojalgo.random.RandomNumber
org.ojalgo.random.AbstractContinuous
org.ojalgo.random.ChiSquareDistribution
org.ojalgo.random.ChiSquareDistribution.Degree2
- All Implemented Interfaces:
Comparable<RandomNumber>,DoubleSupplier,Supplier<Double>,BasicFunction,NullaryFunction<Double>,PrimitiveFunction.Nullary,ContinuousDistribution,Distribution,AccessScalar<Double>,ComparableNumber<RandomNumber>,NumberDefinition
- Enclosing class:
ChiSquareDistribution
-
Nested Class Summary
Nested classes/interfaces inherited from class org.ojalgo.random.ChiSquareDistribution
ChiSquareDistribution.Degree2, ChiSquareDistribution.NormalApproximationNested classes/interfaces inherited from interface org.ojalgo.function.BasicFunction
BasicFunction.Differentiable<N extends Comparable<N>,F extends BasicFunction>, BasicFunction.Integratable<N extends Comparable<N>, F extends BasicFunction>, BasicFunction.PlainUnary<T, R> -
Field Summary
Fields inherited from class org.ojalgo.random.ChiSquareDistribution
NORMAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) doublecalculateDensity(double value) doublegetDistribution(double value) In probability theory and statistics, the cumulative distribution function (CDF), or just distribution function, describes the probability that a real-valued random variable X with a given probability distribution will be found at a value less than or equal to x.Methods inherited from class org.ojalgo.random.ChiSquareDistribution
getDensity, getExpected, getQuantile, getVariance, ofMethods inherited from class org.ojalgo.random.AbstractContinuous
generateMethods inherited from class org.ojalgo.random.RandomNumber
checkProbabilty, compareTo, doubleValue, floatValue, getStandardDeviation, intValue, invoke, longValue, newSampleSet, random, setRandom, setSeed, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.ojalgo.random.ContinuousDistribution
getLowerConfidenceQuantile, getUpperConfidenceQuantileMethods inherited from interface org.ojalgo.random.Distribution
getStandardDeviationMethods inherited from interface org.ojalgo.function.NullaryFunction
andThen, get, getAsDoubleMethods inherited from interface org.ojalgo.type.NumberDefinition
booleanValue, byteValue, shortValue
-
Constructor Details
-
Degree2
Degree2()
-
-
Method Details
-
getDistribution
public double getDistribution(double value) Description copied from interface:ContinuousDistributionIn probability theory and statistics, the cumulative distribution function (CDF), or just distribution function, describes the probability that a real-valued random variable X with a given probability distribution will be found at a value less than or equal to x. Intuitively, it is the "area so far" function of the probability distribution. Cumulative distribution functions are also used to specify the distribution of multivariate random variables. WikipediA- Specified by:
getDistributionin interfaceContinuousDistribution- Overrides:
getDistributionin classChiSquareDistribution- Parameters:
value- x- Returns:
- P(≤x)
-
calculateDensity
double calculateDensity(double value) - Overrides:
calculateDensityin classChiSquareDistribution
-