paper

gcor: A Python Implementation of Categorical Gini Correlation and Its Inference

arXiv:2506.19230

Abstract

Categorical Gini Correlation (CGC), introduced by Dang et al. (2020), is a novel dependence measure designed to quantify the association between a numerical variable and a categorical variable. It has appealing properties compared to existing dependence measures, such as zero correlation mutually implying independence between the variables. It has also shown superior performance over existing methods when applied to feature screening for classification. This article presents a Python implementation for computing CGC, constructing confidence intervals, and performing independence tests based on it. Efficient algorithms have been implemented for all procedures, and they have been optimized using vectorization and parallelization to enhance computational efficiency.

Added Computational Performance section and 4 figures

gcor: A Python Implementation of Categorical Gini Correlation and Its Inference · wovepaper