Proper Correlation Coefficients for Nominal Random Variables
Jan-Lukas Wermuth
TL;DR
This paper introduces a new notion of perfect dependence for pairs of variables where at least one is nominal, ensuring attainability irrespective of marginals. It defines proper dependence measures built from permutations of nominal categories, with a focus on a gamma-based coefficient $\gamma^{*}$ that attains 1 if and only if perfect dependence holds (in the nominal sense). The authors develop a consistent estimator for the measure and derive its non-standard, permutation-based asymptotic distribution, enabling confidence intervals and an independence test, complemented by a simulation study and two real-data applications (countries with income and with religion). The approach addresses limitations of classical measures (e.g., Cramér's V, GK-lambda/tau, and the uncertainty coefficient) by handling nominal–continuous cases and guaranteeing attainability, offering a practical and theoretically grounded toolkit for dependence assessment in nominal settings.
Abstract
This paper develops an intuitive concept of perfect dependence between two variables of which at least one has a nominal scale. Perfect dependence is attainable for all marginal distributions. It furthermore proposes a set of dependence measures that are 1 if and only if this perfect dependence is satisfied. The advantages of these dependence measures relative to classical dependence measures like contingency coefficients, Goodman-Kruskal's lambda and tau and the so-called uncertainty coefficient are twofold. Firstly, they are defined if one of the variables exhibits continuities. Secondly, they satisfy the property of attainability. That is, they can take all values in the interval [0,1] irrespective of the marginals involved. Both properties are not shared by classical dependence measures which need two discrete marginal distributions and can in some situations yield values close to 0 even though the dependence is strong or even perfect. Additionally, the paper provides a consistent estimator for one of the new dependence measures together with its asymptotic distribution under independence as well as in the general case. This allows to construct confidence intervals and an independence test with good finite sample properties, as a subsequent simulation study shows. Finally, two applications on the dependence between the variables country and income, and country and religion, respectively, illustrate the use of the new measure.
