public final class FDistribution extends ProbabilityDistribution
Constructor and Description |
---|
FDistribution(double dgrP,
double dgrQ)
Constructs an F-distribution.
|
Modifier and Type | Method and Description |
---|---|
double |
cumulative(double X)
Cumulative F-distribution function.
|
double |
getDegreesOfFreedomP()
Returns the degrees of freedom p.
|
double |
getDegreesOfFreedomQ()
Returns the degrees of freedom q.
|
double |
inverse(double probability)
Inverse of the cumulative F-distribution function.
|
double |
probability(double X)
Probability density function of an F-distribution.
|
checkRange, checkRange, findRoot
public FDistribution(double dgrP, double dgrQ)
dgrP
- degrees of freedom p.dgrQ
- degrees of freedom q.public double getDegreesOfFreedomP()
public double getDegreesOfFreedomQ()
public double probability(double X)
probability
in class ProbabilityDistribution
public double cumulative(double X)
cumulative
in class ProbabilityDistribution
public double inverse(double probability)
inverse
in class ProbabilityDistribution