A Simple Unified Approach to Testing High-Dimensional Conditional Independences for Categorical and Ordinal Data

Ankur Ankan, Johannes Textor
6/9/2022
11 citations
stat.MLcs.LG

Official code: pgmpy/pgmpy (3,365 stars, Python, MIT, last commit 2026-05-03). 1 more implementation below.

Abstract

Conditional independence (CI) tests underlie many approaches to model testing and structure learning in causal inference. Most existing CI tests for categorical and ordinal data stratify the sample by the conditioning variables, perform simple independence tests in each stratum, and combine the results.

Show full abstract

Unfortunately, the statistical power of this approach degrades rapidly as the number of conditioning variables increases. Here we propose a simple unified CI test for ordinal and categorical data that maintains reasonable calibration and power in high dimensions. We show that our test outperforms existing baselines in model testing and structure learning for dense directed graphical models while being comparable for sparse models. Our approach could be attractive for causal model testing because it is easy to implement, can be used with non-parametric or parametric probability models, has the symmetry property, and has reasonable computational requirements.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
pgmpy/pgmpyOfficial3,365PythonMIT2026-05-03
jtextor/dagittyOfficial353JavaScriptGPL-2.02026-10-09
pgmpy/pgmpyOfficial100%
MIT

Python Toolkit for Causal and Probabilistic Reasoning

3,3651,204Python, RSep 20, 20137 months agoMIT
bayesian-networkscausal-discoverycausal-effectcausal-identificationcausal-inference+10 more
jtextor/dagittyOfficial100%
GPL-2.0

Graphical analysis of structural causal models / graphical causal models.

35359JavaScript, HTMLNov 25, 20151 months agoGPL-2.0

Similar Papers

Cite this paper

@article{ankan2022simple,
  title  = {A Simple Unified Approach to Testing High-Dimensional Conditional Independences for Categorical and Ordinal Data},
  author = {Ankur Ankan and Johannes Textor},
  year   = {2022},
  eprint = {2206.04356},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.04356}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2206.04356.svg)](https://codeofpaper.com/paper/2206.04356)

Discussion