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