Comparison of non-parametric regression functions through their cumulatives