When I run the Kolmogorov-Smirnov test (kstest2 function in MATLAB) on two given data vectors, I get the value of KS Statistic. How should I compute Dvoretzky–Kiefer–Wolfowitz (DKW) bound using this information? When I look at the wiki and other web pages, it looks like if I plot the ECDF, the entire ECDF would be bounded by two curves (e.g. slide 14 here: http://cseweb.ucsd.edu/classes/fa07/cse103/CDFs.pdf). However, it appears to me that the DKW bound would just be a single value and not bounded on both sides. Could someone please explain computation of this bound in MATLAB? Any help would be greatly appreciated. Thanks.