public final class TDistribution extends ProbabilityDistribution
| Constructor and Description |
|---|
TDistribution(int r)
Constructor for student's t-distribution.
|
| Modifier and Type | Method and Description |
|---|---|
double |
cumulative(double X)
Cumulative student's t-distribution function.
|
int |
getDegreesOfFreedom()
Returns the degrees of freedom.
|
double |
inverse(double probability)
Inverse of the cumulative student's t-distribution function.
|
double |
probability(double X)
Probability density function of a student's t-distribution.
|
checkRange, checkRange, findRootpublic TDistribution(int r)
r - degrees of freedom.public int getDegreesOfFreedom()
public double probability(double X)
probability in class ProbabilityDistributionpublic double cumulative(double X)
cumulative in class ProbabilityDistributionpublic double inverse(double probability)
inverse in class ProbabilityDistribution