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

Class JSci.maths.statistics.TDistribution

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

public final class TDistribution
extends ProbabilityDistribution
The TDistribution class provides an object for encapsulating student's t-distributions.

Constructor Index

 o TDistribution(int)
Constructor for student's t-distribution.

Method Index

 o cumulative(double)
Cumulative student's t-distribution function.
 o getDegreesOfFreedom()
Returns the degrees of freedom.
 o inverse(double)
Inverse of the cumulative student's t-distribution function.
 o probability(double)
Probability density function of a student's t-distribution.

Constructors

 o TDistribution
  public TDistribution(int r)
Constructor for student's t-distribution.
Parameters:
r - degrees of freedom

Methods

 o getDegreesOfFreedom
  public int getDegreesOfFreedom()
Returns the degrees of freedom.
 o probability
  public double probability(double X)
Probability density function of a student's t-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 student's t-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 student's t-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