public class Significance extends Object
Constructor and Description |
---|
Significance() |
Modifier and Type | Method and Description |
---|---|
static double |
getSignificance(double[] sample1,
double[] sample2)
Uses a paired t-test to test whether the correlation value computed from these datasets is significant.
|
static double |
getSignificance(double correlation1,
double correlation2,
int n1,
int n2)
Computes the significance of the difference between two correlations.
|
static double |
getSignificance(List<Double> list1,
List<Double> list2) |
static boolean |
testCorrelations(double correlation1,
double correlation2,
int n1,
int n2,
double alpha)
Tests two correlation values for equality.
|
public static boolean testCorrelations(double correlation1, double correlation2, int n1, int n2, double alpha) throws org.apache.commons.math.MathException
correlation1
- The first correlation value.correlation2
- The second correlation value.n1
- The size of the first dataset.n2
- The size of the second dataset.alpha
- The significance level.org.apache.commons.math.MathException
public static double getSignificance(double[] sample1, double[] sample2) throws IllegalArgumentException, org.apache.commons.math.MathException
sample1
- The first dataset vector.sample2
- The second dataset vector.org.apache.commons.math.MathException
IllegalArgumentException
public static double getSignificance(List<Double> list1, List<Double> list2) throws IllegalArgumentException, org.apache.commons.math.MathException
org.apache.commons.math.MathException
IllegalArgumentException
org.tud.sir.util.statistics.Significance#getSignificance(double[], double[])
public static double getSignificance(double correlation1, double correlation2, int n1, int n2) throws org.apache.commons.math.MathException
org.apache.commons.math.MathException
org.tud.sir.util.statistics.Significance.testCorrelations
Copyright © 2011–2015 Ubiquitous Knowledge Processing (UKP) Lab. All rights reserved.