|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.statcato.statistics.ProbabilityDistribution
public abstract class ProbabilityDistribution
Abtract base class of different types of continuous probability distributions. Subclasses must implement density and cumulativeProbability methods.
| Constructor Summary | |
|---|---|
ProbabilityDistribution()
|
|
| Method Summary | |
|---|---|
abstract double |
cumulativeProbability(double x)
Returns the cumulative probabililty up to x. |
abstract double |
density(double x)
Returns the density of the distribution at x. |
double |
inverseCumulativeProbability(double x1,
double x2,
double tol,
double area)
Returns the inverse cumulative probability. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProbabilityDistribution()
| Method Detail |
|---|
public abstract double density(double x)
x -
public abstract double cumulativeProbability(double x)
x -
public double inverseCumulativeProbability(double x1,
double x2,
double tol,
double area)
x1 - lower bound of rootx2 - upper bound of roottol - tolerancearea - cumulative probability
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||