|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.doodleproject.numerics4j.statistics.distribution.ContinuousDistribution net.sf.doodleproject.numerics4j.statistics.distribution.TDistribution
public class TDistribution
Student's t distribution (1).
References:
Constructor Summary | |
---|---|
TDistribution()
Default constructor. |
|
TDistribution(double df)
Create a distribution with the given degrees of freedom. |
Method Summary | |
---|---|
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. |
Methods inherited from class net.sf.doodleproject.numerics4j.statistics.distribution.ContinuousDistribution |
---|
findInverseCumulativeProbability |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TDistribution()
public TDistribution(double df)
df
- the degrees of freedom.Method Detail |
---|
public double cumulativeProbability(double x) throws NumericException
cumulativeProbability
in class ContinuousDistribution
x
- 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 ContinuousDistribution
p
- 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |