com.datumbox.framework.core.statistics.nonparametrics.independentsamples
Class Chisquare
- java.lang.Object
-
- com.datumbox.framework.core.statistics.nonparametrics.independentsamples.Chisquare
-
public class Chisquare extends java.lang.ObjectChisqaure non-parametric independent sample test.
-
-
Constructor Summary
Constructors Constructor and Description Chisquare()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static doublegetPvalue(DataTable2D dataTable)Calculates the p-value of null Hypothesisstatic AssociativeArraygetScore(DataTable2D dataTable)Calculates the score of Chisquare test.static doublegetScoreValue(DataTable2D dataTable)Convenience method to get the score of Chisquare.static booleantest(DataTable2D dataTable, double aLevel)Tests the rejection of null Hypothesis for a particular confidence level
-
-
-
Method Detail
-
getScore
public static AssociativeArray getScore(DataTable2D dataTable)
Calculates the score of Chisquare test.- Parameters:
dataTable-- Returns:
-
getScoreValue
public static double getScoreValue(DataTable2D dataTable)
Convenience method to get the score of Chisquare.- Parameters:
dataTable-- Returns:
-
getPvalue
public static double getPvalue(DataTable2D dataTable)
Calculates the p-value of null Hypothesis- Parameters:
dataTable-- Returns:
-
test
public static boolean test(DataTable2D dataTable, double aLevel)
Tests the rejection of null Hypothesis for a particular confidence level- Parameters:
dataTable-aLevel-- Returns:
-
-
DataMelt 3.0 © DataMelt by jWork.ORG