|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
private static interface Bootstrap.UnitTest.Distribution
Specifies the api for classes that model a probability distribution.
Implementations must be multithread safe.
Method Summary | |
---|---|
double[] |
generateSample(int n)
|
double |
getMean()
|
Bootstrap.Estimate |
getMeanEst(double[] sample,
double confidenceLevel)
Returns a theoretically known Estimate for the mean given sample. |
double |
getMedian()
|
Bootstrap.Estimate |
getMedianEst(double[] sample,
double confidenceLevel)
Returns a theoretically known Estimate for the median of this sample. |
String |
getName()
|
double |
getSd()
|
Bootstrap.Estimate |
getSdEst(double[] sample,
double confidenceLevel)
Returns a theoretically known Estimate for the sd of this sample. |
Method Detail |
---|
String getName()
double[] generateSample(int n)
double getMean()
double getMedian()
double getSd()
Bootstrap.Estimate getMeanEst(double[] sample, double confidenceLevel)
Bootstrap.Estimate getMedianEst(double[] sample, double confidenceLevel)
Bootstrap.Estimate getSdEst(double[] sample, double confidenceLevel)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |