public class TDistribution extends ContinuousDistribution
Student's t distribution (1).
References:
| Constructor and Description |
|---|
TDistribution()
Default constructor.
|
TDistribution(double df)
Create a distribution with the given degrees of freedom.
|
| Modifier and Type | Method and Description |
|---|---|
double |
cumulativeProbability(double x)
The CDF for this distribution.
|
double |
getDegreesOfFreedom()
Access the degrees of freedom.
|
double |
inverseCumulativeProbability(double p)
The inverse CDF for this distribution.
|
void |
setDegreesOfFreedom(double df)
Modify the degrees of freedom.
|
public TDistribution()
public TDistribution(double df)
df - the degrees of freedom.public double cumulativeProbability(double x)
throws NumericException
cumulativeProbability in class ContinuousDistributionx - the value at which the CDF is evaluated.NumericException - if the cumulative probability can not be
computed.public double getDegreesOfFreedom()
public double inverseCumulativeProbability(double p)
throws NumericException
inverseCumulativeProbability in class ContinuousDistributionp - the cumulative probability.NumericException - if the inverse cumulative probability can not be
computed.public void setDegreesOfFreedom(double df)
df - the new degrees of freedom value.DMelt 2.0 © DataMelt by jWork.ORG