com.datumbox.framework.core.statistics.nonparametrics.independentsamples
Class Fisher
- java.lang.Object
-
- com.datumbox.framework.core.statistics.nonparametrics.independentsamples.Fisher
-
public class Fisher extends java.lang.ObjectFisher's exact test.
-
-
Constructor Summary
Constructors Constructor and Description Fisher()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static doublegetPvalue(int n11, int ndot1, int ndot2, int n1dot, int n2dot)Calculates the p-value of null Hypothesisstatic booleantest(int n11, int n12, int n21, int n22, double aLevel)Tests the rejection of null Hypothesis for a particular confidence level.
-
-
-
Method Detail
-
getPvalue
public static double getPvalue(int n11, int ndot1, int ndot2, int n1dot, int n2dot)Calculates the p-value of null Hypothesis- Parameters:
n11-ndot1-ndot2-n1dot-n2dot-- Returns:
-
test
public static boolean test(int n11, int n12, int n21, int n22, double aLevel)Tests the rejection of null Hypothesis for a particular confidence level.- Parameters:
n11-n12-n21-n22-aLevel-- Returns:
-
-
DataMelt 3.0 © DataMelt by jWork.ORG