| Modifier and Type | Field and Description |
|---|---|
| public static final double | DEFAULT_INVERSE_ABSOLUTE_ACCURACY
Default inverse cumulative probability accuracy. |
| private final double | denominatorDegreesOfFreedom
The numerator degrees of freedom. |
| private final double | numeratorDegreesOfFreedom
The numerator degrees of freedom. |
| private double | numericalVariance
Cached numerical variance |
| private boolean | numericalVarianceIsCalculated
Whether or not the numerical variance has been calculated |
| private static final long | serialVersionUID
Hides org. |
| private final double | solverAbsoluteAccuracy
Hides org. |
| Access | Constructor and Description |
|---|---|
| public | FDistribution(double
Numerator degrees of freedom. numeratorDegreesOfFreedom, double Denominator degrees of freedom. denominatorDegreesOfFreedom)Creates an F distribution using the given degrees of freedom. |
| public | FDistribution(double
Numerator degrees of freedom. numeratorDegreesOfFreedom, double Denominator degrees of freedom. denominatorDegreesOfFreedom, double the maximum absolute error in inverse
cumulative probability estimates. inverseCumAccuracy)Creates an F distribution using the given degrees of freedom and inverse cumulative probability accuracy. |
| public | FDistribution(RandomGenerator
Random number generator. rng, double Numerator degrees of freedom. numeratorDegreesOfFreedom, double Denominator degrees of freedom. denominatorDegreesOfFreedom)Creates an F distribution. |
| public | FDistribution(RandomGenerator
Random number generator. rng, double Numerator degrees of freedom. numeratorDegreesOfFreedom, double Denominator degrees of freedom. denominatorDegreesOfFreedom, double the maximum absolute error in inverse
cumulative probability estimates. inverseCumAccuracy)Creates an F distribution. |
| Modifier and Type | Method and Description |
|---|---|
| protected double | Returns: the variance of this distributionused by |
| public double | cumulativeProbability(double
the point at which the CDF is evaluated x)Implements org. For a random variable |
| public double | density(double
the point at which the PDF is evaluated x)Implements org. Returns the probability density function (PDF) of this distribution
evaluated at the specified point |
| public double | Returns: the denominator degrees of freedom.Access the denominator degrees of freedom. |
| public double | Returns: the numerator degrees of freedom.Access the numerator degrees of freedom. |
| public double | getNumericalMean()
Implements org. Use this method to get the numerical value of the mean of this distribution. |
| public double | getNumericalVariance()
Implements org. Use this method to get the numerical value of the variance of this distribution. |
| protected double | getSolverAbsoluteAccuracy()
Overrides org. Returns the solver absolute accuracy for inverse cumulative computation. |
| public double | Returns: lower bound of the support (always 0)Implements org. Access the lower bound of the support. |
| public double | Returns: upper bound of the support (always Double.POSITIVE_INFINITY)Implements org. Access the upper bound of the support. |
| public boolean | Returns: trueImplements org. Use this method to get information about whether the support is connected, i.e. whether all values between the lower and upper bound of the support are included in the support. |
| public boolean | isSupportLowerBoundInclusive()
Implements org. Whether or not the lower bound of support is in the domain of the density function. |
| public boolean | isSupportUpperBoundInclusive()
Implements org. Whether or not the upper bound of support is in the domain of the density function. |
| public double | logDensity(double
the point at which the PDF is evaluated x)Overrides org. Returns the natural logarithm of the probability density function (PDF) of this distribution
evaluated at the specified point |
| DEFAULT_INVERSE_ABSOLUTE_ACCURACY | back to summary |
|---|---|
| public static final double DEFAULT_INVERSE_ABSOLUTE_ACCURACY Default inverse cumulative probability accuracy.
| |
| denominatorDegreesOfFreedom | back to summary |
|---|---|
| private final double denominatorDegreesOfFreedom The numerator degrees of freedom. | |
| numeratorDegreesOfFreedom | back to summary |
|---|---|
| private final double numeratorDegreesOfFreedom The numerator degrees of freedom. | |
| numericalVariance | back to summary |
|---|---|
| private double numericalVariance Cached numerical variance | |
| numericalVarianceIsCalculated | back to summary |
|---|---|
| private boolean numericalVarianceIsCalculated Whether or not the numerical variance has been calculated | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides org. Serializable version identifier. | |
| solverAbsoluteAccuracy | back to summary |
|---|---|
| private final double solverAbsoluteAccuracy Hides org. Inverse cumulative probability accuracy. | |
| FDistribution | back to summary |
|---|---|
| public FDistribution(double numeratorDegreesOfFreedom, double denominatorDegreesOfFreedom) throws NotStrictlyPositiveException Creates an F distribution using the given degrees of freedom. Note this constructor will implicitly create an instance of
| |
| FDistribution | back to summary |
|---|---|
| public FDistribution(double numeratorDegreesOfFreedom, double denominatorDegreesOfFreedom, double inverseCumAccuracy) throws NotStrictlyPositiveException Creates an F distribution using the given degrees of freedom and inverse cumulative probability accuracy. Note this constructor will implicitly create an instance of
| |
| FDistribution | back to summary |
|---|---|
| public FDistribution(RandomGenerator rng, double numeratorDegreesOfFreedom, double denominatorDegreesOfFreedom) throws NotStrictlyPositiveException Creates an F distribution.
| |
| FDistribution | back to summary |
|---|---|
| public FDistribution(RandomGenerator rng, double numeratorDegreesOfFreedom, double denominatorDegreesOfFreedom, double inverseCumAccuracy) throws NotStrictlyPositiveException Creates an F distribution.
| |
| calculateNumericalVariance | back to summary |
|---|---|
| protected double calculateNumericalVariance() used by
| |
| cumulativeProbability | back to summary |
|---|---|
| public double cumulativeProbability(double x) Implements org. Doc from org. For a random variable
| |
| density | back to summary |
|---|---|
| public double density(double x) Implements org. Doc from org. Returns the probability density function (PDF) of this distribution
evaluated at the specified point
| |
| getDenominatorDegreesOfFreedom | back to summary |
|---|---|
| public double getDenominatorDegreesOfFreedom() Access the denominator degrees of freedom.
| |
| getNumeratorDegreesOfFreedom | back to summary |
|---|---|
| public double getNumeratorDegreesOfFreedom() Access the numerator degrees of freedom.
| |
| getNumericalMean | back to summary |
|---|---|
| public double getNumericalMean() Implements org. Doc from org. Use this method to get the numerical value of the mean of this
distribution.
For denominator degrees of freedom parameter
| |
| getNumericalVariance | back to summary |
|---|---|
| public double getNumericalVariance() Implements org. Doc from org. Use this method to get the numerical value of the variance of this
distribution.
For numerator degrees of freedom parameter
| |
| getSolverAbsoluteAccuracy | back to summary |
|---|---|
| protected double getSolverAbsoluteAccuracy() Overrides org. Doc from org. Returns the solver absolute accuracy for inverse cumulative computation. You can override this method in order to use a Brent solver with an absolute accuracy different from the default.
| |
| getSupportLowerBound | back to summary |
|---|---|
| public double getSupportLowerBound() Implements org. Doc from org. Access the lower bound of the support. This method must return the same
value as
| |
| getSupportUpperBound | back to summary |
|---|---|
| public double getSupportUpperBound() Implements org. Doc from org. Access the upper bound of the support. This method must return the same
value as
| |
| isSupportConnected | back to summary |
|---|---|
| public boolean isSupportConnected() Implements org. Doc from org. Use this method to get information about whether the support is connected, i.e. whether all values between the lower and upper bound of the support are included in the support. The support of this distribution is connected.
| |
| isSupportLowerBoundInclusive | back to summary |
|---|---|
| public boolean isSupportLowerBoundInclusive() Implements org. Doc from org. Whether or not the lower bound of support is in the domain of the density
function. Returns true iff
| |
| isSupportUpperBoundInclusive | back to summary |
|---|---|
| public boolean isSupportUpperBoundInclusive() Implements org. Doc from org. Whether or not the upper bound of support is in the domain of the density
function. Returns true iff
| |
| logDensity | back to summary |
|---|---|
| public double logDensity(double x) Overrides org. Doc from org. Returns the natural logarithm of the probability density function (PDF) of this distribution
evaluated at the specified point
| |