public class FDistribution extends ContinuousDistribution
The F distribution (1).
References:
Constructor and Description |
---|
FDistribution()
Default constructor.
|
FDistribution(double dfn,
double dfd)
Create a distribution with the given numerator degrees of freedom and
denominator degrees of freedom.
|
Modifier and Type | Method and Description |
---|---|
double |
cumulativeProbability(double x)
The CDF for this distribution.
|
double |
getDenominatorDegreesOfFreedom()
Access the denominator degrees of freedom.
|
double |
getNumeratorDegreesOfFreedom()
Access the numerator degrees of freedom.
|
double |
inverseCumulativeProbability(double p)
The inverse CDF for this distribution.
|
void |
setDenominatorDegreesOfFreedom(double degreesOfFreedom)
Modify the denominator degrees of freedom.
|
void |
setNumeratorDegreesOfFreedom(double degreesOfFreedom)
Modify the numerator degrees of freedom.
|
public FDistribution()
public FDistribution(double dfn, double dfd)
dfn
- the numerator degrees of freedom.dfd
- the denominator degrees of freedom.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 getDenominatorDegreesOfFreedom()
public double getNumeratorDegreesOfFreedom()
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 setDenominatorDegreesOfFreedom(double degreesOfFreedom)
degreesOfFreedom
- the new denominator degrees of freedom.public void setNumeratorDegreesOfFreedom(double degreesOfFreedom)
degreesOfFreedom
- the new numerator degrees of freedom.Jas4pp 1.5 © Java Analysis Studio for Particle Physics