I'm reading Kolmogorov–Smirnov test from Wikipedia.
- One-sample case
- Two-sample case
I try to deduce the one-sample test from two-sample test by choosing $m$ and the second sample $(Y_1,\ldots,Y_m)$ such that $$D_{n, m}=\sup _{x}\left|F_{1, n}(x)-F_{2, m}(x)\right| = D_{n}=\sup _{x}\left|F_{n}(x)-F(x)\right|$$
I'm unable to make $F_{2, m}= F$. Could you please elaborate on how to do so? Thank you so much!


