@Reference(authors="W. Hoeffding", title="A non-parametric test of independence", booktitle="The Annals of Mathematical Statistics 19", url="http://www.jstor.org/stable/2236021") public class HoeffdingsDDependenceMeasure extends AbstractDependenceMeasure
W. Hoeffding:
A non-parametric test of independence
The Annals of Mathematical Statistics 19:546–57
[-.5;1]
.Modifier and Type | Class and Description |
---|---|
static class |
HoeffdingsDDependenceMeasure.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
static HoeffdingsDDependenceMeasure |
STATIC
Static instance.
|
private static double[] |
TABPOS |
private static double[] |
TABVAL |
Modifier | Constructor and Description |
---|---|
protected |
HoeffdingsDDependenceMeasure()
Constructor - use
STATIC instance. |
Modifier and Type | Method and Description |
---|---|
protected static <A,B> double[] |
computeBivariateRanks(NumberArrayAdapter<?,A> adapter1,
A data1,
NumberArrayAdapter<?,B> adapter2,
B data2,
int len)
Compute bivariate ranks.
|
<A,B> double |
dependence(NumberArrayAdapter<?,A> adapter1,
A data1,
NumberArrayAdapter<?,B> adapter2,
B data2)
Measure the dependence of two variables.
|
double |
toPValue(double d,
int n)
Convert Hoeffding D value to a p-value.
|
clamp, computeNormalizedRanks, dependence, dependence, dependence, discretize, index, ranks, ranks, size, size, sortedIndex
public static final HoeffdingsDDependenceMeasure STATIC
private static final double[] TABVAL
private static final double[] TABPOS
protected HoeffdingsDDependenceMeasure()
STATIC
instance.public <A,B> double dependence(NumberArrayAdapter<?,A> adapter1, A data1, NumberArrayAdapter<?,B> adapter2, B data2)
DependenceMeasure
dependence
in interface DependenceMeasure
dependence
in class AbstractDependenceMeasure
A
- First array typeB
- Second array typeadapter1
- First data adapterdata1
- First data setadapter2
- Second data adapterdata2
- Second data setprotected static <A,B> double[] computeBivariateRanks(NumberArrayAdapter<?,A> adapter1, A data1, NumberArrayAdapter<?,B> adapter2, B data2, int len)
adapter1
- First adapterdata1
- First data setadapter2
- Second adapterdata2
- Second data setlen
- Lengthpublic double toPValue(double d, int n)
d
- D valuen
- Data set sizeCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.