Class JSci.maths.statistics.FDistribution
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JSci.maths.statistics.FDistribution

java.lang.Object
   |
   +----JSci.maths.statistics.ProbabilityDistribution
           |
           +----JSci.maths.statistics.FDistribution

public final class FDistribution
extends ProbabilityDistribution
The FDistribution class provides an object for encapsulating F-distributions.

Constructor Index

 o FDistribution(double, double)
Constructs an F-distribution.

Method Index

 o cumulative(double)
Cumulative F-distribution function.
 o getDegreesOfFreedomP()
Returns the degrees of freedom p.
 o getDegreesOfFreedomQ()
Returns the degrees of freedom q.
 o inverse(double)
Inverse of the cumulative F-distribution function.
 o probability(double)
Probability density function of an F-distribution.

Constructors

 o FDistribution
  public FDistribution(double dgrP,
                       double dgrQ)
Constructs an F-distribution.
Parameters:
dgrP - degrees of freedom p
dgrQ - degrees of freedom q

Methods

 o getDegreesOfFreedomP
  public double getDegreesOfFreedomP()
Returns the degrees of freedom p.
 o getDegreesOfFreedomQ
  public double getDegreesOfFreedomQ()
Returns the degrees of freedom q.
 o probability
  public double probability(double X)
Probability density function of an F-distribution.
Returns:
the probability that a stochastic variable x has the value X, i.e. P(x=X)
Overrides:
probability in class ProbabilityDistribution
 o cumulative
  public double cumulative(double X)
Cumulative F-distribution function.
Returns:
the probability that a stochastic variable x is less then X, i.e. P(x<X)
Overrides:
cumulative in class ProbabilityDistribution
 o inverse
  public double inverse(double probability)
Inverse of the cumulative F-distribution function.
Returns:
the value X for which P(x<X)
Overrides:
inverse in class ProbabilityDistribution

All Packages  Class Hierarchy  This Package  Previous  Next  Index