public final class BetaDistribution extends ProbabilityDistribution
Constructor and Description |
---|
BetaDistribution(double dgrP,
double dgrQ)
Constructs a beta distribution.
|
Modifier and Type | Method and Description |
---|---|
double |
cumulative(double X)
Cumulative beta 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 beta distribution function.
|
double |
probability(double X)
Probability density function of a beta distribution.
|
checkRange, checkRange, findRoot
public BetaDistribution(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