Robust Association Testing via Resampling
Version 1.1.0.0 (30.3 KB) by
michael kim
This is an attempt to test if two ECDF are independent
This was originally an attempt at trying to test if two ECDFs are independent through resampling.
The code resamples to get empirical conditional distributions, and then conducts a Kolmogorov-smirnov test to see if the conditional is the same as the unconditional. The median of (1 - p_values) is returned. This could easily be generalized to higher dimensions.
Cite As
michael kim (2026). Robust Association Testing via Resampling (https://uk.mathworks.com/matlabcentral/fileexchange/44080-robust-association-testing-via-resampling), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2013b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- AI and Statistics > Statistics and Machine Learning Toolbox > Probability Distributions and Hypothesis Tests > Hypothesis Tests >
Find more on Hypothesis Tests in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
