bb.science
Interface Bootstrap.UnitTest.Distribution

All Known Implementing Classes:
Bootstrap.UnitTest.CauchyStandard, Bootstrap.UnitTest.DistributionAbstract, Bootstrap.UnitTest.ExponentialStandard, Bootstrap.UnitTest.GaussianStandard
Enclosing class:
Bootstrap.UnitTest

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

getName

String getName()

generateSample

double[] generateSample(int n)

getMean

double getMean()

getMedian

double getMedian()

getSd

double getSd()

getMeanEst

Bootstrap.Estimate getMeanEst(double[] sample,
                              double confidenceLevel)
Returns a theoretically known Estimate for the mean given sample.


getMedianEst

Bootstrap.Estimate getMedianEst(double[] sample,
                                double confidenceLevel)
Returns a theoretically known Estimate for the median of this sample.


getSdEst

Bootstrap.Estimate getSdEst(double[] sample,
                            double confidenceLevel)
Returns a theoretically known Estimate for the sd of this sample.