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.
-
TDistribution(int)
- Constructor for student's t-distribution.
-
cumulative(double)
- Cumulative student's t-distribution function.
-
getDegreesOfFreedom()
- Returns the degrees of freedom.
-
inverse(double)
- Inverse of the cumulative student's t-distribution function.
-
probability(double)
- Probability density function of a student's t-distribution.
TDistribution
public TDistribution(int r)
- Constructor for student's t-distribution.
- Parameters:
- r - degrees of freedom
getDegreesOfFreedom
public int getDegreesOfFreedom()
- Returns the degrees of freedom.
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
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
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