public class Normal extends RandomNumber
BasicFunction.Differentiable<N extends Number,F extends BasicFunction>, BasicFunction.Integratable<N extends Number,F extends BasicFunction>, BasicFunction.PlainUnary<T,R>
Constructor and Description |
---|
Normal() |
Normal(double location,
double scale) |
Modifier and Type | Method and Description |
---|---|
protected double |
generate() |
double |
getDensity(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.
|
double |
getDistribution(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.
|
double |
getExpected() |
double |
getLowerConfidenceQuantile(double confidence) |
double |
getQuantile(double probability)
The quantile function, for any distribution, is defined for real variables between zero and one and is
mathematically the inverse of the cumulative distribution function.
|
double |
getStandardDeviation()
Subclasses must override either getStandardDeviation() or getVariance()!
|
double |
getUpperConfidenceQuantile(double confidence) |
checkProbabilty, doubleValue, floatValue, getVariance, intValue, invoke, longValue, newSampleSet, random, setSeed, toString
byteValue, shortValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getProbability
getVariance
andThen, get, getAsDouble
public double getDensity(double value)
ContinuousDistribution
value
- xpublic double getDistribution(double value)
ContinuousDistribution
value
- xpublic double getExpected()
public double getQuantile(double probability)
ContinuousDistribution
probability
- P(<=x)public double getStandardDeviation()
RandomNumber
getStandardDeviation
in interface Distribution
getStandardDeviation
in class RandomNumber
Distribution.getStandardDeviation()
,
Distribution.getVariance()
protected double generate()
public final double getLowerConfidenceQuantile(double confidence)
public final double getUpperConfidenceQuantile(double confidence)
Copyright © 2019 Optimatika. All rights reserved.