|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.statcato.statistics.IntegerProbabilityDistribution
public class IntegerProbabilityDistribution
Integer probability distribution class. Discrete uniform probability distribution, where each integer in a specific interval has the same probability of occurring.
| Constructor Summary | |
|---|---|
IntegerProbabilityDistribution(int min,
int max)
Constructs an Integer probability distribution with the given minimum and maximum values. |
|
| Method Summary | |
|---|---|
double |
cumulativeProbability(double x)
Returns the cumulative probabililty up to x. |
double |
density(double x)
Returns the density of the distribution at x. |
java.lang.Integer |
inverseCumulativeProbability(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 IntegerProbabilityDistribution(int min,
int max)
min - minimummax - maximum| Method Detail |
|---|
public double density(double x)
x - an integer
public double cumulativeProbability(double x)
x - an integer
public java.lang.Integer inverseCumulativeProbability(double area)
area - cumulative probability
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||