Package gov.nih.mipav.model.algorithms
Class Statistics
java.lang.Object
gov.nih.mipav.model.algorithms.Statistics
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate double[]static final intstatic final intstatic final intstatic final intstatic final intAlso known as the normal probability functionstatic final intprivate intstatic final intstatic final intstatic final intprivate doubleprivate double -
Constructor Summary
ConstructorsConstructorDescriptionStatistics(int statisticType, double x, double degreesOfFreedom, double[] ansR) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprivate voidprivate voidprivate voidprivate voidprivate voidFormula found in Computation of Special Functions by Shanjie Zhang and Jianming Jin Chapter 16.3 Gaussian Probability Integral page 625.voidrun()private voidvoidprivate voidprivate void
-
Field Details
-
GAUSSIAN_PROBABILITY_FUNCTION
public static final int GAUSSIAN_PROBABILITY_FUNCTIONAlso known as the normal probability function- See Also:
-
GAUSSIAN_PROBABILITY_INTEGRAL
public static final int GAUSSIAN_PROBABILITY_INTEGRAL- See Also:
-
GAUSSIAN_INVERSE_CUMULATIVE_DISTRIBUTION_FUNCTION
public static final int GAUSSIAN_INVERSE_CUMULATIVE_DISTRIBUTION_FUNCTION- See Also:
-
STUDENTS_T_DISTRIBUTION_PROBABILITY_DENSITY_FUNCTION
public static final int STUDENTS_T_DISTRIBUTION_PROBABILITY_DENSITY_FUNCTION- See Also:
-
STUDENTS_T_DISTRIBUTION_CUMULATIVE_DISTRIBUTION_FUNCTION
public static final int STUDENTS_T_DISTRIBUTION_CUMULATIVE_DISTRIBUTION_FUNCTION- See Also:
-
STUDENTS_T_INVERSE_CUMULATIVE_DISTRIBUTION_FUNCTION
public static final int STUDENTS_T_INVERSE_CUMULATIVE_DISTRIBUTION_FUNCTION- See Also:
-
CHI_SQUARED_PROBABILITY_DENSITY_FUNCTION
public static final int CHI_SQUARED_PROBABILITY_DENSITY_FUNCTION- See Also:
-
CHI_SQUARED_CUMULATIVE_DISTRIBUTION_FUNCTION
public static final int CHI_SQUARED_CUMULATIVE_DISTRIBUTION_FUNCTION- See Also:
-
CHI_SQUARED_INVERSE_CUMULATIVE_DISTRIBUTION_FUNCTION
public static final int CHI_SQUARED_INVERSE_CUMULATIVE_DISTRIBUTION_FUNCTION- See Also:
-
statisticType
private int statisticType -
x
private double x -
v
private double v -
ansR
private double[] ansR
-
-
Constructor Details
-
Statistics
public Statistics() -
Statistics
public Statistics(int statisticType, double x, double degreesOfFreedom, double[] ansR)
-
-
Method Details
-
testChiSquaredInverseCumulativeDistributionFunction
public void testChiSquaredInverseCumulativeDistributionFunction() -
run
public void run() -
gaussianProbabilityFunction
private void gaussianProbabilityFunction() -
gaussianProbabilityIntegral
private void gaussianProbabilityIntegral()Formula found in Computation of Special Functions by Shanjie Zhang and Jianming Jin Chapter 16.3 Gaussian Probability Integral page 625. |error(x)| invalid input: '<'= 7.5E-8 -
gaussianInverseCumulativeDistributionFunction
private void gaussianInverseCumulativeDistributionFunction() -
tProbabilityFunction
private void tProbabilityFunction() -
tCumulativeDistributionFunction
private void tCumulativeDistributionFunction() -
tInverseCumulativeDistributionFunction
private void tInverseCumulativeDistributionFunction() -
chiSquaredProbabilityDensityFunction
private void chiSquaredProbabilityDensityFunction() -
chiSquaredCumulativeDistributionFunction
private void chiSquaredCumulativeDistributionFunction() -
chiSquaredInverseCumulativeDistributionFunction
private void chiSquaredInverseCumulativeDistributionFunction()
-