Robust Association Testing via Resampling

This is an attempt to test if two ECDF are independent
211 Downloads
Updated 28 Oct 2013

View License

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 Linux
Version Published Release Notes
1.1.0.0

The returning value is not the median of p-values but the median of a function of the p-value.

1.0.0.0