|
Release Planner v1.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--rp.estimate.Estimate | +--rp.estimate.DeterministicEstimate
An estimate that is known exactly with no uncertainty.
Constructor Summary | |
DeterministicEstimate(double mean)
Constructs a DeterministicEstimate with the given mean. |
Method Summary | |
double |
getCI(double ci)
Returns a confidence interval on this estimate. |
double |
getMean()
Returns the mean value of this estimate. |
double |
getSdev()
Returns the standard deviation of this estimate. |
double |
getVariance()
Returns the variance of this estimate. |
void |
setMean(double mean)
Sets the mean value of this estimate. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DeterministicEstimate(double mean)
mean
- the initial mean value for this estimateMethod Detail |
public void setMean(double mean)
mean
- the new mean valuepublic double getMean()
Estimate
getMean
in class Estimate
public double getVariance()
Estimate
getVariance
in class Estimate
public double getSdev()
Estimate
getSdev
in class Estimate
public double getCI(double ci) throws UndefinedException
Estimate
getCI
in class Estimate
ci
- a probability 0 <= ci <= 1.
UndefinedException
- ci not defined for certain types of distributions
|
Release Planner v1.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |