Hostname: page-component-74656f9884-2dmjx Total loading time: 0 Render date: 2026-11-07T04:15:23.062Z Has data issue: false hasContentIssue false

The Berkelmans–Pries dependency function: A generic measure of dependence between random variables

Published online by Cambridge University Press:  23 March 2023

Guus Berkelmans*
Affiliation:
Centrum Wiskunde & Informatica
Sandjai Bhulai*
Affiliation:
Vrije Universiteit (VU)
Rob van der mei*
Affiliation:
Centrum Wiskunde & Informatica Vrije Universiteit
Joris Pries*
Affiliation:
Centrum Wiskunde & Informatica
*
*Postal address: Department of Stochastics, P.O. Box 94079, 1090 GB Amsterdam, Netherlands
***Postal address: Department of Mathematics, De Boelelaan 1111, 1081 HV Amsterdam, Netherlands. Email: s.bhulai@vu.nl
****Postal address: Department of Stochastics, Science Park 123, 1098 XG Amsterdam, Netherlands. Email: mei@cwi.nl
*Postal address: Department of Stochastics, P.O. Box 94079, 1090 GB Amsterdam, Netherlands
Rights & Permissions [Opens in a new window]

Abstract

Measuring and quantifying dependencies between random variables (RVs) can give critical insights into a dataset. Typical questions are: ‘Do underlying relationships exist?’, ‘Are some variables redundant?’, and ‘Is some target variable Y highly or weakly dependent on variable X?’ Interestingly, despite the evident need for a general-purpose measure of dependency between RVs, common practice is that most data analysts use the Pearson correlation coefficient to quantify dependence between RVs, while it is recognized that the correlation coefficient is essentially a measure for linear dependency only. Although many attempts have been made to define more generic dependency measures, there is no consensus yet on a standard, general-purpose dependency function. In fact, several ideal properties of a dependency function have been proposed, but without much argumentation. Motivated by this, we discuss and revise the list of desired properties and propose a new dependency function that meets all these requirements. This general-purpose dependency function provides data analysts with a powerful means to quantify the level of dependence between variables. To this end, we also provide Python code to determine the dependency function for use in practice.

Information

Type
Original Article
Copyright
© The Author(s), 2023. Published by Cambridge University Press on behalf of Applied Probability Trust
Figure 0

Table 1. A summary of desirable properties for a dependency function as stated in previous literature.

Figure 1

Table 2. New list of desirable properties for a dependency function.

Figure 2

Table 3. Properties of previous dependencies functions (= property not satisfied, ${\checkmark}$ = property satisfied)

Figure 3

Figure 1. Influence of the chosen (a) bandwidth and (b) number of bins on the dependency score $\text{Dep} (Y \mid X)$ with 5000 samples of ${X\sim \mathcal{U}(0,1)}$ and ${Y = X + \epsilon}$ with ${\epsilon \sim \mathcal{N}(0,0.1)}$.