Background Information:
Starting with the sample $X_1,\ldots, X_{N}$ and sort the sample so that $X_1\leq X_2\leq \cdots \le X_N$. In our case the data set $x_1 = 0.2$, $x_2 = 0.6$, $x_3 = 0.7$. Suppose $X\sim \mathcal{U}(0,1)$ then the cumulative distribution function for $X$ is $$F(x) = x $$ We have $$D_N = \sum_{-\infty < x < \infty}|F_N(x) - F(x)|$$ where $$F_N(x) = \begin{cases} 0 \ &\text{if } x < X_1\\ k/N \ &\text{if } X_k\leq x < X_{k+1}\\ 1 \ &\text{if } x > X_N \end{cases}$$ The first and last terms are $$\sup_{x < X_1}|-F(x)| = F(X_1)$$ $$\sup_{x > X_N} |1 - F(x)| = 1 - F(X_N)$$ For the other terms, observe that $$\sup_{X_k\leq x < X_{k+1}}\left|\frac{k}{N} - F(x)\right| = \max\left(F(X_{k+1}) - \frac{k}{N},\frac{k}{N} - F(X_k)\right); k = 1, \ldots, N - 1$$
$D^{+}$ and $D^{-}$: $$\begin{aligned}D_{N}&=\max\left[F(X_{1}),\max_{k=1,\ldots,N-1}\left(F(X_{k+1})-\tfrac{k}{N},\tfrac{k}{N}-F(X_{k}),1-F(X_{N})\right)\right]\\ &= \max\left[\underbrace{\max_{k=1,\ldots,N}\left(\tfrac{k}{N}-F(X_{k})\right)}_{D^{+}},\underbrace{\max_{k=1,\ldots,N}\left(F(X_{k})-\tfrac{k-1}{N}\right)}_{D^{-}}\right]\\&=\max\{D^{+},D^{-}\}\end{aligned}$$ The formulas simplify if $X\sim\mathcal{U}(0,1)$ since then $F(x)=x$.
Question:
Compute $D_N = \max\{D^{+},D^{-}\}$ for the data set $x_1 = 0.2$, $x_2 = 0.6$, $x_3 = 0.7$. Take $F$ to be the c.d.f. of $U(0,1)$; the uniform distribution on $(0,1)$. (Do these computations by hand - no computer code.) What do you think $D^{+}$, $D^{-}$, $D_N$ measure, intuitively?
Attempted solution - So in our case when $x_1 = 0.2$ then $$D_1 = F(x_1) = 0.2$$ and $$D_3 = F(x_3) = 0.7$$
I am not sure how to get $D_2$, or if I am doing this correctly or not. Any suggestions are greatly appreciated, I am not really sure about the intuition on the last part of the question.
