Class TDistribution.Degree5
java.lang.Object
org.ojalgo.random.RandomNumber
org.ojalgo.random.AbstractContinuous
org.ojalgo.random.TDistribution
org.ojalgo.random.TDistribution.Degree5
- All Implemented Interfaces:
Comparable<RandomNumber>, DoubleSupplier, Supplier<Double>, BasicFunction, NullaryFunction<Double>, PrimitiveFunction.Nullary, ContinuousDistribution, Distribution, AccessScalar<Double>, ComparableNumber<RandomNumber>, NumberDefinition
- Enclosing class:
TDistribution
-
Nested Class Summary
Nested classes/interfaces inherited from class TDistribution
TDistribution.Degree1, TDistribution.Degree2, TDistribution.Degree3, TDistribution.Degree4, TDistribution.Degree5, TDistribution.DegreeInfinityNested classes/interfaces inherited from interface BasicFunction
BasicFunction.Differentiable<N,F>, BasicFunction.Integratable<N, F>, BasicFunction.PlainUnary<T, R> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetDensity(double value) In probability theory, a probability density function (pdf), or density of a continuous random variable is a function that describes the relative likelihood for this random variable to occur at a given point.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 TDistribution
getExpected, getQuantile, getVariance, of, ofInfinityMethods inherited from class AbstractContinuous
generateMethods inherited from class RandomNumber
checkProbabilty, compareTo, doubleValue, floatValue, getStandardDeviation, intValue, invoke, longValue, newSampleSet, random, setRandom, setSeed, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ContinuousDistribution
getLowerConfidenceQuantile, getUpperConfidenceQuantileMethods inherited from interface Distribution
getStandardDeviationMethods inherited from interface NullaryFunction
andThen, get, getAsDoubleMethods inherited from interface NumberDefinition
booleanValue, byteValue, shortValue
-
Field Details
-
SQRT5
private static final double SQRT5
-
-
Constructor Details
-
Degree5
Degree5()
-
-
Method Details
-
getDensity
public double getDensity(double value) Description copied from interface:ContinuousDistributionIn probability theory, a probability density function (pdf), or density of a continuous random variable is a function that describes the relative likelihood for this random variable to occur at a given point. The probability for the random variable to fall within a particular region is given by the integral of this variable's density over the region. The probability density function is nonnegative everywhere, and its integral over the entire space is equal to one. WikipediA- Specified by:
getDensityin interfaceContinuousDistribution- Overrides:
getDensityin classTDistribution- Parameters:
value- x- Returns:
- P(x)
-
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 classTDistribution- Parameters:
value- x- Returns:
- P(≤x)
-