Related Experiment Video
Updated: Jun 9, 2026

A Psychophysics Paradigm for the Collection and Analysis of Similarity Judgments
Published on: March 1, 2022
Tests for Categorical Data Beyond Pearson: A Distance Covariance and Energy Distance Approach
Fernando Castro-Prado1,2,3, Wenceslao González-Manteiga1, Javier Costas2
1Department of Statistics, Faculty of Mathematics, University of Santiago de Compostela, Santiago de Compostela, Galicia, Spain.
Abstract:
Categorical variables are of uttermost importance in biomedical research. When two of them are considered, it is often the case that one wants to test whether or not they are statistically dependent. We show weaknesses of classical methods-such as Pearson's and the -test-and we propose testing strategies based on distances that lack those drawbacks. We first develop this theory for classical two-dimensional contingency tables, within the context of distance covariance, an association measure that characterizes general statistical independence of two variables. We then apply the same fundamental ideas to one-dimensional tables, namely, to the testing for goodness of fit to a discrete distribution, for which we resort to an analogous statistic called energy distance. We prove that our methodology has desirable theoretical properties, and we show that we can calibrate the null distribution of our test statistics without resampling. We illustrate all this in simulations, as well as with some real data examples, demonstrating the adequate performance of our approach for biostatistical practice.
Related Concept Videos
Spearman's Rank Correlation Test
Spearman's test calculates correlation by...
Test for Homogeneity
Fisher's Exact Test
Statistical Methods to Analyze Parametric Data: ANOVA
One-way ANOVA is applied when a single independent variable or factor is scrutinized. It compares the...
Wilcoxon Signed-Ranks Test for Matched Pairs
Statistical Methods to Analyze Parametric Data: Student t-Test and Goodness-of-Fit Test
The Student's t-test is a statistical test that examines if there is a statistically significant difference between the means of two groups. This test is instrumental when dealing with data...
