    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.

##

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

##

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

##

FDistribution

     public FDistribution(double dgrP,
                          double dgrQ)

  Constructs an F-distribution.

  Parameters:
    dgrP - degrees of freedom p
    dgrQ - degrees of freedom q

##

getDegreesOfFreedomP

     public double getDegreesOfFreedomP()

  Returns the degrees of freedom p.

getDegreesOfFreedomQ

     public double getDegreesOfFreedomQ()

  Returns the degrees of freedom q.

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

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

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