public static class SnedecorFDistribution.CDF extends SnedecorFDistribution implements ClosedFormCumulativeDistributionFunction<java.lang.Double>, UnivariateScalarFunction
SnedecorFDistribution.CDFDEFAULT_V1, DEFAULT_V2| Constructor and Description |
|---|
CDF()
Default constructor
|
CDF(double v1,
double v2)
Creates a new instance of CumulativeDistribution
|
CDF(SnedecorFDistribution other)
Copy Constructor
|
| Modifier and Type | Method and Description |
|---|---|
double |
evaluate(double input)
Produces a double output for the given double input
|
java.lang.Double |
evaluate(java.lang.Double input)
Evaluates the function on the given input and returns the output.
|
static double |
evaluate(double input,
double v1,
double v2)
Evaluates the F-distribution CDF(input,v1,v2)
|
double |
evaluateAsDouble(java.lang.Double input)
Evaluates the scalar function as a double.
|
SnedecorFDistribution.CDF |
getCDF()
Gets the CDF of a scalar distribution.
|
clone, convertFromVector, convertToVector, getMaxSupport, getMean, getMeanAsDouble, getMinSupport, getV1, getV2, getVariance, sampleInto, setV1, setV2sample, sampleequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclone, convertFromVector, convertToVectorgetMaxSupport, getMeanAsDouble, getMinSupport, getVariancegetMeansample, sample, sampleIntopublic CDF()
public CDF(double v1,
double v2)
v1 - First degree of freedomv2 - Second degree of freedompublic CDF(SnedecorFDistribution other)
other - CumulativeDistribution to copypublic double evaluate(double input)
UnivariateScalarFunctionevaluate in interface UnivariateScalarFunctioninput - Input to the Evaluatorpublic java.lang.Double evaluate(java.lang.Double input)
Evaluatorevaluate in interface Evaluator<java.lang.Double,java.lang.Double>evaluate in interface ScalarFunction<java.lang.Double>evaluate in interface UnivariateScalarFunctioninput - The input to evaluate.public double evaluateAsDouble(java.lang.Double input)
ScalarFunctionevaluateAsDouble in interface ScalarFunction<java.lang.Double>evaluateAsDouble in interface UnivariateScalarFunctioninput - The input value.public static double evaluate(double input,
double v1,
double v2)
input - Input independent variable in the F-distributionv1 - First degree of freedomv2 - Second degree of freedompublic SnedecorFDistribution.CDF getCDF()
UnivariateDistributiongetCDF in interface ClosedFormUnivariateDistribution<java.lang.Double>getCDF in interface UnivariateDistribution<java.lang.Double>getCDF in class SnedecorFDistribution