he test p-value is calculated by randomly resampling two samples of the same size using the combined sample. Intuitively the AD test improves on the CVM test by giving lower weight to noisy observations.</p>
<p>In the example plot below, we see the variance of the joint ECDF over the range of the data. It clearly peaks in the middle of the joint sample.</p>
<p><img src="figures/var.png" alt="Plot of Variance of joint ECDF"></p>
<p>In the example plot below, the AD statistic is the weighted sum of the height