Covariate Shift Corrected Conditional Randomization Test
Bowen Xu, Yiwen Huang, Chuan Hong, Shuangning Li, Molei Liu
Abstract
Conditional independence tests are crucial across various disciplines in determining the independence of an outcome variable from a treatment variable , conditioning on a set of confounders . The Conditional Randomization Test (CRT) offers a powerful framework for such testing by assuming known distributions of ; it controls the Type-I error exactly, allowing for the use of flexible, black-box test statistics. In practice, testing for conditional independence often involves using data from a source population to draw conclusions about a target population. This can be challenging due to covariate shift -- differences in the distribution of , , and surrogate variables, which can affect the conditional distribution of -- rendering traditional CRT approaches invalid. To address this issue, we propose a novel Covariate Shift Corrected Pearson Chi-squared Conditional Randomization (csPCR) test. This test adapts to covariate shifts by integrating importance weights and employing the control variates method to reduce variance in the test statistics and thus enhance power. Theoretically, we establish that the csPCR test controls the Type-I error asymptotically. Empirically, through simulation studies, we demonstrate that our method not only maintains control over Type-I errors but also exhibits superior power, confirming its efficacy and practical utility in real-world scenarios where covariate shifts are prevalent. Finally, we apply our methodology to a real-world dataset to assess the impact of a COVID-19 treatment on the 90-day mortality rate among patients.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Builds on1
Related papers
- On the Hardness of Conditional Independence Testing In PracticeZheng He, Roman Pogodin, Yazhe Li, Namrata Deka et al.NeurIPS 2025 · 9 citations
- Conditional Diffusion Models Based Conditional Independence TestingYanfeng Yang, Shuai Li, Yingjie Zhang, Zhuoran Sun et al.AAAI 2025 · 4 citations
- Nearest-Neighbor Sampling Based Conditional Independence TestingShuai Li, Ziqi Chen, Hongtu Zhu, Christina Dan Wang et al.AAAI 2023 · 6 citations
- Positive-unlabeled AUC Maximization under Covariate ShiftAtsutoshi Kumagai, Tomoharu Iwata, Hiroshi Takahashi, Taishi Nishiyama et al.ICML 2025
- A Theoretical Analysis on Independence-driven Importance Weighting for Covariate-shift GeneralizationRenzhe Xu, Xingxuan Zhang, Zheyan Shen, Tong Zhang et al.ICML 2022 · 36 citations
