Example usage for Java org.apache.commons.math3.distribution RealDistribution fields, constructors, methods, implement or subclass
The text is from its open source code.
double | cumulativeProbability(double x) For a random variable X whose values are distributed according to this distribution, this method returns P(X <= x) . |
double | cumulativeProbability(double x0, double x1) For a random variable X whose values are distributed according to this distribution, this method returns P(x0 < X <= x1) . |
double | density(double x) Returns the probability density function (PDF) of this distribution evaluated at the specified point x . |
double | getNumericalMean() Use this method to get the numerical value of the mean of this distribution. |
double | getNumericalVariance() Use this method to get the numerical value of the variance of this distribution. |
double | getSupportLowerBound() Access the lower bound of the support. |
double | getSupportUpperBound() Access the upper bound of the support. |
double | inverseCumulativeProbability(double p) Computes the quantile function of this distribution. |
void | reseedRandomGenerator(long seed) Reseed the random generator used to generate samples. |
double | sample() Generate a random value sampled from this distribution. |
double[] | sample(int sampleSize) Generate a random sample from the distribution. |
String | toString() Returns a string representation of the object. |