public static class StudentizedRangeDistribution.CDF extends StudentizedRangeDistribution implements ClosedFormCumulativeDistributionFunction<java.lang.Double>, InvertibleCumulativeDistributionFunction<java.lang.Double>
StudentizedRangeDistribution.APStat, StudentizedRangeDistribution.CDF, StudentizedRangeDistribution.SampleRangeDEFAULT_DEGREES_OF_FREEDOM, DEFAULT_NUM_SAMPLES, DEFAULT_TREATMENT_COUNT, degreesOfFreedom, random, treatmentCount| Constructor and Description |
|---|
CDF()
Default constructor
|
CDF(int treatmentCount,
double degreesOfFreedom)
Creates a new instance of StudentizedRangeDistribution
|
CDF(StudentizedRangeDistribution other)
Copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Double |
evaluate(java.lang.Double input)
Evaluates the function on the given input and returns the output.
|
StudentizedRangeDistribution.CDF |
getCDF()
Gets the CDF of a scalar distribution.
|
java.lang.Double |
inverse(double probability)
Computes the inverse of the CDF for the given probability.
|
clone, convertFromVector, convertToVector, getDegreesOfFreedom, getMaxSupport, getMean, getMeanAsDouble, getMinSupport, getRandom, getTreatmentCount, getVariance, sampleInto, setDegreesOfFreedom, setRandom, setTreatmentCountsample, sampleequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclone, convertFromVector, convertToVectorgetMaxSupport, getMeanAsDouble, getMinSupport, getVariancegetMeansample, sample, sampleIntopublic CDF()
public CDF(int treatmentCount,
double degreesOfFreedom)
treatmentCount - Number of comparisons madedegreesOfFreedom - Number of subjects in each treatment minus one.public CDF(StudentizedRangeDistribution other)
other - StudentizedRangeDistribution to copypublic java.lang.Double evaluate(java.lang.Double input)
Evaluatorpublic java.lang.Double inverse(double probability)
InvertibleCumulativeDistributionFunctioninverse in interface InvertibleCumulativeDistributionFunction<java.lang.Double>probability - Probability to invert.public StudentizedRangeDistribution.CDF getCDF()
UnivariateDistributiongetCDF in interface ClosedFormUnivariateDistribution<java.lang.Double>getCDF in interface UnivariateDistribution<java.lang.Double>getCDF in class StudentizedRangeDistribution