|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object JSci.maths.statistics.ProbabilityDistribution JSci.maths.statistics.BetaDistribution
public final class BetaDistribution
The BetaDistribution class provides an object for encapsulating beta distributions.
Constructor Summary | |
---|---|
BetaDistribution(double dgrP,
double dgrQ)
Constructs a beta distribution. |
Method Summary | |
---|---|
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. |
Methods inherited from class JSci.maths.statistics.ProbabilityDistribution |
---|
checkRange, checkRange, findRoot |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BetaDistribution(double dgrP, double dgrQ)
dgrP
- degrees of freedom p.dgrQ
- degrees of freedom q.Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |