Related Experiment Video
Updated: Apr 23, 2026

Large-scale Reconstructions and Independent, Unbiased Clustering Based on Morphological Metrics to Classify Neurons in Selective Populations
Published on: February 15, 2017
A novel test for independence derived from an exact distribution of ith nearest neighbours
Sebastian Dümcke1, Ulrich Mansmann2, Achim Tresch1
1Institute for Genetics, Universität zu Köln, Cologne, Germany; Max Planck Institute for Plant Breeding Research, Cologne, Germany.
Abstract:
Dependence measures and tests for independence have recently attracted a lot of attention, because they are the cornerstone of algorithms for network inference in probabilistic graphical models. Pearson's product moment correlation coefficient is still by far the most widely used statistic yet it is largely constrained to detecting linear relationships. In this work we provide an exact formula for the [Formula: see text]th nearest neighbor distance distribution of rank-transformed data. Based on that, we propose two novel tests for independence. An implementation of these tests, together with a general benchmark framework for independence testing, are freely available as a CRAN software package (http://cran.r-project.org/web/packages/knnIndep). In this paper we have benchmarked Pearson's correlation, Hoeffding's D, dcor, Kraskov's estimator for mutual information, maximal information criterion and our two tests. We conclude that no particular method is generally superior to all other methods. However, dcor and Hoeffding's D are the most powerful tests for many different types of dependence.
Related Concept Videos
Introduction to Test of Independence
The test statistic for a test of independence is similar to that of a goodness-of-fit test:
Test for Homogeneity
Hypothesis Test for Test of Independence
H0: The two variables (factors)...
Quantifying and Rejecting Outliers: The Grubbs Test
Kruskal-Wallis Test
Chi-square Distribution

