|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectbaseCode.math.distribution.UniformProbabilityComputer
Generate probabilities from the uniform distribution.
Copyright (c) 2004 Columbia University
| Constructor Summary | |
UniformProbabilityComputer()
Create a UniformProbabilityComputer where the density is defined over the unit inteval [0,1]. |
|
UniformProbabilityComputer(double min,
double max)
Create a UniformProbabilityComputer where the density is defined over the interval given |
|
| Method Summary | |
double |
probability(double x)
Return the probability associated with a certain value.The upper tail of the associated distribution is returned. |
double |
probability(double x,
boolean upperTail)
Return the probability associated with a certain value, with choice of tail. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UniformProbabilityComputer()
public UniformProbabilityComputer(double min,
double max)
min - max - | Method Detail |
public double probability(double x)
ProbabilityComputer
probability in interface ProbabilityComputerx -
public double probability(double x,
boolean upperTail)
ProbabilityComputer
probability in interface ProbabilityComputerx - upperTail -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||