|
||||||||||
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
public abstract class ContinuousDistribution
Base continuous distribution.
Constructor Summary | |
---|---|
ContinuousDistribution()
|
Method Summary | |
---|---|
abstract double |
cumulativeProbability(double x)
The CDF for this distribution. |
protected double |
findInverseCumulativeProbability(double p,
double lower,
double initial,
double upper)
Generic means to compute inverse cumulative probability values. |
abstract double |
inverseCumulativeProbability(double p)
The inverse CDF for this distribution. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContinuousDistribution()
Method Detail |
---|
public abstract double cumulativeProbability(double x) throws NumericException
x
- the value at which the CDF is evaluated.
NumericException
- if the cumulative probability can not be
computed.public abstract double inverseCumulativeProbability(double p) throws NumericException
p
- the cumulative probability.
NumericException
- if the inverse cumulative probability can not be
computed.protected double findInverseCumulativeProbability(double p, double lower, double initial, double upper) throws NumericException
p
- the cumulative probability.lower
- the global lower bound of the inverse CDF value.initial
- an initial guess at the inverse CDF value.upper
- the global upper bound of the inverse CDF value.
NumericException
- if the inverse cumulative probability can not be
computed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |